|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object QueryProcessor.Utils.SortedAccess QueryProcessor.Utils.SortedAccessMtree
public abstract class SortedAccessMtree
Abstract class for the management of sorted accesses to the region M-tree.
Field Summary |
---|
Fields inherited from class QueryProcessor.Utils.SortedAccess |
---|
query, time |
Constructor Summary | |
---|---|
SortedAccessMtree(java.lang.String filename,
Image query)
Basic constructor. |
Method Summary | |
---|---|
int |
getDistances()
Returns the number of distance computations performed by the region index. |
protected SortedAccessResult |
getNext(int index)
Performs a sorted access on the specified region scan. |
boolean |
resetDistances()
Resets the number of distance computations performed by the region index. |
Methods inherited from class QueryProcessor.Utils.SortedAccess |
---|
getBestSortedAccess, getCount, getImage, getNext, getTime, reset |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SortedAccessMtree(java.lang.String filename, Image query)
filename
- The absolute path of the file containing the M-tree index.query
- The query image.Method Detail |
---|
protected SortedAccessResult getNext(int index)
getNext
in class SortedAccess
index
- Index of the region scan to be accessed.
null
if no such region scan exists or if the requested region scan has been completed).public boolean resetDistances()
resetDistances
in class SortedAccess
true
if the count was successfully reset, false
otherwise.public int getDistances()
getDistances
in class SortedAccess
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |