Package adams.data.random
Interface SeededRandomNumberGenerator<T extends Number>
-
- Type Parameters:
T
- the type of random number to return
- All Superinterfaces:
Destroyable
,OptionHandler
,Randomizable
,RandomNumberGenerator<T>
,ShallowCopySupporter<RandomNumberGenerator>
- All Known Subinterfaces:
DistributionBasedRandomNumberGenerator<T>
- All Known Implementing Classes:
AbstractDistributionBasedRandomNumberGenerator
,AbstractSeededRandomNumberGenerator
,JavaRandomByte
,JavaRandomDouble
,JavaRandomInt
public interface SeededRandomNumberGenerator<T extends Number> extends RandomNumberGenerator<T>, Randomizable
Interface for seeded random number generators.- Version:
- $Revision: 4584 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getSeed()
Returns the seed value.String
seedTipText()
Returns the tip text for this property.void
setSeed(long value)
Sets the seed value.-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
Methods inherited from interface adams.data.random.RandomNumberGenerator
next, reset
-
Methods inherited from interface adams.core.ShallowCopySupporter
shallowCopy, shallowCopy
-
-
-
-
Method Detail
-
setSeed
void setSeed(long value)
Sets the seed value.- Specified by:
setSeed
in interfaceRandomizable
- Parameters:
value
- the seed
-
getSeed
long getSeed()
Returns the seed value.- Specified by:
getSeed
in interfaceRandomizable
- Returns:
- the seed
-
seedTipText
String seedTipText()
Returns the tip text for this property.- Specified by:
seedTipText
in interfaceRandomizable
- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
-