Class COPACNeighborPredicate.Instance
- java.lang.Object
-
- elki.clustering.dbscan.predicates.AbstractRangeQueryNeighborPredicate.Instance<COPACNeighborPredicate.COPACModel,COPACNeighborPredicate.COPACModel>
-
- elki.clustering.dbscan.predicates.COPACNeighborPredicate.Instance
-
- All Implemented Interfaces:
NeighborPredicate.Instance<COPACNeighborPredicate.COPACModel>
- Enclosing class:
- COPACNeighborPredicate
public static class COPACNeighborPredicate.Instance extends AbstractRangeQueryNeighborPredicate.Instance<COPACNeighborPredicate.COPACModel,COPACNeighborPredicate.COPACModel>
Instance for a particular data set.- Author:
- Erich Schubert
-
-
Field Summary
-
Fields inherited from class elki.clustering.dbscan.predicates.AbstractRangeQueryNeighborPredicate.Instance
ids, storage
-
-
Constructor Summary
Constructors Constructor Description Instance(DBIDs ids, DataStore<COPACNeighborPredicate.COPACModel> storage)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdimensionality(DBIDRef id)Get the correlation dimensionality of a single object.COPACNeighborPredicate.COPACModelgetNeighbors(DBIDRef reference)Get the neighbors of a reference object for DBSCAN.DBIDIteriterDBIDs(COPACNeighborPredicate.COPACModel neighbors)Add the neighbors to a DBID set-
Methods inherited from class elki.clustering.dbscan.predicates.AbstractRangeQueryNeighborPredicate.Instance
getIDs
-
-
-
-
Constructor Detail
-
Instance
public Instance(DBIDs ids, DataStore<COPACNeighborPredicate.COPACModel> storage)
Constructor.- Parameters:
ids- IDs this is defined for.storage- Stored models
-
-
Method Detail
-
getNeighbors
public COPACNeighborPredicate.COPACModel getNeighbors(DBIDRef reference)
Description copied from interface:NeighborPredicate.InstanceGet the neighbors of a reference object for DBSCAN.- Parameters:
reference- Reference object- Returns:
- Neighborhood
-
iterDBIDs
public DBIDIter iterDBIDs(COPACNeighborPredicate.COPACModel neighbors)
Description copied from interface:NeighborPredicate.InstanceAdd the neighbors to a DBID set- Parameters:
neighbors- Neighbors to iterate over- Returns:
- iterator
-
dimensionality
public int dimensionality(DBIDRef id)
Get the correlation dimensionality of a single object.- Parameters:
id- Object ID- Returns:
- correlation dimensionality
-
-