Class AbstractMTreeFactory.Par<O,N extends AbstractMTreeNode<O,N,E>,E extends MTreeEntry,S extends MTreeSettings<O,N,E>>
- java.lang.Object
-
- elki.index.PagedIndexFactory.Par<O>
-
- elki.index.tree.metrical.mtreevariants.AbstractMTreeFactory.Par<O,N,E,S>
-
- All Implemented Interfaces:
Parameterizer
- Direct Known Subclasses:
AbstractMkTreeUnifiedFactory.Par
- Enclosing class:
- AbstractMTreeFactory<O,N extends AbstractMTreeNode<O,N,E>,E extends MTreeEntry,S extends MTreeSettings<O,N,E>>
public abstract static class AbstractMTreeFactory.Par<O,N extends AbstractMTreeNode<O,N,E>,E extends MTreeEntry,S extends MTreeSettings<O,N,E>> extends PagedIndexFactory.Par<O>
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description static OptionID
DISTANCE_FUNCTION_ID
Parameter to specify the distance function to determine the distance between database objects, must extendDistance
.static OptionID
INSERT_STRATEGY_ID
Parameter to specify the insertion strategy to construct the tree.protected S
settings
Tree settings.static OptionID
SPLIT_STRATEGY_ID
Parameter to specify the splitting strategy to construct the tree.-
Fields inherited from class elki.index.PagedIndexFactory.Par
PAGEFILE_ID, pageFileFactory
-
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
configure(Parameterization config)
Configure the class.abstract AbstractMTreeFactory<O,N,E,?>
make()
Make an instance after successful configuration.protected abstract S
makeSettings()
-
-
-
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
.
-
SPLIT_STRATEGY_ID
public static final OptionID SPLIT_STRATEGY_ID
Parameter to specify the splitting strategy to construct the tree.
-
INSERT_STRATEGY_ID
public static final OptionID INSERT_STRATEGY_ID
Parameter to specify the insertion strategy to construct the tree.
-
settings
protected S extends MTreeSettings<O,N,E> settings
Tree settings.
-
-
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
- Overrides:
configure
in classPagedIndexFactory.Par<O>
- Parameters:
config
- Parameterization
-
makeSettings
protected abstract S makeSettings()
-
make
public abstract AbstractMTreeFactory<O,N,E,?> 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 interfaceParameterizer
- Specified by:
make
in classPagedIndexFactory.Par<O>
- Returns:
- a new instance
-
-