|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object peersim.cdsim.Shuffle
public class Shuffle
Shuffles the network. After shuffling, the order in which the nodes are iterated over during a cycle of a cycle driven simulation will be random. It has an effect only in cycle driven simulations.
Constructor Summary | |
---|---|
Shuffle(java.lang.String prefix)
Does nothing. |
Method Summary | |
---|---|
boolean |
execute()
Calls Network.shuffle() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Shuffle(java.lang.String prefix)
Method Detail |
---|
public final boolean execute()
Network.shuffle()
.
As a result, the order in which the nodes
are iterated over during a cycle of a cycle driven simulation
will be random. It has an effect only in cycle driven simulations.
execute
in interface Control
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |