org.encog.mathutil.randomize.generate
public class BasicGenerateRandom extends AbstractGenerateRandom
Constructor and Description |
---|
BasicGenerateRandom()
Construct a random number generator with a time-based seed.
|
BasicGenerateRandom(long seed)
Construct a random number generator with the specified seed.
|
Modifier and Type | Method and Description |
---|---|
boolean |
nextBoolean() |
double |
nextDouble() |
float |
nextFloat() |
double |
nextGaussian() |
int |
nextInt() |
long |
nextLong() |
nextDouble, nextDouble, nextInt, nextInt
public BasicGenerateRandom(long seed)
seed
- The seed.public BasicGenerateRandom()
public int nextInt()
public double nextDouble()
public float nextFloat()
public long nextLong()
public boolean nextBoolean()
public double nextGaussian()
Copyright © 2014. All Rights Reserved.