|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jgap.impl.GaussianRandomGenerator
Gaussian deviation serving as basis for randomly finding a number.
| Constructor Summary | |
GaussianRandomGenerator()
|
|
GaussianRandomGenerator(double a_standardDeviation)
Constructor speicifying the (obliagtory) standard deviation |
|
| Method Summary | |
double |
getGaussianStdDeviation()
|
boolean |
nextBoolean()
Returns the next pseudorandom, uniformly distributed boolean value from this random number generator's sequence. |
double |
nextDouble()
Returns the next pseudorandom, uniformly distributed double value between 0.0 and 1.0 from this random number generator's sequence. |
float |
nextFloat()
Returns the next pseudorandom, uniformly distributed float value between 0.0 and 1.0 from this random number generator's sequence. |
int |
nextInt()
Returns the next pseudorandom, uniformly distributed int value from this random number generator's sequence. |
int |
nextInt(int ceiling)
Returns a pseudorandom, uniformly distributed int value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence. |
long |
nextLong()
Returns the next pseudorandom, uniformly distributed long value from this random number generator's sequence. |
void |
setGaussianMean(double a_mean)
|
void |
setGaussianStdDeviation(double a_standardDeviation)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GaussianRandomGenerator()
public GaussianRandomGenerator(double a_standardDeviation)
a_standardDeviation - the standard deviation to use| Method Detail |
public void setGaussianMean(double a_mean)
public void setGaussianStdDeviation(double a_standardDeviation)
public double getGaussianStdDeviation()
public int nextInt()
RandomGenerator
nextInt in interface RandomGeneratorpublic int nextInt(int ceiling)
RandomGenerator
nextInt in interface RandomGeneratorceiling - the upper boundary excluded
public long nextLong()
RandomGenerator
nextLong in interface RandomGeneratorpublic double nextDouble()
RandomGenerator
nextDouble in interface RandomGeneratorpublic float nextFloat()
RandomGenerator
nextFloat in interface RandomGeneratorpublic boolean nextBoolean()
RandomGenerator
nextBoolean in interface RandomGenerator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||