|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Random
net.sourceforge.arbaro.params.Random
public class Random
Random class to add variations to the tree. It has methods getState() and setState() to save and restore the random seed
Constructor Summary | |
---|---|
Random(long seed)
|
Method Summary | |
---|---|
long |
getState()
|
void |
setState(long state)
|
double |
uniform(double low,
double high)
|
Methods inherited from class java.util.Random |
---|
next, nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong, setSeed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Random(long seed)
Method Detail |
---|
public double uniform(double low, double high)
public long getState()
public void setState(long state)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |