AdaptiveStrategyAttack: Make Strategy Adaptive

Description Usage Arguments Examples

View source: R/AdaptiveStrategyAttack.R

Description

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

Usage

1
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

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

JonnoB/PowerGridNetworking documentation built on Aug. 7, 2021, 3:04 a.m.