|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
O - An object of type OBInt that will be stored in the index.public interface IndexInt<O extends OBInt>
An Index interface for distance functions that return Ints.
| Field Summary |
|---|
| Fields inherited from interface net.obsearch.Index |
|---|
ID_SIZE |
| Method Summary | |
|---|---|
int[] |
fullMatchLite(O query,
boolean filterSame)
This method returns a list of all the distances of the query against the DB. |
void |
searchOB(O object,
int r,
Filter<O> filter,
OBPriorityQueueInt<O> result)
Searches the Index and returns OBResult (ID, OB and distance) elements that are closer to "object". |
void |
searchOB(O object,
int r,
OBPriorityQueueInt<O> result)
Searches the Index and returns OBResult (ID, OB and distance) elements that are closer to "object". |
| Methods inherited from interface net.obsearch.Index |
|---|
close, databaseSize, debug, delete, exists, freeze, getBox, getObject, getStats, getType, init, insert, insert, insertBulk, insertBulk, isFrozen, loadObject, resetStats, setPreFreezeCheck, totalBoxes |
| Method Detail |
|---|
void searchOB(O object,
int r,
OBPriorityQueueInt<O> result)
throws NotFrozenException,
InstantiationException,
IllegalIdException,
IllegalAccessException,
OutOfRangeException,
OBException
object - The object that has to be searchedr - The range to be usedresult - A priority queue that will hold the result
NotFrozenException - if the index has not been frozen.
OBException - User generated exception
IllegalAccessException - If there is a problem when instantiating objects O
InstantiationException - If there is a problem when instantiating objects O
IllegalIdException - This exception is left as a Debug flag. If you receive
this exception please report the problem to:
http://code.google.com/p/obsearch/issues/list
OutOfRangeException - If the distance of any object to any other object exceeds
the range defined by the user.
void searchOB(O object,
int r,
Filter<O> filter,
OBPriorityQueueInt<O> result)
throws NotFrozenException,
InstantiationException,
IllegalIdException,
IllegalAccessException,
OutOfRangeException,
OBException
object - The object that has to be searchedr - The range to be usedresult - A priority queue that will hold the result
NotFrozenException - if the index has not been frozen.
OBException - User generated exception
IllegalAccessException - If there is a problem when instantiating objects O
InstantiationException - If there is a problem when instantiating objects O
IllegalIdException - This exception is left as a Debug flag. If you receive
this exception please report the problem to:
http://code.google.com/p/obsearch/issues/list
OutOfRangeException - If the distance of any object to any other object exceeds
the range defined by the user.
int[] fullMatchLite(O query,
boolean filterSame)
throws OBException,
IllegalAccessException,
InstantiationException
query - filterSame - if True we do not return objects o such that query.equals(o)
OBException
InstantiationException
IllegalAccessException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||