Package elki.clustering.trivial
Class TrivialAllInOne
- java.lang.Object
-
- elki.clustering.trivial.TrivialAllInOne
-
- All Implemented Interfaces:
elki.Algorithm,ClusteringAlgorithm<Clustering<Model>>
@Title("Trivial all-in-one clustering") @Description("Returns a \'tivial\' clustering which just considers all points to be one big cluster.") @Priority(-150) public class TrivialAllInOne extends java.lang.Object implements ClusteringAlgorithm<Clustering<Model>>Trivial pseudo-clustering that just considers all points to be one big cluster.Useful for evaluation and testing.
- Since:
- 0.2
- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Constructor Description TrivialAllInOne()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description elki.data.type.TypeInformation[]getInputTypeRestriction()Clustering<Model>run(elki.database.relation.Relation<?> relation)Perform trivial clustering.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.clustering.ClusteringAlgorithm
autorun
-
-
-
-
Method Detail
-
getInputTypeRestriction
public elki.data.type.TypeInformation[] getInputTypeRestriction()
- Specified by:
getInputTypeRestrictionin interfaceelki.Algorithm
-
run
public Clustering<Model> run(elki.database.relation.Relation<?> relation)
Perform trivial clustering.- Parameters:
relation- Data to cluster- Returns:
- Result
-
-