Class LAESA.Factory.Par<O>

  • Type Parameters:
    O - object type
    All Implemented Interfaces:
    Parameterizer
    Enclosing class:
    LAESA.Factory<O>

    public static class LAESA.Factory.Par<O>
    extends java.lang.Object
    implements Parameterizer
    Parameterization class.
    Author:
    Erich Schubert
    • Constructor Summary

      Constructors 
      Constructor Description
      Par()  
    • Field Detail

      • DISTANCE_FUNCTION_ID

        public static final OptionID DISTANCE_FUNCTION_ID
        Distance function to use in the index
      • M_ID

        public static final OptionID M_ID
        Number of reference points to choose.
      • K_ID

        public static final OptionID K_ID
        Condition parameter. Controls the deletion of reference points during knn search.
      • SEED_ID

        public static final OptionID SEED_ID
        Random generator to use
      • distance

        Distance<? super O> distance
        Distance function
      • m

        int m
        Number of reference points
      • k

        int k
        condition parameter
    • 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 LAESA.Factory<O> 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