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 OptionIDDISTANCE_FUNCTION_IDParameter to specify the distance function to determine the distance between database objects, must extendDistance.static OptionIDINSERT_STRATEGY_IDParameter to specify the insertion strategy to construct the tree.protected SsettingsTree settings.static OptionIDSPLIT_STRATEGY_IDParameter 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 voidconfigure(Parameterization config)Configure the class.abstract AbstractMTreeFactory<O,N,E,?>make()Make an instance after successful configuration.protected abstract SmakeSettings()
-
-
-
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:ParameterizerConfigure 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:
configurein interfaceParameterizer- Overrides:
configurein classPagedIndexFactory.Par<O>- Parameters:
config- Parameterization
-
makeSettings
protected abstract S makeSettings()
-
make
public abstract AbstractMTreeFactory<O,N,E,?> make()
Description copied from interface:ParameterizerMake an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Objectas return type.- Specified by:
makein interfaceParameterizer- Specified by:
makein classPagedIndexFactory.Par<O>- Returns:
- a new instance
-
-