Class Well19937a

  • All Implemented Interfaces:
    adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.Randomizable, adams.core.ShallowCopySupporter<adams.data.random.RandomNumberGenerator>, adams.core.SizeOfHandler, CommonsRandomNumberGenerator<Number>, adams.data.random.RandomIntegerRangeGenerator<Number>, adams.data.random.RandomNumberGenerator<Number>, adams.data.random.SeededRandomNumberGenerator<Number>, Serializable

    public class Well19937a
    extends AbstractCommonsRandomNumberGenerator
    This class implements the Well19937a pseudo-random number generator from Francois Panneton, Pierre L'Ecuyer and Makoto Matsumoto

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    -seed <long> (property: seed)
        The seed value for the random number generator.
        default: 1
     
    -generate-doubles <boolean> (property: generateDoubles)
        If enabled, doubles instead of integers are returned.
        default: false
     
    -min-value <int> (property: minValue)
        The smallest integer that could be generated.
        default: 1
     
    -max-value <int> (property: maxValue)
        The largest integer that could be generated.
        default: 1000
     
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Well19937a, Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Well19937a()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.commons.math3.random.RandomGenerator getRandomGenerator()
      The underlying random number generator.
      String globalInfo()
      Returns a string describing the object.
      • Methods inherited from class adams.data.random.AbstractSeededRandomNumberGenerator

        getSeed, seedTipText, setSeed
      • Methods inherited from class adams.data.random.AbstractRandomNumberGenerator

        forCommandLine, forName, getGenerators, next, shallowCopy, shallowCopy
      • Methods inherited from class adams.core.option.AbstractOptionHandler

        cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, setLoggingLevel, toCommandLine, toString
      • Methods inherited from class adams.core.logging.LoggingObject

        configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
      • Methods inherited from interface adams.core.Destroyable

        destroy
      • Methods inherited from interface adams.core.logging.LoggingLevelHandler

        getLoggingLevel
      • Methods inherited from interface adams.core.option.OptionHandler

        cleanUpOptions, getOptionManager, toCommandLine
      • Methods inherited from interface adams.data.random.RandomNumberGenerator

        next
      • Methods inherited from interface adams.core.ShallowCopySupporter

        shallowCopy, shallowCopy
    • Constructor Detail

      • Well19937a

        public Well19937a()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.core.option.AbstractOptionHandler
        Returns:
        a description suitable for displaying in the gui