Class AbstractCoverTree.Factory.Par<O>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Distance<? super O> distance
      Holds the instance of the trees distance function.
      static OptionID DISTANCE_FUNCTION_ID
      Parameter to specify the distance function to determine the distance between database objects, must extend Distance.
      protected double expansion
      Expansion rate.
      static OptionID EXPANSION_ID
      Expansion rate of the tree (going upward).
      protected int truncate
      Truncate the tree.
      static OptionID TRUNCATE_ID
      Truncate branches when they have less than this number of instances.
    • 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.
      • Methods inherited from class java.lang.Object

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

      • DISTANCE_FUNCTION_ID

        public static final OptionID DISTANCE_FUNCTION_ID
        Parameter to specify the distance function to determine the distance between database objects, must extend Distance.
      • TRUNCATE_ID

        public static final OptionID TRUNCATE_ID
        Truncate branches when they have less than this number of instances.
      • EXPANSION_ID

        public static final OptionID EXPANSION_ID
        Expansion rate of the tree (going upward).
      • distance

        protected Distance<? super O> distance
        Holds the instance of the trees distance function.
      • truncate

        protected int truncate
        Truncate the tree.
      • expansion

        protected double expansion
        Expansion rate.
    • 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