Description Usage Arguments Examples
View source: R/AdaptiveStrategyAttack.R
This implements an attack strategy to be adaptive. This means that it will be re-evaluated every round to choose the most effective point of attack according to that metric
1 | AdaptiveStrategyAttack(g, AttackStrategy, Target = "Nodes", Number = 1)
|
g |
The network which is being attacked |
AttackStrategy |
a non-evaluated attack strategy |
Target |
a character string either Nodes or Edges |
Number |
The Number of targets to generate |
1 | AdaptiveStrategyAttack <- function(g, AttackStrategy, Target = "Nodes", Number = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.