public interface DistanceCacheWriter
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(int id1,
int id2)
Returns true if the specified distance cache contains a distance
value for the specified ids.
|
void |
put(int id1,
int id2,
double distance)
Puts the specified distance value for the given ids to the distance cache.
|
void put(int id1, int id2, double distance)
id1
- the first id offsetid2
- the second id offsetdistance
- the distance valueboolean containsKey(int id1, int id2)
id1
- the first id offsetid2
- the second id offsetCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.