public static class LinearWeightedExtendedNeighborhood.Factory.Parameterizer<O> extends AbstractParameterizer
Modifier and Type | Field and Description |
---|---|
private NeighborSetPredicate.Factory<O> |
inner
Inner neighbor set predicate
|
static OptionID |
NEIGHBORHOOD_ID
Parameter to specify the neighborhood predicate to use.
|
private int |
steps
The number of steps to do.
|
static OptionID |
STEPS_ID
Parameter to specify the number of steps allowed
|
Constructor and Description |
---|
LinearWeightedExtendedNeighborhood.Factory.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected static <O> NeighborSetPredicate.Factory<O> |
getParameterInnerNeighborhood(Parameterization config)
Inner neighborhood parameter.
|
static int |
getParameterSteps(Parameterization config)
Get the number of steps to do in the neighborhood graph.
|
protected LinearWeightedExtendedNeighborhood.Factory<O> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID NEIGHBORHOOD_ID
public static final OptionID STEPS_ID
private int steps
private NeighborSetPredicate.Factory<O> inner
public LinearWeightedExtendedNeighborhood.Factory.Parameterizer()
protected static <O> NeighborSetPredicate.Factory<O> getParameterInnerNeighborhood(Parameterization config)
config
- Parameterizationprotected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.public static int getParameterSteps(Parameterization config)
config
- Parameterizationprotected LinearWeightedExtendedNeighborhood.Factory<O> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer