Package adams.data.random
Class Well44497a
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.random.AbstractRandomNumberGenerator<T>
-
- adams.data.random.AbstractSeededRandomNumberGenerator<Number>
-
- adams.data.random.AbstractCommonsRandomNumberGenerator
-
- adams.data.random.Well44497a
-
- 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 Well44497a extends AbstractCommonsRandomNumberGenerator
This class implements the Well44497a 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:
Well44497a
, Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.data.random.AbstractCommonsRandomNumberGenerator
m_GenerateDoubles, m_Generator, m_MaxValue, m_MinValue
-
-
Constructor Summary
Constructors Constructor Description Well44497a()
-
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.AbstractCommonsRandomNumberGenerator
check, defineOptions, doNext, generateDoublesTipText, getGenerateDoubles, getMaxValue, getMinValue, maxValueTipText, minValueTipText, reset, setGenerateDoubles, setMaxValue, setMinValue
-
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceadams.core.GlobalInfoSupporter
- Specified by:
globalInfo
in classadams.core.option.AbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
getRandomGenerator
public org.apache.commons.math3.random.RandomGenerator getRandomGenerator()
The underlying random number generator.- Specified by:
getRandomGenerator
in interfaceCommonsRandomNumberGenerator<Number>
- Specified by:
getRandomGenerator
in classAbstractCommonsRandomNumberGenerator
- Returns:
- the configured generator
-
-