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

Class ConsistentRandomizer

  • All Implemented Interfaces:
    Randomizer


    public class ConsistentRandomizer
    extends BasicRandomizer
    A randomizer that takes a seed and will always produce consistent results.
    • Constructor Detail

      • ConsistentRandomizer

        public ConsistentRandomizer(double min,
                                    double max)
        Construct a range randomizer.
        Parameters:
        min - The minimum random value.
        max - The maximum random value.
      • ConsistentRandomizer

        public ConsistentRandomizer(double min,
                                    double max,
                                    int seed)
        Construct a range randomizer.
        Parameters:
        min - The minimum random value.
        max - The maximum random value.
        seed - The seed 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.
      • randomize

        public void randomize(BasicNetwork network)
        Randomize the network.
        Parameters:
        network - The network to randomize.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.