|
Mobios v0.91 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mobios.index.Cursor mobios.index.VPKNNCursor
public class VPKNNCursor
Implements an Cursor
, for KNN search in vp tree
Constructor Summary | |
---|---|
VPKNNCursor(KNNQuery query,
Index index)
|
Method Summary | |
---|---|
void |
getCachedResult()
Gets the results that have been cached based on current search stratagey, target radius and search status. |
int[] |
getCounters()
return some counters |
int[] |
getDistanceCalculationNumber()
return the number of distance calculations during the search |
int |
getHeight()
|
int[][] |
getLevelNodeVisited()
return the number of nodes visited in each level of the index tree. |
int[][] |
getLevelPointVisited()
return the number of data objects that the query directly compute distance with in the leaf nodes of each level of the index tree. |
int[] |
getNodeVisitedNumber()
Return the number of index node visited during the search |
double[][] |
getQueryPivotDistance()
return the average distance between the query and the pivots for each layer. |
void |
queueResults(IndexObject obj,
double distance)
Queue the results found during the search |
String |
toString()
|
Methods inherited from class mobios.index.Cursor |
---|
hasNext, next, remove |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VPKNNCursor(KNNQuery query, Index index)
query
- index
- Method Detail |
---|
public int getHeight()
public int[] getNodeVisitedNumber()
public int[] getCounters()
public int[] getDistanceCalculationNumber()
public double[][] getQueryPivotDistance()
public int[][] getLevelNodeVisited()
public int[][] getLevelPointVisited()
public String toString()
toString
in class Object
public void queueResults(IndexObject obj, double distance)
obj
- matching objectdistance
- distance of this matchespublic void getCachedResult()
|
Mobios v0.91 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |