FixedStrategyAttack: Flexible Removal method

Description Usage Arguments

View source: R/FixedStrategyAttack.R

Description

This Removal method pre-calculates the attack order and removes a fixed number of nodes

Usage

1
2
3
4
5
6
7
FixedStrategyAttack(
  g,
  DeletionOrder,
  Target = "Nodes",
  Name = "name",
  Number = 1
)

Arguments

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


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