|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object IndexManager.RegIndexManager
public abstract class RegIndexManager
Abstract class for the management of the region index.
Constructor Summary | |
---|---|
RegIndexManager()
|
Method Summary | |
---|---|
abstract boolean |
create(java.lang.String featureFile)
Creates a new index from a file containing region features. |
abstract RegionQuery |
createQuery(Region region)
Creates a new k-NN query based on the given region using this index. |
abstract boolean |
delete(ImageID id,
Region region)
Deletes a region from the index. |
abstract boolean |
insert(ImageID id,
Region region)
Inserts a new region in the index. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegIndexManager()
Method Detail |
---|
public abstract RegionQuery createQuery(Region region)
region
- The query region.
public abstract boolean create(java.lang.String featureFile)
featureFile
- Absolute path of the features file.
true
if the index was successfully created, false
otherwise.public abstract boolean insert(ImageID id, Region region)
id
- ID of the region to be inserted.region
- Region to be inserted.
true
if the region was successfully inserted, false
otherwise.public abstract boolean delete(ImageID id, Region region)
id
- ID of the region to be inserted.region
- Region to be inserted.
true
if the region was successfully deleted, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |