public interface DoubleRelation extends ModifiableRelation<java.lang.Double>
Modifier and Type | Interface and Description |
---|---|
static interface |
DoubleRelation.Consumer
Consumer for (DBIDRef, double) pairs.
|
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE
Modifier and Type | Method and Description |
---|---|
double |
doubleValue(DBIDRef id)
Get the representation of an object.
|
default void |
forEachDouble(DoubleRelation.Consumer action)
Execute a function for each ID.
|
default java.lang.Double |
get(DBIDRef id)
Deprecated.
|
void |
insert(DBIDRef id,
java.lang.Double val)
Deprecated.
use
set(DBIDRef, double) instead. |
void |
set(DBIDRef id,
double val)
Set an object representation.
|
delete
forEach, getDataTypeInformation, getDBIDs, getDistanceQuery, getKNNQuery, getKNNQuery, getRangeQuery, getRangeQuery, getRKNNQuery, getRKNNQuery, getSimilarityQuery, getSimilarityRangeQuery, getSimilarityRangeQuery, iterDBIDs, size
getHierarchy, setHierarchy
getLongName, getShortName
double doubleValue(DBIDRef id)
id
- Object ID@Deprecated default java.lang.Double get(DBIDRef id)
doubleValue(de.lmu.ifi.dbs.elki.database.ids.DBIDRef)
instead.Relation
void set(DBIDRef id, double val)
id
- Object IDval
- Value@Deprecated void insert(DBIDRef id, java.lang.Double val)
set(DBIDRef, double)
instead.ModifiableRelation
insert
in interface ModifiableRelation<java.lang.Double>
id
- Object IDval
- Valuedefault void forEachDouble(DoubleRelation.Consumer action)
action
- Action to executeCopyright © 2019 ELKI Development Team. License information.