Net_Ability: Net-ability

Description Usage Arguments Details Examples

View source: R/Net_Ability.R

Description

This function calculates the net-ability of a graph.

Usage

1
Net_Ability(g, gOrig = NULL)

Arguments

g

The graph for which net-ability will be calculated

gOrig

The original graph structure. The defualt is the g

Details

The algorithm was implemented from "power grids vulnerability a complex networks approach" Arianos 2009 and "Analysis of structural vulnerabilities in power transmission grids" Bompard 2009. gOrig is an important vairable if your network has already been attacked. If Generation or demand nodes are removed from the graph due to failure they will not be considered in the net-ability potentially increasing new graphs score as the total number of node pairs will be smaller in the newgraph. Because of this the number of node pairs always has to be calculated from the original graph

Examples

1
NetAbScore <-Net_Ability(g)

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