public abstract class RandomizableClusterer extends AbstractClusterer implements OptionHandler, Randomizable
Constructor and Description |
---|
RandomizableClusterer() |
Modifier and Type | Method and Description |
---|---|
String[] |
getOptions()
Gets the current settings of the classifier.
|
int |
getSeed()
Gets the seed for the random number generations
|
Enumeration |
listOptions()
Returns an enumeration describing the available options.
|
String |
seedTipText()
Returns the tip text for this property
|
void |
setOptions(String[] options)
Parses a given list of options.
|
void |
setSeed(int value)
Set the seed for random number generation.
|
buildClusterer, clusterInstance, distributionForInstance, forName, getCapabilities, getRevision, makeCopies, makeCopy, numberOfClusters, runClusterer
public Enumeration listOptions()
listOptions
in interface OptionHandler
public void setOptions(String[] options) throws Exception
setOptions
in interface OptionHandler
options
- the list of options as an array of stringsException
- if an option is not supportedpublic String[] getOptions()
getOptions
in interface OptionHandler
public String seedTipText()
public void setSeed(int value)
setSeed
in interface Randomizable
value
- the seed to usepublic int getSeed()
getSeed
in interface Randomizable
Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.