|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectplanet.simulate.GenEvents
This class permits to build events in a programming way, without any event file.
| Constructor Summary | |
GenEvents()
|
|
| Method Summary | |
static java.lang.Object[] |
genDistribEvents(int num)
Returns an array with two positions. |
static java.lang.Object[] |
genRandomIds(int num)
Generate a set of random ids for nodes to insert to the overlay. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GenEvents()
| Method Detail |
public static java.lang.Object[] genRandomIds(int num)
num - Number of nodes to generate.
public static java.lang.Object[] genDistribEvents(int num)
num - Number of nodes to build.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||