Skip navigation links

Package de.lmu.ifi.dbs.elki.database.datastore

General data store layer API (along the lines of Map<DBID, T> - use everywhere!)

See: Description

Package de.lmu.ifi.dbs.elki.database.datastore Description

General data store layer API (along the lines of Map<DBID, T> - use everywhere!) for ELKI.

When to use:

Every time you need to associate a larger number of objects (in form of DBIDs) with any kind of value. This can be temporary values such as KNN lists, but also result values such as outlier scores.

Basically, DataStore<T> == Map<DBID, T>. But this API will allow extensions that can do on-disk maps.

How to use:

// Storage for the outlier score of each ID. final WritableDoubleDataStore scores = DataStoreFactory.FACTORY.makeDoubleStorage(ids, DataStoreFactory.HINT_STATIC);
Skip navigation links
ELKI version 0.7.5

Copyright © 2019 ELKI Development Team. License information.