public static class LinearWeightedExtendedNeighborhood.Factory<O> extends Object implements WeightedNeighborSetPredicate.Factory<O>
Modifier and Type | Class and Description |
---|---|
static class |
LinearWeightedExtendedNeighborhood.Factory.Parameterizer<O>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private NeighborSetPredicate.Factory<O> |
inner
Inner neighbor set predicate
|
private int |
steps
Number of steps to do
|
Constructor and Description |
---|
LinearWeightedExtendedNeighborhood.Factory(NeighborSetPredicate.Factory<O> inner,
int steps)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TypeInformation |
getInputTypeRestriction()
Get the input type information
|
LinearWeightedExtendedNeighborhood |
instantiate(Relation<? extends O> database)
Instantiation method.
|
private NeighborSetPredicate.Factory<O> inner
private int steps
public LinearWeightedExtendedNeighborhood.Factory(NeighborSetPredicate.Factory<O> inner, int steps)
inner
- Inner neighbor set predicatesteps
- Number of steps to dopublic LinearWeightedExtendedNeighborhood instantiate(Relation<? extends O> database)
WeightedNeighborSetPredicate.Factory
instantiate
in interface WeightedNeighborSetPredicate.Factory<O>
database
- Relation to instantiate for.public TypeInformation getInputTypeRestriction()
WeightedNeighborSetPredicate.Factory
getInputTypeRestriction
in interface WeightedNeighborSetPredicate.Factory<O>