This Removal method pre-calculates the attack order and removes a fixed number of nodes
FixedStrategyAttack( g, DeletionOrder, Target = "Nodes", Name = "name", Number = 1 )
g | An igraph object representing a power-grid |
---|---|
DeletionOrder | The order in which nodes will be targeted for deltion. This is a string vector |
Target | The element that will be attacked. A string, the default is Nodes. Can also be Edge. |
Name | the variable which holds the edge/node names. |
Number | The total number of targets to calulcate the order for |