public static interface NeighborPredicate.Instance<T>
Modifier and Type | Method and Description |
---|---|
void |
addDBIDs(ModifiableDBIDs ids,
T neighbors)
Add the neighbors to a DBID set
|
DBIDs |
getIDs()
Get the IDs the predicate is defined for.
|
T |
getNeighbors(DBIDRef reference)
Get the neighbors of a reference object for DBSCAN.
|
T getNeighbors(DBIDRef reference)
reference
- Reference objectDBIDs getIDs()
void addDBIDs(ModifiableDBIDs ids, T neighbors)
ids
- ID setneighbors
- Neighbors to add