Calculate graph vulnerability
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 node is removed from the graph. The vulnerability of the graph is considered the maximum across all vertices.
The igraph graph object of interest
Logical indicating whether or not to use foreach (default: TRUE)
Logical indicating whether weighted efficiency should be calculated (default: FALSE)
A vector of length equal to the number of vertices in g
Christopher G. Watson, email@example.com
Latora V., Marchiori M. (2005) Variability and protection of infrastructure networks. Physical Review E, 71:015103.