Class CFTree.Factory.Par

  • All Implemented Interfaces:
    Parameterizer
    Enclosing class:
    CFTree.Factory

    public static class CFTree.Factory.Par
    extends java.lang.Object
    implements Parameterizer
    Parameterization class for CFTrees.
    Author:
    Erich Schubert
    • Field Detail

      • DISTANCE_ID

        public static final OptionID DISTANCE_ID
        Distance function parameter.
      • ABSORPTION_ID

        public static final OptionID ABSORPTION_ID
        Absorption parameter.
      • THRESHOLD_ID

        public static final OptionID THRESHOLD_ID
        Distance threshold.
      • BRANCHING_ID

        public static final OptionID BRANCHING_ID
        Branching factor.
      • MAXLEAVES_ID

        public static final OptionID MAXLEAVES_ID
        Maximum number of leaves.
      • 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

      • Par

        public Par()
    • Method Detail

      • configure

        public void configure​(Parameterization config)
        Description copied from interface: Parameterizer
        Configure the class.

        Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.

        Specified by:
        configure in interface Parameterizer
        Parameters:
        config - Parameterization
      • make

        public CFTree.Factory make()
        Description copied from interface: Parameterizer
        Make an instance after successful configuration.

        Note: your class should return the exact type, only this very broad interface should use Object as return type.

        Specified by:
        make in interface Parameterizer
        Returns:
        a new instance