public abstract class RandomizableClusterer extends AbstractClusterer implements OptionHandler, Randomizable
Constructor and Description |
---|
RandomizableClusterer() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getOptions()
Gets the current settings of the classifier.
|
int |
getSeed()
Gets the seed for the random number generations
|
java.util.Enumeration<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(int value)
Set the seed for random number generation.
|
buildClusterer, clusterInstance, debugTipText, distributionForInstance, doNotCheckCapabilitiesTipText, forName, getCapabilities, getDebug, getDoNotCheckCapabilities, getRevision, makeCopies, makeCopy, numberOfClusters, postExecution, preExecution, run, runClusterer, setDebug, setDoNotCheckCapabilities
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
makeCopy
public java.util.Enumeration<Option> listOptions()
listOptions
in interface OptionHandler
listOptions
in class AbstractClusterer
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface OptionHandler
setOptions
in class AbstractClusterer
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 OptionHandler
getOptions
in class AbstractClusterer
public java.lang.String seedTipText()
public void setSeed(int value)
setSeed
in interface Randomizable
value
- the seed to usepublic int getSeed()
getSeed
in interface Randomizable