Class CFTree.Factory

  • Enclosing class:
    CFTree

    public static class CFTree.Factory
    extends java.lang.Object
    CF-Tree Factory.
    Author:
    Erich Schubert
    • Field Detail

      • threshold

        double threshold
        Cluster merge threshold.
      • branchingFactor

        int branchingFactor
        Maximum branching factor of CFTree.
      • maxleaves

        double maxleaves
        Maximum number of leaves (absolute or relative)
    • Constructor Detail

      • Factory

        public Factory​(BIRCHDistance distance,
                       BIRCHAbsorptionCriterion absorption,
                       double threshold,
                       int branchingFactor,
                       double maxleaves)
        Constructor.
        Parameters:
        distance - Distance to use
        absorption - Absorption criterion (diameter, distance).
        threshold - Distance threshold
        branchingFactor - Maximum branching factor.
        maxleaves - Maximum number of leaves
    • Method Detail

      • newTree

        public CFTree newTree​(DBIDs ids,
                              Relation<? extends NumberVector> relation)
        Make a new tree.
        Parameters:
        ids - DBIDs to insert
        relation - Data relation
        Returns:
        New tree