Class PreDeConNeighborPredicate.Instance
- java.lang.Object
-
- elki.clustering.dbscan.predicates.AbstractRangeQueryNeighborPredicate.Instance<PreDeConNeighborPredicate.PreDeConModel,PreDeConNeighborPredicate.PreDeConModel>
-
- elki.clustering.dbscan.predicates.PreDeConNeighborPredicate.Instance
-
- All Implemented Interfaces:
NeighborPredicate.Instance<PreDeConNeighborPredicate.PreDeConModel>
- Enclosing class:
- PreDeConNeighborPredicate
public static class PreDeConNeighborPredicate.Instance extends AbstractRangeQueryNeighborPredicate.Instance<PreDeConNeighborPredicate.PreDeConModel,PreDeConNeighborPredicate.PreDeConModel>
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<PreDeConNeighborPredicate.PreDeConModel> storage)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PreDeConNeighborPredicate.PreDeConModel
getNeighbors(DBIDRef reference)
Get the neighbors of a reference object for DBSCAN.DBIDIter
iterDBIDs(PreDeConNeighborPredicate.PreDeConModel 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<PreDeConNeighborPredicate.PreDeConModel> storage)
Constructor.- Parameters:
ids
- IDs this is defined for.storage
- Stored models
-
-
Method Detail
-
getNeighbors
public PreDeConNeighborPredicate.PreDeConModel getNeighbors(DBIDRef reference)
Description copied from interface:NeighborPredicate.Instance
Get the neighbors of a reference object for DBSCAN.- Parameters:
reference
- Reference object- Returns:
- Neighborhood
-
iterDBIDs
public DBIDIter iterDBIDs(PreDeConNeighborPredicate.PreDeConModel neighbors)
Description copied from interface:NeighborPredicate.Instance
Add the neighbors to a DBID set- Parameters:
neighbors
- Neighbors to iterate over- Returns:
- iterator
-
-