Class HiSC.Par

  • All Implemented Interfaces:
    Parameterizer
    Enclosing class:
    HiSC

    public static class HiSC.Par
    extends java.lang.Object
    implements Parameterizer
    Parameterization class.
    Author:
    Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected double alpha
      The maximum absolute variance along a coordinate axis.
      static OptionID ALPHA_ID
      The maximum absolute variance along a coordinate axis.
      static double DEFAULT_ALPHA
      The default value for alpha.
      static OptionID EPSILON_ID
      Parameter to specify the maximum distance between two vectors with equal preference vectors before considering them as parallel, must be a double equal to or greater than 0.
      protected int k
      The number of nearest neighbors considered to determine the preference vector.
      static OptionID K_ID
      The number of nearest neighbors considered to determine the preference vector.
    • 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.
      HiSC 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

      • EPSILON_ID

        public static final OptionID EPSILON_ID
        Parameter to specify the maximum distance between two vectors with equal preference vectors before considering them as parallel, must be a double equal to or greater than 0.
      • ALPHA_ID

        public static final OptionID ALPHA_ID
        The maximum absolute variance along a coordinate axis. Must be in the range of [0.0, 1.0).
      • DEFAULT_ALPHA

        public static final double DEFAULT_ALPHA
        The default value for alpha.
        See Also:
        Constant Field Values
      • K_ID

        public static final OptionID K_ID
        The number of nearest neighbors considered to determine the preference vector. If this value is not defined, k is set to three times of the dimensionality of the database objects.
      • alpha

        protected double alpha
        The maximum absolute variance along a coordinate axis.
      • k

        protected int k
        The number of nearest neighbors considered to determine the preference vector.
    • 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 HiSC 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