Class LSDBC.Par<O extends NumberVector>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected double alpha
      Alpha parameter.
      static OptionID ALPHA_ID
      Parameter for the maximum density difference.
      protected Distance<? super O> distance
      The distance function to use.
      protected int k
      kNN parameter.
      static OptionID K_ID
      Parameter for neighborhood size.
    • Constructor Summary

      Constructors 
      Constructor Description
      Par()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configure​(Parameterization config)
      Configure the class.
      LSDBC<O> make()
      Make an instance after successful configuration.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • K_ID

        public static final OptionID K_ID
        Parameter for neighborhood size.
      • ALPHA_ID

        public static final OptionID ALPHA_ID
        Parameter for the maximum density difference.
      • k

        protected int k
        kNN parameter.
      • alpha

        protected double alpha
        Alpha 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 LSDBC<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