O
- Input object typepublic static class UnweightedNeighborhoodAdapter.Factory<O> extends Object implements WeightedNeighborSetPredicate.Factory<O>
Modifier and Type | Class and Description |
---|---|
static class |
UnweightedNeighborhoodAdapter.Factory.Parameterizer<O>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
(package private) NeighborSetPredicate.Factory<O> |
inner
The inner predicate factory
|
Constructor and Description |
---|
UnweightedNeighborhoodAdapter.Factory(NeighborSetPredicate.Factory<O> inner)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TypeInformation |
getInputTypeRestriction()
Get the input type information
|
UnweightedNeighborhoodAdapter |
instantiate(Relation<? extends O> relation)
Instantiation method.
|
NeighborSetPredicate.Factory<O> inner
public UnweightedNeighborhoodAdapter.Factory(NeighborSetPredicate.Factory<O> inner)
inner
- Actual (unweighted) predicatepublic UnweightedNeighborhoodAdapter instantiate(Relation<? extends O> relation)
WeightedNeighborSetPredicate.Factory
instantiate
in interface WeightedNeighborSetPredicate.Factory<O>
relation
- Relation to instantiate for.public TypeInformation getInputTypeRestriction()
WeightedNeighborSetPredicate.Factory
getInputTypeRestriction
in interface WeightedNeighborSetPredicate.Factory<O>