public interface DBIDVar extends DBIDRef, ArrayDBIDs, SetDBIDs
In contrast to the DBIDRef
API, which are read-only references, this
variable can be updated to point to a different DBID, e.g. the current best
candidate.
Modifier and Type | Method and Description |
---|---|
DBIDVar |
from(DBIDDataStore store,
DBIDRef ref)
Update variable from a data store.
|
boolean |
isSet()
Test if the variable is well-defined.
|
DBIDVar |
set(DBIDRef ref)
Assign a new value for the reference.
|
void |
unset()
Clear the contents.
|
equals, hashCode, internalGetIndex
assignVar, binarySearch, get, iter, size, slice
DBIDVar set(DBIDRef ref)
ref
- Referencethis
, for inlining.DBIDVar from(DBIDDataStore store, DBIDRef ref)
store
- Data storeref
- Referencethis
, for inlining.void unset()
boolean isSet()
true
when assigned.Copyright © 2019 ELKI Development Team. License information.