
public static class EpsilonNeighborPredicate.Instance<D extends Distance<D>> extends Object implements NeighborPredicate.Instance<DistanceDBIDList<D>>
| Modifier and Type | Field and Description | 
|---|---|
| (package private) D | epsilonRange to query with | 
| (package private) DBIDs | idsDBIDs to process | 
| (package private) RangeQuery<?,D> | rqRange query to use on the database. | 
| Constructor and Description | 
|---|
| EpsilonNeighborPredicate.Instance(D epsilon,
                                 RangeQuery<?,D> rq,
                                 DBIDs ids)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addDBIDs(ModifiableDBIDs ids,
        DistanceDBIDList<D> neighbors)Add the neighbors to a DBID set | 
| DBIDs | getIDs()Get the IDs the predicate is defined for. | 
| DistanceDBIDList<D> | getNeighbors(DBIDRef reference)Get the neighbors of a reference object for DBSCAN. | 
RangeQuery<?,D extends Distance<D>> rq
DBIDs ids
public EpsilonNeighborPredicate.Instance(D epsilon, RangeQuery<?,D> rq, DBIDs ids)
epsilon - Epsilonrq - Range query to useids - DBIDs to processpublic DBIDs getIDs()
NeighborPredicate.InstancegetIDs in interface NeighborPredicate.Instance<DistanceDBIDList<D extends Distance<D>>>public DistanceDBIDList<D> getNeighbors(DBIDRef reference)
NeighborPredicate.InstancegetNeighbors in interface NeighborPredicate.Instance<DistanceDBIDList<D extends Distance<D>>>reference - Reference objectpublic void addDBIDs(ModifiableDBIDs ids, DistanceDBIDList<D> neighbors)
NeighborPredicate.InstanceaddDBIDs in interface NeighborPredicate.Instance<DistanceDBIDList<D extends Distance<D>>>ids - ID setneighbors - Neighbors to add