org.encog.mathutil.randomize.generate
public abstract class AbstractGenerateRandom extends Object implements GenerateRandom
| Constructor and Description |
|---|
AbstractGenerateRandom() |
| Modifier and Type | Method and Description |
|---|---|
double |
nextDouble(double high)
The next random double up to a non-inclusive range.
|
double |
nextDouble(double low,
double high)
The next double between low (inclusive) and high (exclusive).
|
int |
nextInt(int range)
The next random int up to a non-inclusive range.
|
int |
nextInt(int low,
int high)
The next int between low (inclusive) and high (exclusive).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnextBoolean, nextDouble, nextFloat, nextGaussian, nextInt, nextLongpublic int nextInt(int low,
int high)
nextInt in interface GenerateRandomlow - The inclusive low value.high - The exclusive high value.public double nextDouble(double high)
nextDouble in interface GenerateRandomhigh - The highest desired value.public double nextDouble(double low,
double high)
nextDouble in interface GenerateRandomlow - The inclusive low value.high - The exclusive high value.public int nextInt(int range)
nextInt in interface GenerateRandomrange - The highest desired value.Copyright © 2014. All Rights Reserved.