Documentation of 'org.encog.mathutil.randomize.ConstRandomizer' Java class
ConstRandomizer
org.encog.mathutil.randomize

Class 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 Detail

      • ConstRandomizer

        public ConstRandomizer(double value)
        Construct a range randomizer.
        Parameters:
        value - The constant value.
    • Method Detail

      • randomize

        public double randomize(double d)
        Generate a random number based on the range specified in the constructor.
        Parameters:
        d - The range randomizer ignores this value.
        Returns:
        The random number.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.