public static class COPACNeighborPredicate.Instance extends AbstractRangeQueryNeighborPredicate.Instance<COPACNeighborPredicate.COPACModel,COPACNeighborPredicate.COPACModel>
ids, storage
Constructor and Description |
---|
COPACNeighborPredicate.Instance(DBIDs ids,
DataStore<COPACNeighborPredicate.COPACModel> storage)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
dimensionality(DBIDRef id)
Get the correlation dimensionality of a single object.
|
COPACNeighborPredicate.COPACModel |
getNeighbors(DBIDRef reference)
Get the neighbors of a reference object for DBSCAN.
|
DBIDIter |
iterDBIDs(COPACNeighborPredicate.COPACModel neighbors)
Add the neighbors to a DBID set
|
getIDs
public COPACNeighborPredicate.Instance(DBIDs ids, DataStore<COPACNeighborPredicate.COPACModel> storage)
ids
- IDs this is defined for.storage
- Stored modelspublic COPACNeighborPredicate.COPACModel getNeighbors(DBIDRef reference)
NeighborPredicate.Instance
reference
- Reference objectpublic DBIDIter iterDBIDs(COPACNeighborPredicate.COPACModel neighbors)
NeighborPredicate.Instance
neighbors
- Neighbors to iterate overpublic int dimensionality(DBIDRef id)
id
- Object IDCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.