Class SortedAccessMtreeRoundRobin

  extended by QueryProcessor.Utils.SortedAccess
      extended by QueryProcessor.Utils.SortedAccessMtree
          extended by QueryProcessor.Utils.SortedAccessMtreeRoundRobin

public class SortedAccessMtreeRoundRobin
extends SortedAccessMtree

Class for the management of sorted accesses to the region M-tree using the round robin policy.

Field Summary
Fields inherited from class QueryProcessor.Utils.SortedAccess
query, time
Constructor Summary
SortedAccessMtreeRoundRobin(java.lang.String filename, Image query)
          Basic constructor.
Method Summary
protected  int getBestSortedAccess()
          Selects the region scan to be performed next using the round robin policy.
Methods inherited from class QueryProcessor.Utils.SortedAccessMtree
getDistances, getNext, resetDistances
Methods inherited from class QueryProcessor.Utils.SortedAccess
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 SortedAccessMtreeRoundRobin(java.lang.String filename,
                                   Image query)
Basic constructor.

filename - The absolute path of the file containing the M-tree index.
query - Query image.
Method Detail


protected int getBestSortedAccess()
Selects the region scan to be performed next using the round robin policy.

Specified by:
getBestSortedAccess in class SortedAccess
Index of the best region scan.