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

AdaptiveStrategyAttack(g, AttackStrategy, Target = "Nodes", Number = 1)

Arguments

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

Examples