
| Modifier and Type | Field and Description |
|---|---|
private Map<DBIDPair,D> |
distanceCache
The cache of precomputed distances between the database objects.
|
private MultipleObjectsBundle |
objects
Objects representation (DBIDs and/or external IDs)
|
| Constructor and Description |
|---|
DistanceParsingResult(MultipleObjectsBundle objectAndLabelList,
Map<DBIDPair,D> distanceCache)
Provides a list of database objects, a list of label objects associated
with these objects and cached distances between these objects.
|
| Modifier and Type | Method and Description |
|---|---|
Map<DBIDPair,D> |
getDistanceCache()
Returns the cache of precomputed distances between the database objects.
|
MultipleObjectsBundle |
getObjects()
Get the objects
|
private final Map<DBIDPair,D extends Distance<D>> distanceCache
private MultipleObjectsBundle objects
public DistanceParsingResult(MultipleObjectsBundle objectAndLabelList, Map<DBIDPair,D> distanceCache)
objectAndLabelList - the list of database objects and labels
associated with these objectsdistanceCache - the cache of precomputed distances between the
database objectspublic Map<DBIDPair,D> getDistanceCache()
public MultipleObjectsBundle getObjects()