Class AbstractCoverTree.Factory.Par<O>
- java.lang.Object
-
- elki.index.tree.metrical.covertree.AbstractCoverTree.Factory.Par<O>
-
- All Implemented Interfaces:
Parameterizer
- Direct Known Subclasses:
CoverTree.Factory.Par
,SimplifiedCoverTree.Factory.Par
- Enclosing class:
- AbstractCoverTree.Factory<O>
public abstract static class AbstractCoverTree.Factory.Par<O> extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
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 extendDistance
.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
-
Methods inherited from interface elki.utilities.optionhandling.Parameterizer
make
-
-
-
-
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 extendDistance
.
-
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).
-
truncate
protected int truncate
Truncate the tree.
-
expansion
protected double expansion
Expansion rate.
-
-
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 interfaceParameterizer
- Parameters:
config
- Parameterization
-
-