Package elki.index
Interface DynamicIndex
-
- All Superinterfaces:
Index
- All Known Implementing Classes:
DeLiCluTreeIndex
,FlatRStarTreeIndex
,MaterializeKNNAndRKNNPreprocessor
,MaterializeKNNPreprocessor
,MkMaxTreeIndex
,MTreeIndex
,RdKNNTree
,RStarTreeIndex
public interface DynamicIndex extends Index
Index that supports dynamic insertions and removals.- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
delete(DBIDRef id)
Deletes the specified object from this index.void
deleteAll(DBIDs ids)
Deletes the specified objects from this index.void
insert(DBIDRef id)
Inserts the specified object into this index.void
insertAll(DBIDs ids)
Inserts the specified objects into this index.-
Methods inherited from interface elki.index.Index
initialize, logStatistics
-
-
-
-
Method Detail
-
delete
boolean delete(DBIDRef id)
Deletes the specified object from this index.- Parameters:
id
- Object to remove- Returns:
- true if this index did contain the object, false otherwise
-
insert
void insert(DBIDRef id)
Inserts the specified object into this index.- Parameters:
id
- the object to be inserted
-
deleteAll
void deleteAll(DBIDs ids)
Deletes the specified objects from this index.- Parameters:
ids
- Objects to remove
-
insertAll
void insertAll(DBIDs ids)
Inserts the specified objects into this index. If a bulk load mode is implemented, the objects are inserted in one bulk.- Parameters:
ids
- the objects to be inserted
-
-