Description Usage Arguments Value
View source: R/randomTargetAttackSingleNetwork.r
attack a network with different ways
1 2 3 4 5 6 7 8 | randomTargetAttackSingleNetwork(
GRAPH,
l = 10,
vids = NULL,
attack = c("random", "target", "localized", "motif"),
decreasing = TRUE,
normalized = TRUE
)
|
GRAPH |
igraph object |
l |
the largets attack steps |
vids |
the vertex ids |
attack |
the type of attack for random, target and localized and motif |
decreasing |
sort degree from large to small or not |
normalized |
normalized the giant component size |
a number of the giant component node
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.