
O - Object typeD - Distance typeN - Node typeE - Entry typeI - Index typepublic abstract class AbstractMTreeFactory<O,D extends Distance<D>,N extends AbstractMTreeNode<O,D,N,E>,E extends MTreeEntry<D>,I extends AbstractMTree<O,D,N,E> & Index> extends TreeIndexFactory<O,I>
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractMTreeFactory.Parameterizer<O,D extends Distance<D>>
Parameterization class.
|
| 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. |
protected DistanceFunction<O,D> |
distanceFunction
Holds the instance of the distance function specified by
DISTANCE_FUNCTION_ID. |
CACHE_SIZE_ID, cacheSize, FILE_ID, fileName, PAGE_SIZE_ID, pageSize| Constructor and Description |
|---|
AbstractMTreeFactory(String fileName,
int pageSize,
long cacheSize,
DistanceFunction<O,D> distanceFunction)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TypeInformation |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
instantiate, makePageFilepublic static final OptionID DISTANCE_FUNCTION_ID
DistanceFunction.
Key: -mtree.distancefunction
Default value:
EuclideanDistanceFunction
protected DistanceFunction<O,D extends Distance<D>> distanceFunction
DISTANCE_FUNCTION_ID.public AbstractMTreeFactory(String fileName, int pageSize, long cacheSize, DistanceFunction<O,D> distanceFunction)
fileName - pageSize - cacheSize - distanceFunction - public TypeInformation getInputTypeRestriction()
IndexFactory