Class AbstractCutDendrogram

    • Field Detail

      • hierarchical

        protected final boolean hierarchical
        Include empty clusters in the hierarchy produced.
      • simplify

        protected final boolean simplify
        Produce a simpler result by adding single points directly into the merge cluster.
    • Constructor Detail

      • AbstractCutDendrogram

        public AbstractCutDendrogram​(HierarchicalClusteringAlgorithm algorithm,
                                     boolean hierarchical,
                                     boolean simplify)
        Constructor.
        Parameters:
        algorithm - Algorithm
        hierarchical - Extract hierarchical result
        simplify - Simplify by putting single points into merge clusters
    • Method Detail

      • run

        public Clustering<DendrogramModel> run​(Database database)
        Run the algorithms on a database.
        Parameters:
        database - Database to process
        Returns:
        Clustering
      • run

        public abstract Clustering<DendrogramModel> run​(ClusterMergeHistory pointerresult)
        Process a pointer hierarchy result.
        Parameters:
        pointerresult - Hierarchical result in pointer representation.
        Returns:
        Clustering
      • getInputTypeRestriction

        public TypeInformation[] getInputTypeRestriction()
        Description copied from interface: Algorithm
        Get the input type restriction used for negotiating the data query.
        Specified by:
        getInputTypeRestriction in interface Algorithm
        Returns:
        Type restriction
      • getLogger

        protected abstract Logging getLogger()