O
- Object typepublic class RdKNNTreeFactory<O extends NumberVector> extends AbstractRStarTreeFactory<O,RdKNNNode,RdKNNEntry,RdKNNTree<O>,RdkNNSettings<O>>
Modifier and Type | Class and Description |
---|---|
static class |
RdKNNTreeFactory.Parameterizer<O extends NumberVector>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
static Class<?> |
DEFAULT_DISTANCE_FUNCTION
The default distance function.
|
static OptionID |
DISTANCE_FUNCTION_ID
Parameter for distance function
|
static OptionID |
K_ID
Parameter for k
|
settings
Constructor and Description |
---|
RdKNNTreeFactory(PageFileFactory<?> pageFileFactory,
RdkNNSettings<O> settings)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Class<RdKNNNode> |
getNodeClass() |
RdKNNTree<O> |
instantiate(Relation<O> relation)
Sets the database in the distance function of this index (if existing).
|
getInputTypeRestriction
makePageFile
public static final OptionID K_ID
public static final Class<?> DEFAULT_DISTANCE_FUNCTION
public static final OptionID DISTANCE_FUNCTION_ID
public RdKNNTreeFactory(PageFileFactory<?> pageFileFactory, RdkNNSettings<O> settings)
pageFileFactory
- Data storagesettings
- Settings classCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.