
D - Distance to usepublic class PrecomputedKNearestNeighborNeighborhood<D extends Distance<D>> extends AbstractPrecomputedNeighborhood
| Modifier and Type | Class and Description |
|---|---|
static class |
PrecomputedKNearestNeighborNeighborhood.Factory<O,D extends Distance<D>>
Factory class to instantiate for a particular relation.
|
| Modifier and Type | Field and Description |
|---|---|
private static Logging |
LOG
Logger
|
store| Constructor and Description |
|---|
PrecomputedKNearestNeighborNeighborhood(DataStore<DBIDs> store)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Logging |
getLogger()
The logger to use for error reporting.
|
String |
getLongName()
A "pretty" name for the result, for use in titles, captions and menus.
|
String |
getShortName()
A short name for the result, useful for file names.
|
getNeighborDBIDsprivate static final Logging LOG
public String getLongName()
Resultpublic String getShortName()
Resultprotected Logging getLogger()
AbstractPrecomputedNeighborhoodgetLogger in class AbstractPrecomputedNeighborhood