hep.aida.ref.optimizer.uncmin
Class UncminOptimizerConfiguration
- java.lang.Object
-
- hep.aida.ref.optimizer.AbstractOptimizerConfiguration
-
- hep.aida.ref.optimizer.uncmin.UncminOptimizerConfiguration
-
- All Implemented Interfaces:
- IOptimizerConfiguration
public class UncminOptimizerConfiguration extends AbstractOptimizerConfiguration
Implementation of IOptimizerConfiguration for the Uncmin optimizer
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringDOUBLE_DOGLEGstatic intHIGH_CALL_STRATEGYstatic intHIGH_CALL_STRATEGY_CHECKstatic java.lang.StringLINE_SEARCHThe methods available in Uncmin.static intLOW_CALL_STRATEGYThe kind of strategies available in Uncmin.static intLOW_CALL_STRATEGY_CHECKstatic java.lang.StringMORE_HEBDON-
Fields inherited from interface hep.aida.ext.IOptimizerConfiguration
CHI2_FIT_ERROR, DEFAULT_ERROR, DETAILED_OUTPUT, LOGL_FIT_ERROR, NO_OUTPUT, NORMAL_OUTPUT
-
-
Constructor Summary
Constructors Constructor and Description UncminOptimizerConfiguration()Creates a new instance of UncminOptimizerConfiguration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description interrorDefinition()Get the optimizer's error definition.voidsetErrorDefinition(int errorDefinition)Tell the optmizer what kind of errors to calculate.voidsetMethod(java.lang.String method)Set the method to be used by the optimizer in the optimization procedure.voidsetPrecision(double precision)Set the precision required in the optimizer's calculations.voidsetStrategy(int strategy)Set the strategy to be used by the optimizer in the optimization procedure.-
Methods inherited from class hep.aida.ref.optimizer.AbstractOptimizerConfiguration
maxIterations, method, precision, printLevel, setMaxIterations, setPrintLevel, setTitle, setTolerance, setUseFunctionGradient, setUseFunctionHessian, strategy, title, tolerance, useFunctionGradient, useFunctionHessian
-
-
-
-
Field Detail
-
LINE_SEARCH
public static final java.lang.String LINE_SEARCH
The methods available in Uncmin.- See Also:
- Constant Field Values
-
DOUBLE_DOGLEG
public static final java.lang.String DOUBLE_DOGLEG
- See Also:
- Constant Field Values
-
MORE_HEBDON
public static final java.lang.String MORE_HEBDON
- See Also:
- Constant Field Values
-
LOW_CALL_STRATEGY
public static final int LOW_CALL_STRATEGY
The kind of strategies available in Uncmin. With the LOW_CALL_STRATEGY (default) the Hessian is evaluated by secant update rather than analytically or by finite difference. The option with "_CHECK" enables some authomatic checks.- See Also:
- Constant Field Values
-
HIGH_CALL_STRATEGY
public static final int HIGH_CALL_STRATEGY
- See Also:
- Constant Field Values
-
LOW_CALL_STRATEGY_CHECK
public static final int LOW_CALL_STRATEGY_CHECK
- See Also:
- Constant Field Values
-
HIGH_CALL_STRATEGY_CHECK
public static final int HIGH_CALL_STRATEGY_CHECK
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UncminOptimizerConfiguration
public UncminOptimizerConfiguration()
Creates a new instance of UncminOptimizerConfiguration
-
-
Method Detail
-
setMethod
public void setMethod(java.lang.String method)
Set the method to be used by the optimizer in the optimization procedure.- Specified by:
setMethodin interfaceIOptimizerConfiguration- Overrides:
setMethodin classAbstractOptimizerConfiguration- Parameters:
method- The method to be adapted.
-
setStrategy
public void setStrategy(int strategy)
Set the strategy to be used by the optimizer in the optimization procedure.- Specified by:
setStrategyin interfaceIOptimizerConfiguration- Overrides:
setStrategyin classAbstractOptimizerConfiguration- Parameters:
strategy- The strategy.
-
setPrecision
public void setPrecision(double precision)
Description copied from class:AbstractOptimizerConfigurationSet the precision required in the optimizer's calculations. The highest possible is the machine's precision.- Specified by:
setPrecisionin interfaceIOptimizerConfiguration- Overrides:
setPrecisionin classAbstractOptimizerConfiguration- Parameters:
precision- The precision.
-
setErrorDefinition
public void setErrorDefinition(int errorDefinition) throws java.lang.IllegalArgumentExceptionDescription copied from class:AbstractOptimizerConfigurationTell the optmizer what kind of errors to calculate.- Specified by:
setErrorDefinitionin interfaceIOptimizerConfiguration- Overrides:
setErrorDefinitionin classAbstractOptimizerConfiguration- Parameters:
errorDefinition- The type of error to be calculated.- Throws:
java.lang.IllegalArgumentException
-
errorDefinition
public int errorDefinition()
Description copied from class:AbstractOptimizerConfigurationGet the optimizer's error definition.- Specified by:
errorDefinitionin interfaceIOptimizerConfiguration- Overrides:
errorDefinitionin classAbstractOptimizerConfiguration- Returns:
- The error definition.
-
-
DMelt 3.0 © DataMelt by jWork.ORG