|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.mathutil.randomize.BasicRandomizer
org.encog.mathutil.randomize.ConsistentRandomizer
public class ConsistentRandomizer
A randomizer that takes a seed and will always produce consistent results.
| Constructor Summary | |
|---|---|
ConsistentRandomizer(double min,
double max)
Construct a range randomizer. |
|
ConsistentRandomizer(double min,
double max,
int seed)
Construct a range randomizer. |
|
| Method Summary | |
|---|---|
void |
randomize(BasicNetwork network)
Randomize the network. |
double |
randomize(double d)
Generate a random number based on the range specified in the constructor. |
| Methods inherited from class org.encog.mathutil.randomize.BasicRandomizer |
|---|
getRandom, nextDouble, nextDouble, randomize, randomize, randomize, randomize, randomize, randomize, setRandom |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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.| Method Detail |
|---|
public double randomize(double d)
d - The range randomizer ignores this value.
public void randomize(BasicNetwork network)
network - The network to randomize.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||