|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.graph.model.GraphGeneration.TreeRandomizer
Helper class for randomization.
Use the internal random generator field called random.
| Field Summary | |
protected java.util.Random |
random
|
| Constructor Summary | |
GraphGeneration.TreeRandomizer()
|
|
| Method Summary | |
abstract boolean |
predicate(int depth)
Return true from this method to pass the randomisation step, return false to indicate a stop in the tree generation recursion. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.Random random
| Constructor Detail |
public GraphGeneration.TreeRandomizer()
| Method Detail |
public abstract boolean predicate(int depth)
depth - current treedepth
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||