O
- Object typeD
- Distance typepublic class MkAppTreeFactory<O,D extends NumberDistance<D,?>> extends AbstractMTreeFactory<O,D,MkAppTreeNode<O,D>,MkAppEntry,MkAppTreeIndex<O,D>,MkAppTreeSettings<O,D>>
Modifier and Type | Class and Description |
---|---|
static class |
MkAppTreeFactory.Parameterizer<O,D extends NumberDistance<D,?>>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
static OptionID |
K_ID
Parameter for k
|
static OptionID |
NOLOG_ID
Parameter for nolog
|
static OptionID |
P_ID
Parameter for p
|
settings
Constructor and Description |
---|
MkAppTreeFactory(PageFileFactory<?> pageFileFactory,
MkAppTreeSettings<O,D> settings)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Class<MkAppTreeNode<O,D>> |
getNodeClass() |
MkAppTreeIndex<O,D> |
instantiate(Relation<O> relation)
Sets the database in the distance function of this index (if existing).
|
getInputTypeRestriction
makePageFile
public static final OptionID NOLOG_ID
public static final OptionID K_ID
public static final OptionID P_ID
public MkAppTreeFactory(PageFileFactory<?> pageFileFactory, MkAppTreeSettings<O,D> settings)
pageFileFactory
- Data storagesettings
- Tree settingspublic MkAppTreeIndex<O,D> instantiate(Relation<O> relation)
IndexFactory
relation
- the relation to indexprotected Class<MkAppTreeNode<O,D>> getNodeClass()