public abstract class SingleClustererEnhancer extends AbstractClusterer implements OptionHandler
| Constructor and Description |
|---|
SingleClustererEnhancer() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
String[] |
getOptions()
Gets the current settings of the clusterer.
|
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(String[] options)
Parses a given list of options.
|
buildClusterer, clusterInstance, debugTipText, distributionForInstance, doNotCheckCapabilitiesTipText, forName, getDebug, getDoNotCheckCapabilities, getRevision, makeCopies, makeCopy, postExecution, preExecution, run, runClusterer, setDebug, setDoNotCheckCapabilitiespublic Enumeration<Option> listOptions()
listOptions in interface OptionHandlerlistOptions in class AbstractClustererpublic void setOptions(String[] options) throws Exception
setOptions in interface OptionHandlersetOptions in class AbstractClustereroptions - the list of options as an array of stringsException - if an option is not supportedpublic String[] getOptions()
getOptions in interface OptionHandlergetOptions in class AbstractClustererpublic String clustererTipText()
public void setClusterer(Clusterer value)
value - the classifier to use.public Clusterer getClusterer()
public Capabilities getCapabilities()
getCapabilities in interface ClusterergetCapabilities in interface CapabilitiesHandlergetCapabilities in class AbstractClustererCapabilitiespublic int numberOfClusters()
throws Exception
numberOfClusters in interface ClusterernumberOfClusters in class AbstractClustererException - if number of clusters could not be returned successfullyCopyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.