View source: R/FixedStrategyAttack.R
This Removal method pre-calculates the attack order and removes a fixed number of nodes
1 2 3 4 5 6 7 | 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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.