public abstract static class AbstractMTreeFactory.Parameterizer<O,D extends NumberDistance<D,?>,N extends AbstractMTreeNode<O,D,N,E>,E extends MTreeEntry,S extends MTreeSettings<O,D,N,E>> extends PagedIndexFactory.Parameterizer<O>
Modifier and Type | Field and Description |
---|---|
static OptionID |
DISTANCE_FUNCTION_ID
Parameter to specify the distance function to determine the distance
between database objects, must extend
DistanceFunction . |
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.
|
PAGEFILE_ID, pageFileFactory
Constructor and Description |
---|
AbstractMTreeFactory.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected abstract AbstractMTreeFactory<O,D,N,E,?,?> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
protected abstract S |
makeSettings() |
configure, make
public static final OptionID DISTANCE_FUNCTION_ID
DistanceFunction
.
Key: -mtree.distancefunction
Default value:
EuclideanDistanceFunction
public static final OptionID SPLIT_STRATEGY_ID
Key: -mtree.split
public static final OptionID INSERT_STRATEGY_ID
Key: -mtree.insert
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class PagedIndexFactory.Parameterizer<O>
config
- Parameterization to add options to.protected abstract S makeSettings()
protected abstract AbstractMTreeFactory<O,D,N,E,?,?> makeInstance()
AbstractParameterizer
makeInstance
in class PagedIndexFactory.Parameterizer<O>