public class UnweightedNeighborhoodAdapter extends Object implements WeightedNeighborSetPredicate
Modifier and Type | Class and Description |
---|---|
static class |
UnweightedNeighborhoodAdapter.Factory<O>
Factory class
|
Modifier and Type | Field and Description |
---|---|
(package private) NeighborSetPredicate |
inner
Actual predicate
|
Constructor and Description |
---|
UnweightedNeighborhoodAdapter(NeighborSetPredicate inner)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Collection<DoubleObjPair<DBID>> |
getWeightedNeighbors(DBID reference)
Get the neighbors of a reference object for DBSCAN.
|
NeighborSetPredicate inner
public UnweightedNeighborhoodAdapter(NeighborSetPredicate inner)
inner
- Actual neighborhoodpublic Collection<DoubleObjPair<DBID>> getWeightedNeighbors(DBID reference)
WeightedNeighborSetPredicate
getWeightedNeighbors
in interface WeightedNeighborSetPredicate
reference
- Reference object