org.encog.mathutil.randomize.generate
public interface GenerateRandom
Modifier and Type | Method and Description |
---|---|
boolean |
nextBoolean() |
double |
nextDouble() |
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).
|
float |
nextFloat() |
double |
nextGaussian() |
int |
nextInt() |
int |
nextInt(int high)
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).
|
long |
nextLong() |
double nextGaussian()
boolean nextBoolean()
long nextLong()
float nextFloat()
double nextDouble()
double nextDouble(double high)
high
- The highest desired value.double nextDouble(double low, double high)
low
- The inclusive low value.high
- The exclusive high value.int nextInt()
int nextInt(int high)
high
- The highest desired value.int nextInt(int low, int high)
low
- The inclusive low value.high
- The exclusive high value.Copyright © 2014. All Rights Reserved.