|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object IndexManager.RegIndexManager IndexManager.RegIndexManagerMtree
public class RegIndexManagerMtree
Class for the management of the region index using M-tree.
Constructor Summary | |
---|---|
RegIndexManagerMtree(java.lang.String filename)
Basic constructor. |
Method Summary | |
---|---|
boolean |
create(java.lang.String featureFile)
Creates a new index from a file containing region features. |
RegionQuery |
createQuery(Region region)
Creates a new k-NN query based on the given region using this index. |
boolean |
delete(ImageID id,
Region region)
Deletes a region from the index. |
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 RegIndexManagerMtree(java.lang.String filename)
filename
- The absolute path of the file containing the M-tree index.Method Detail |
---|
public RegionQuery createQuery(Region region)
createQuery
in class RegIndexManager
region
- The query region.
public boolean create(java.lang.String featureFile)
create
in class RegIndexManager
featureFile
- Absolute path of the features file.
true
if the index was successfully created, false
otherwise.public boolean insert(ImageID id, Region region)
insert
in class RegIndexManager
id
- ID of the region to be inserted.region
- Region to be inserted.
true
if the region was successfully inserted, false
otherwise.public boolean delete(ImageID id, Region region)
delete
in class RegIndexManager
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 |