public abstract class SingleClustererEnhancer extends AbstractClusterer implements OptionHandler
| Modifier and Type | Field and Description |
|---|---|
protected Clusterer |
m_Clusterer
the clusterer
|
m_Debug, m_DoNotCheckCapabilities| Constructor and Description |
|---|
SingleClustererEnhancer() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
clustererTipText()
Returns the tip text for this property
|
protected java.lang.String |
defaultClustererString()
String describing default clusterer.
|
Capabilities |
getCapabilities()
Returns default capabilities of the clusterer.
|
Clusterer |
getClusterer()
Get the clusterer used as the base clusterer.
|
protected java.lang.String |
getClustererSpec()
Gets the clusterer specification string, which contains the class name of
the clusterer and any options to the 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, setDoNotCheckCapabilitiesprotected Clusterer m_Clusterer
protected java.lang.String defaultClustererString()
public java.util.Enumeration<Option> listOptions()
listOptions in interface OptionHandlerlistOptions in class AbstractClustererpublic void setOptions(java.lang.String[] options)
throws java.lang.Exception
setOptions in interface OptionHandlersetOptions in class AbstractClustereroptions - the list of options as an array of stringsjava.lang.Exception - if an option is not supportedpublic java.lang.String[] getOptions()
getOptions in interface OptionHandlergetOptions in class AbstractClustererpublic java.lang.String clustererTipText()
public void setClusterer(Clusterer value)
value - the classifier to use.public Clusterer getClusterer()
protected java.lang.String getClustererSpec()
public Capabilities getCapabilities()
getCapabilities in interface ClusterergetCapabilities in interface CapabilitiesHandlergetCapabilities in class AbstractClustererCapabilitiespublic int numberOfClusters()
throws java.lang.Exception
numberOfClusters in interface ClusterernumberOfClusters in class AbstractClustererjava.lang.Exception - if number of clusters could not be returned successfully