|
Mobios v0.91 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mobios.index.AbstractIndex mobios.index.VPIndex
public class VPIndex
A Vantage Point Tree (VPT) index.
Constructor Summary | |
---|---|
VPIndex(File mobiosDir,
String fileName,
List<? extends IndexObject> data,
Metric metric,
PivotSelectionMethod psm,
int numPivot,
PartitionMethod pm,
int singlePivotFanout,
int maxLeafSize,
int maxPathLength,
Level debugLevel)
Builds an index over the specified Table. |
Method Summary | |
---|---|
ObjectIOManager |
getOIOM()
TODO |
long |
getRootAddress()
TODO |
Cursor |
search(Query q)
Executes a range query. |
Methods inherited from class mobios.index.AbstractIndex |
---|
close, destroy, getAllPoints, getMetric, initAndOpenOIOM, preLoad, size |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VPIndex(File mobiosDir, String fileName, List<? extends IndexObject> data, Metric metric, PivotSelectionMethod psm, int numPivot, PartitionMethod pm, int singlePivotFanout, int maxLeafSize, int maxPathLength, Level debugLevel)
fileName
- the fileName to give the index.data
- the List
of IndexObject
s to build the index overmetric
- the Metric
to use when building the index.psm
- the PivotSelectionMethod
to use when building the index.numPivot
- the number of pivots to use.pm
- the PartitionMethod
to use when building the index.singlePivotFanout
- the fanout for a single pivot. the total fanout is singlePivotFanout^numPivotmaxLeafSize
- the maximum number of data points in a leaf node.maxPathLength
- the number of previous distance calculations to store in a given node.debugLevel
- the debug level.Method Detail |
---|
public Cursor search(Query q)
Index
q
- the Query
object
Cursor
over the results of the querypublic ObjectIOManager getOIOM()
Index
public long getRootAddress()
Index
|
Mobios v0.91 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |