Documentation of 'org.encog.mathutil.randomize.generate.BasicGenerateRandom' Java class
BasicGenerateRandom
org.encog.mathutil.randomize.generate

Class BasicGenerateRandom

    • Constructor Detail

      • BasicGenerateRandom

        public BasicGenerateRandom(long seed)
        Construct a random number generator with the specified seed.
        Parameters:
        seed - The seed.
      • BasicGenerateRandom

        public BasicGenerateRandom()
        Construct a random number generator with a time-based seed.
    • Method Detail

      • nextInt

        public int nextInt()
        Returns:
        The next random integer.
      • nextDouble

        public double nextDouble()
        Returns:
        The next random double.
      • nextFloat

        public float nextFloat()
        Returns:
        The next random floating point.
      • nextLong

        public long nextLong()
        Returns:
        The next random long.
      • nextBoolean

        public boolean nextBoolean()
        Returns:
        The next random boolean.
      • nextGaussian

        public double nextGaussian()
        Returns:
        The next normally distributed random number.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.