de.lmu.ifi.dbs.elki.algorithm.clustering.trivial
Class TrivialAllInOne
java.lang.Object
de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm<Clustering<Model>>
de.lmu.ifi.dbs.elki.algorithm.clustering.trivial.TrivialAllInOne
- All Implemented Interfaces:
- Algorithm, ClusteringAlgorithm<Clustering<Model>>, InspectionUtilFrequentlyScanned, Parameterizable
@Title(value="Trivial all-in-one clustering")
@Description(value="Returns a \'tivial\' clustering which just considers all points to be one big cluster.")
public class TrivialAllInOne
- extends AbstractAlgorithm<Clustering<Model>>
- implements ClusteringAlgorithm<Clustering<Model>>
Trivial pseudo-clustering that just considers all points to be one big
cluster.
Useful for evaluation and testing.
Field Summary |
private static Logging |
logger
The logger for this class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static final Logging logger
- The logger for this class.
TrivialAllInOne
public TrivialAllInOne()
- Constructor, adhering to
Parameterizable
run
public Clustering<Model> run(Relation<?> relation)
getInputTypeRestriction
public TypeInformation[] getInputTypeRestriction()
- Description copied from class:
AbstractAlgorithm
- Get the input type restriction used for negotiating the data query.
- Specified by:
getInputTypeRestriction
in interface Algorithm
- Specified by:
getInputTypeRestriction
in class AbstractAlgorithm<Clustering<Model>>
- Returns:
- Type restriction
getLogger
protected Logging getLogger()
- Description copied from class:
AbstractAlgorithm
- Get the (STATIC) logger for this class.
- Specified by:
getLogger
in class AbstractAlgorithm<Clustering<Model>>
- Returns:
- the static logger