|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectQueryProcessor.Utils.RegIdx.RegionQuery
public abstract class RegionQuery
Abstract class representing a region query.
| Field Summary | |
|---|---|
protected Region |
query
The query region |
| Constructor Summary | |
|---|---|
RegionQuery(Region query)
Basic constructor. |
|
| Method Summary | |
|---|---|
abstract int |
getDistances()
Returns the number of distance computations performed by the region index. |
abstract java.util.Vector<ScoredResultImage> |
kNN(int k)
Performs a k-nn query. |
abstract java.util.Vector<ScoredResultImage> |
range(double r)
Performs a range query. |
abstract boolean |
resetDistances()
Resets the number of distance computations performed by the region index. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Region query
| Constructor Detail |
|---|
public RegionQuery(Region query)
query - The query region.| Method Detail |
|---|
public abstract java.util.Vector<ScoredResultImage> kNN(int k)
k - Number of requested results.
public abstract java.util.Vector<ScoredResultImage> range(double r)
r - Radius of the query.
public abstract boolean resetDistances()
true if the count was successfully reset, false otherwise.public abstract int getDistances()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||