public abstract class RandomizableGenerator extends Generator
Constructor and Description |
---|
RandomizableGenerator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getOptions()
Gets the current settings of the generator.
|
long |
getSeed()
Gets the current random number generator seed.
|
java.util.Enumeration<weka.core.Option> |
listOptions()
Returns an enumeration describing the available options.
|
java.lang.String |
seedTipText()
Returns the tip text for this property.
|
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
void |
setSeed(long value)
Sets the seed to the random number generator.
|
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 Generator
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class Generator
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 Generator
public void setSeed(long value)
value
- The new seed for the random number generator.public long getSeed()
public java.lang.String seedTipText()