|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hep.aida.ref.optimizer.AbstractOptimizerConfiguration hep.aida.ref.optimizer.minuit.MinuitOptimizerConfiguration
Implementation of IOptimizerConfiguration
Field Summary | |
static int |
HIGH_CALL_STRATEGY
|
static String |
IMPROVE
The methods available in Minuit. |
static int |
LOW_CALL_STRATEGY
The kind of strategies available in Minuit. |
static int |
MEDIUM_CALL_STRATEGY
|
static String |
MIGRAD
|
static String |
MINIMIZE
|
static String |
SEEK
|
static String |
SIMPLEX
|
Fields inherited from interface hep.aida.ext.IOptimizerConfiguration |
CHI2_FIT_ERROR, DEFAULT_ERROR, DETAILED_OUTPUT, LOGL_FIT_ERROR, NO_OUTPUT, NORMAL_OUTPUT |
Constructor Summary | |
MinuitOptimizerConfiguration(MinuitOptimizer optimizer)
Creates a new instance of MinuitOptimizerConfiguration |
Method Summary | |
int |
errorDefinition()
Get the optimizer's error definition. |
protected void |
setDefaults()
|
void |
setErrorDefinition(int errorDefinition)
Tell the optmizer what kind of errors to calculate. |
void |
setMethod(String method)
Set the method to be used by the optimizer in the optimization procedure. |
void |
setPrecision(double precision)
Set the precision required in the optimizer's calculations. |
void |
setPrintLevel(int printLevel)
Set the printout level. |
void |
setStrategy(int strategy)
Set the strategy to be used by the optimizer in the optimization procedure. |
void |
setUseFunctionGradient(boolean useFunctionGradient)
Specify if the optimizer has to use the gradient as provided by the IFunction. |
void |
setUseFunctionHessian(boolean useHessian)
Specify if the optimizer has to use the Hessian as provided by the IFunction. |
Methods inherited from class hep.aida.ref.optimizer.AbstractOptimizerConfiguration |
maxIterations, method, precision, printLevel, setMaxIterations, setTitle, setTolerance, strategy, title, tolerance, useFunctionGradient, useFunctionHessian |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int LOW_CALL_STRATEGY
public static final int MEDIUM_CALL_STRATEGY
public static final int HIGH_CALL_STRATEGY
public static final String IMPROVE
public static final String MIGRAD
public static final String MINIMIZE
public static final String SIMPLEX
public static final String SEEK
Constructor Detail |
public MinuitOptimizerConfiguration(MinuitOptimizer optimizer)
Method Detail |
protected void setDefaults()
public void setErrorDefinition(int errorDefinition)
setErrorDefinition
in interface IOptimizerConfiguration
setErrorDefinition
in class AbstractOptimizerConfiguration
errorDefinition
- The type of error to be calculated.public int errorDefinition()
errorDefinition
in interface IOptimizerConfiguration
errorDefinition
in class AbstractOptimizerConfiguration
public void setMethod(String method)
setMethod
in interface IOptimizerConfiguration
setMethod
in class AbstractOptimizerConfiguration
method
- The method to be adapted.public void setPrecision(double precision)
setPrecision
in interface IOptimizerConfiguration
setPrecision
in class AbstractOptimizerConfiguration
precision
- The precision.
true
if the precision was set succesfully,
false
otherwise.public void setStrategy(int strategy)
setStrategy
in interface IOptimizerConfiguration
setStrategy
in class AbstractOptimizerConfiguration
strategy
- The strategy.public void setUseFunctionGradient(boolean useFunctionGradient)
setUseFunctionGradient
in interface IOptimizerConfiguration
setUseFunctionGradient
in class AbstractOptimizerConfiguration
useFunctionGradient
- true
if the Optimizer has to use the IFunction's
calculation of the gradient, false
otherwise.public void setPrintLevel(int printLevel)
AbstractOptimizerConfiguration
setPrintLevel
in interface IOptimizerConfiguration
setPrintLevel
in class AbstractOptimizerConfiguration
printLevel
- The printout level.
true
if the level was set succesfully,
false
otherwise.public void setUseFunctionHessian(boolean useHessian)
AbstractOptimizerConfiguration
setUseFunctionHessian
in interface IOptimizerConfiguration
setUseFunctionHessian
in class AbstractOptimizerConfiguration
useHessian
- true
if the Optimizer has to use the IFunction's
calculation of the Hessian, false
otherwise.
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |