View source: R/vulnerability.R
vulnerability | R Documentation |
This function calculates the vulnerability of the vertices of a graph. Here, vulnerability is considered to be the proportional drop in global efficiency when a given vertex is removed from the graph. The vulnerability of the graph is considered the maximum across all vertices.
vulnerability(g, use.parallel = TRUE, weighted = FALSE)
g |
An |
use.parallel |
Logical indicating whether or not to use foreach
(default: |
weighted |
Logical indicating whether weighted efficiency should be
calculated (default: |
A numeric vector of length equal to the vertex count of g
Christopher G. Watson, cgwatson@bu.edu
Latora, V. and Marchiori, M. (2005) Variability and protection of infrastructure networks. Physical Review E, 71, 015103. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1103/physreve.71.015103")}
efficiency
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.