public abstract class RandomizableDistributionGenerator extends RandomizableGenerator implements Mean
Constructor and Description |
---|
RandomizableDistributionGenerator() |
Modifier and Type | Method and Description |
---|---|
double |
getMean()
Gets the current mean of the underlying Gaussian distribution.
|
java.lang.String[] |
getOptions()
Gets the current settings of the generator.
|
double |
getStandardDeviation()
Gets the current standard deviation of the underlying distribution.
|
java.util.Enumeration<weka.core.Option> |
listOptions()
Returns an enumeration describing the available options.
|
java.lang.String |
meanTipText()
Returns the tip text for this property.
|
void |
setMean(double value)
Sets the mean of the Gaussian distribution to a new mean.
|
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
void |
setStandardDeviation(double value)
Sets the standard deviation of the distribution to a new value.
|
java.lang.String |
standardDeviationTipText()
Returns the tip text for this property.
|
getSeed, seedTipText, setSeed
copy, debugTipText, forName, generate, getDebug, getLogProbabilityOf, getProbabilityOf, globalInfo, setDebug
public java.util.Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class RandomizableGenerator
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class RandomizableGenerator
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supportedpublic java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class RandomizableGenerator
public double getMean()
public void setMean(double value)
public java.lang.String meanTipText()
public double getStandardDeviation()
public void setStandardDeviation(double value)
setStandardDeviation
in interface Mean
value
- The new standard deviation.public java.lang.String standardDeviationTipText()