org.encog.mathutil.randomize
public class ConsistentRandomizer extends BasicRandomizer
Constructor and Description |
---|
ConsistentRandomizer(double min,
double max)
Construct a range randomizer.
|
ConsistentRandomizer(double min,
double max,
int seed)
Construct a range randomizer.
|
Modifier and Type | Method and Description |
---|---|
void |
randomize(BasicNetwork network)
Randomize the network.
|
double |
randomize(double d)
Generate a random number based on the range specified in the constructor.
|
getRandom, nextDouble, nextDouble, randomize, randomize, randomize, randomize, randomize, randomize, setRandom
public ConsistentRandomizer(double min, double max)
min
- The minimum random value.max
- The maximum random value.public ConsistentRandomizer(double min, double max, int seed)
min
- The minimum random value.max
- The maximum random value.seed
- The seed value.public double randomize(double d)
d
- The range randomizer ignores this value.public void randomize(BasicNetwork network)
network
- The network to randomize.Copyright © 2014. All Rights Reserved.