Package adams.data.random
Interface DistributionBasedRandomNumberGenerator<T extends Number>
-
- Type Parameters:
T
- the type of random number to return
- All Superinterfaces:
Destroyable
,OptionHandler
,Randomizable
,RandomNumberGenerator<T>
,SeededRandomNumberGenerator<T>
,ShallowCopySupporter<RandomNumberGenerator>
- All Known Implementing Classes:
AbstractDistributionBasedRandomNumberGenerator
public interface DistributionBasedRandomNumberGenerator<T extends Number> extends SeededRandomNumberGenerator<T>
Interface for distribution-based random number generators.- Version:
- $Revision: 7171 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getMean()
Returns the mean to use.double
getStdev()
Returns the stdev to use.String
meanTipText()
Returns the tip text for this property.void
setMean(double value)
Sets the mean to use.void
setStdev(double value)
Sets the stdev to use.String
stdevTipText()
Returns the tip text for this property.-
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.data.random.SeededRandomNumberGenerator
getSeed, seedTipText, setSeed
-
Methods inherited from interface adams.core.ShallowCopySupporter
shallowCopy, shallowCopy
-
-
-
-
Method Detail
-
setMean
void setMean(double value)
Sets the mean to use.- Parameters:
value
- the mean
-
getMean
double getMean()
Returns the mean to use.- Returns:
- the mean
-
meanTipText
String meanTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setStdev
void setStdev(double value)
Sets the stdev to use.- Parameters:
value
- the stdev
-
getStdev
double getStdev()
Returns the stdev to use.- Returns:
- the stdev
-
stdevTipText
String stdevTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
-