Description Usage Arguments Value
View source: R/cascadingFailure.R
This program is trying to modeling the cascading failure
1 2 3 4 5 6 7 8 9 10 11 12 |
GRAPH1 |
the first layer of inter dependent network |
GRAPH2 |
the scond layer of inter dependent network |
attack |
the type of attack, random, target and localized and motif |
p |
1-p is the fraction of nodes that the initial attack start |
q |
the coupling strength between two layers(not valid) |
plot |
whether to plot the network or not |
vids |
the vertex ids for localized attack |
Trace |
whether to trace the process of the cascading failure |
normalized |
normalized the ratio of the giant component |
a vector with length two give the node numbers of the giant component
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.