Package org.goplanit.gap
Class NormBasedGapConfigurator
- java.lang.Object
-
- org.goplanit.utils.builder.Configurator<T>
-
- org.goplanit.gap.GapFunctionConfigurator<NormBasedGapFunction>
-
- org.goplanit.gap.NormBasedGapConfigurator
-
public class NormBasedGapConfigurator extends GapFunctionConfigurator<NormBasedGapFunction>
Norm based gap function configurator- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
SET_AVERAGED
delayed call to apply for setting averaged option on gap functionprotected static String
SET_NORM
delayed call to apply for setting norm option on gap function-
Fields inherited from class org.goplanit.gap.GapFunctionConfigurator
stopCriterionConfigurator
-
Fields inherited from class org.goplanit.utils.builder.Configurator
delayedMethodCalls
-
-
Constructor Summary
Constructors Constructor Description NormBasedGapConfigurator()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setAveraged(boolean averaged)
Set the averaged property indicating to average the gap after computation or notvoid
setNorm(int norm)
Set the norm property indicating what norm to apply when computing the gap-
Methods inherited from class org.goplanit.gap.GapFunctionConfigurator
configure, getStopCriterion
-
Methods inherited from class org.goplanit.utils.builder.Configurator
callVoidMethod, collectParameterTypes, getClassTypeToConfigure, getFirstParameterOfDelayedMethodCall, registerDelayedMethodCall
-
-
-
-
Field Detail
-
SET_AVERAGED
protected static final String SET_AVERAGED
delayed call to apply for setting averaged option on gap function- See Also:
- Constant Field Values
-
SET_NORM
protected static final String SET_NORM
delayed call to apply for setting norm option on gap function- See Also:
- Constant Field Values
-
-
Method Detail
-
setAveraged
public void setAveraged(boolean averaged)
Set the averaged property indicating to average the gap after computation or not- Parameters:
averaged
- when true it is averaged, false otherwise
-
setNorm
public void setNorm(int norm)
Set the norm property indicating what norm to apply when computing the gap- Parameters:
norm
- to apply
-
-