Class DOC.Par

  • All Implemented Interfaces:
    Parameterizer
    Direct Known Subclasses:
    FastDOC.Par
    Enclosing class:
    DOC

    public static class DOC.Par
    extends java.lang.Object
    implements Parameterizer
    Parameterization class.
    Author:
    Florian Nuecke
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected double alpha
      Relative density threshold parameter Alpha.
      static OptionID ALPHA_ID
      Relative density threshold parameter Alpha.
      protected double beta
      Balancing parameter for importance of points vs. dimensions
      static OptionID BETA_ID
      Balancing parameter for importance of points vs. dimensions
      protected RandomFactory random
      Random seeding factory.
      static OptionID RANDOM_ID
      Random seeding parameter.
      protected double w
      Half width parameter.
      static OptionID W_ID
      Half width parameter.
    • 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.
      DOC 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

      • ALPHA_ID

        public static final OptionID ALPHA_ID
        Relative density threshold parameter Alpha.
      • BETA_ID

        public static final OptionID BETA_ID
        Balancing parameter for importance of points vs. dimensions
      • W_ID

        public static final OptionID W_ID
        Half width parameter.
      • RANDOM_ID

        public static final OptionID RANDOM_ID
        Random seeding parameter.
      • alpha

        protected double alpha
        Relative density threshold parameter Alpha.
      • beta

        protected double beta
        Balancing parameter for importance of points vs. dimensions
      • w

        protected double w
        Half width 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 DOC 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