Class 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface elki.Algorithm

        elki.Algorithm.Utils
    • Constructor Summary

      Constructors 
      Constructor Description
      TrivialAllInOne()
      Constructor.
    • Constructor Detail

      • TrivialAllInOne

        public TrivialAllInOne()
        Constructor.
    • Method Detail

      • getInputTypeRestriction

        public elki.data.type.TypeInformation[] getInputTypeRestriction()
        Specified by:
        getInputTypeRestriction in interface elki.Algorithm
      • run

        public Clustering<Model> run​(elki.database.relation.Relation<?> relation)
        Perform trivial clustering.
        Parameters:
        relation - Data to cluster
        Returns:
        Result