|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.iu.iv.modeling.p2p.attackTolerance.AttackTolerance
Perform Attack Tolerance Test on the network graph. Randomly deletes nodes in the graph.
| Constructor Summary | |
AttackTolerance(edu.uci.ics.jung.graph.Graph graph,
int numNodes)
Constructor for AttackTolerance. |
|
| Method Summary | |
edu.uci.ics.jung.graph.Graph |
getGraph()
Get the graph representing the network |
int |
getNumNodes()
Get the number of highly-connected nodes that are deleted |
void |
setGraph(edu.uci.ics.jung.graph.Graph graph)
Set the graph representing the network |
void |
setNumNodes(int i)
Set the number of highly-connected nodes that are deleted |
boolean |
testAttackTolerance()
Perform attack tolerance test on the graph. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AttackTolerance(edu.uci.ics.jung.graph.Graph graph,
int numNodes)
| Method Detail |
public boolean testAttackTolerance()
public edu.uci.ics.jung.graph.Graph getGraph()
public int getNumNodes()
public void setGraph(edu.uci.ics.jung.graph.Graph graph)
graph - public void setNumNodes(int i)
i -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||