org.encog.mathutil.randomize
Class ConstRandomizer
- java.lang.Object
-
- org.encog.mathutil.randomize.BasicRandomizer
-
- org.encog.mathutil.randomize.ConstRandomizer
-
- All Implemented Interfaces:
- Randomizer
public class ConstRandomizer extends BasicRandomizer
A randomizer that will create always set the random number to a const value, used mainly for testing.
-
-
Constructor Summary
Constructors Constructor and Description ConstRandomizer(double value)Construct a range randomizer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublerandomize(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
-
-
DMelt 3.0 © DataMelt by jWork.ORG