|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.index.tree.TreeIndexFactory<O,I> de.lmu.ifi.dbs.elki.index.tree.metrical.mtreevariants.AbstractMTreeFactory<O,D,MkAppTreeNode<O,D>,MkAppEntry<D>,MkAppTreeIndex<O,D>> de.lmu.ifi.dbs.elki.index.tree.metrical.mtreevariants.mktrees.mkapp.MkAppTreeFactory<O,D>
O
- Object typeD
- Distance typepublic class MkAppTreeFactory<O,D extends NumberDistance<D,?>>
Factory for a MkApp-Tree
Nested Class Summary | |
---|---|
static class |
MkAppTreeFactory.Parameterizer<O,D extends NumberDistance<D,?>>
Parameterization class. |
Field Summary | |
---|---|
static OptionID |
K_ID
Parameter for k |
private int |
k_max
Parameter k. |
private boolean |
log
Flag log. |
static OptionID |
NOLOG_ID
Parameter for nolog |
private int |
p
Parameter p. |
static OptionID |
P_ID
Parameter for p |
Fields inherited from class de.lmu.ifi.dbs.elki.index.tree.metrical.mtreevariants.AbstractMTreeFactory |
---|
DISTANCE_FUNCTION_ID, distanceFunction |
Fields inherited from class de.lmu.ifi.dbs.elki.index.tree.TreeIndexFactory |
---|
CACHE_SIZE_ID, cacheSize, FILE_ID, fileName, PAGE_SIZE_ID, pageSize |
Constructor Summary | |
---|---|
MkAppTreeFactory(String fileName,
int pageSize,
long cacheSize,
DistanceFunction<O,D> distanceFunction,
int k_max,
int p,
boolean log)
Constructor. |
Method Summary | |
---|---|
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). |
Methods inherited from class de.lmu.ifi.dbs.elki.index.tree.metrical.mtreevariants.AbstractMTreeFactory |
---|
getInputTypeRestriction |
Methods inherited from class de.lmu.ifi.dbs.elki.index.tree.TreeIndexFactory |
---|
makePageFile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final OptionID NOLOG_ID
public static final OptionID K_ID
public static final OptionID P_ID
private int k_max
private int p
private boolean log
Constructor Detail |
---|
public MkAppTreeFactory(String fileName, int pageSize, long cacheSize, DistanceFunction<O,D> distanceFunction, int k_max, int p, boolean log)
fileName
- pageSize
- cacheSize
- distanceFunction
- k_max
- p
- log
- Method Detail |
---|
public MkAppTreeIndex<O,D> instantiate(Relation<O> relation)
IndexFactory
instantiate
in interface IndexFactory<O,MkAppTreeIndex<O,D extends NumberDistance<D,?>>>
instantiate
in class TreeIndexFactory<O,MkAppTreeIndex<O,D extends NumberDistance<D,?>>>
relation
- the relation to indexprotected Class<MkAppTreeNode<O,D>> getNodeClass()
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |