public abstract class SingleClustererEnhancer extends AbstractClusterer implements OptionHandler
Constructor and Description |
---|
SingleClustererEnhancer() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
clustererTipText()
Returns the tip text for this property
|
Capabilities |
getCapabilities()
Returns default capabilities of the clusterer.
|
Clusterer |
getClusterer()
Get the clusterer used as the base clusterer.
|
java.lang.String[] |
getOptions()
Gets the current settings of the clusterer.
|
java.util.Enumeration<Option> |
listOptions()
Returns an enumeration describing the available options.
|
int |
numberOfClusters()
Returns the number of clusters.
|
void |
setClusterer(Clusterer value)
Set the base clusterer.
|
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
buildClusterer, clusterInstance, debugTipText, distributionForInstance, doNotCheckCapabilitiesTipText, forName, getDebug, getDoNotCheckCapabilities, getRevision, makeCopies, makeCopy, 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 clustererTipText()
public void setClusterer(Clusterer value)
value
- the classifier to use.public Clusterer getClusterer()
public Capabilities getCapabilities()
getCapabilities
in interface Clusterer
getCapabilities
in interface CapabilitiesHandler
getCapabilities
in class AbstractClusterer
Capabilities
public int numberOfClusters() throws java.lang.Exception
numberOfClusters
in interface Clusterer
numberOfClusters
in class AbstractClusterer
java.lang.Exception
- if number of clusters could not be returned successfully