Interface NeighborPredicate.Instance<T>
-
- All Known Implementing Classes:
AbstractRangeQueryNeighborPredicate.Instance,COPACNeighborPredicate.Instance,EpsilonNeighborPredicate.Instance,ERiCNeighborPredicate.Instance,FourCNeighborPredicate.Instance,PreDeConNeighborPredicate.Instance,SimilarityNeighborPredicate.Instance
- Enclosing interface:
- NeighborPredicate<T>
public static interface NeighborPredicate.Instance<T>Instance for a particular data set.- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description elki.database.ids.DBIDsgetIDs()Get the IDs the predicate is defined for.TgetNeighbors(elki.database.ids.DBIDRef reference)Get the neighbors of a reference object for DBSCAN.elki.database.ids.DBIDIteriterDBIDs(T neighbors)Add the neighbors to a DBID set
-
-
-
Method Detail
-
getNeighbors
T getNeighbors(elki.database.ids.DBIDRef reference)
Get the neighbors of a reference object for DBSCAN.- Parameters:
reference- Reference object- Returns:
- Neighborhood
-
getIDs
elki.database.ids.DBIDs getIDs()
Get the IDs the predicate is defined for.- Returns:
- Database ids
-
iterDBIDs
elki.database.ids.DBIDIter iterDBIDs(T neighbors)
Add the neighbors to a DBID set- Parameters:
neighbors- Neighbors to iterate over- Returns:
- iterator
-
-