public interface DBIDVar extends DBIDRef, ArrayDBIDs, SetDBIDs
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.
|
void |
set(DBIDRef ref)
Assign a new value for the reference.
|
void |
setFirst(DBIDPair pair)
Assign the first pair member to this variable.
|
void |
setSecond(DBIDPair pair)
Assign the second pair member to this variable.
|
void |
unset()
Clear the contents.
|
equals, hashCode, internalGetIndex
assignVar, binarySearch, get, iter, size, slice
void set(DBIDRef ref)
ref
- ReferenceDBIDVar from(DBIDDataStore store, DBIDRef ref)
store
- Data storeref
- Referencevoid unset()
boolean isSet()
true
when assigned.void setFirst(DBIDPair pair)
pair
- Pairvoid setSecond(DBIDPair pair)
pair
- PairCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.