|
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.fmin.FminOptimizerConfiguration
Implementation of IOptimizerConfiguration for the Fmin optimizer
Field Summary | |
static String |
FMIN
The methods available in Fmin. |
Fields inherited from interface hep.aida.ext.IOptimizerConfiguration |
CHI2_FIT_ERROR, DEFAULT_ERROR, DETAILED_OUTPUT, LOGL_FIT_ERROR, NO_OUTPUT, NORMAL_OUTPUT |
Constructor Summary | |
FminOptimizerConfiguration()
Creates a new instance of FminOptimizerConfiguration |
Method Summary | |
int |
maxIterations()
Get the maximum number of iterations allowed before exiting the optimization procedure. |
void |
setMaxIterations(int iterations)
Set the maximum number of iterations to be performed in the optimization procedure. |
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 |
setStrategy(int strategy)
Set the strategy to be used by the optimizer in the optimization procedure. |
void |
setUseFunctionGradient(boolean useFG)
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. |
int |
strategy()
Get the strategy used by the optimizer in the optimization procedure. |
Methods inherited from class hep.aida.ref.optimizer.AbstractOptimizerConfiguration |
errorDefinition, method, precision, printLevel, setErrorDefinition, setPrintLevel, setTitle, setTolerance, 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 String FMIN
Constructor Detail |
public FminOptimizerConfiguration()
Method Detail |
public void setMethod(String method)
setMethod
in interface IOptimizerConfiguration
setMethod
in class AbstractOptimizerConfiguration
method
- The method to be adapted.public void setMaxIterations(int iterations)
AbstractOptimizerConfiguration
setMaxIterations
in interface IOptimizerConfiguration
setMaxIterations
in class AbstractOptimizerConfiguration
iterations
- The maximum number of iterations.public int maxIterations()
AbstractOptimizerConfiguration
maxIterations
in interface IOptimizerConfiguration
maxIterations
in class AbstractOptimizerConfiguration
public void setUseFunctionGradient(boolean useFG)
AbstractOptimizerConfiguration
setUseFunctionGradient
in interface IOptimizerConfiguration
setUseFunctionGradient
in class AbstractOptimizerConfiguration
useFG
- true
if the Optimizer has to use the IFunction's
calculation of the gradient, false
otherwise.public void setStrategy(int strategy)
AbstractOptimizerConfiguration
setStrategy
in interface IOptimizerConfiguration
setStrategy
in class AbstractOptimizerConfiguration
strategy
- The strategy.public int strategy()
AbstractOptimizerConfiguration
strategy
in interface IOptimizerConfiguration
strategy
in class AbstractOptimizerConfiguration
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.public void setPrecision(double precision)
AbstractOptimizerConfiguration
setPrecision
in interface IOptimizerConfiguration
setPrecision
in class AbstractOptimizerConfiguration
precision
- The precision.
true
if the precision was set succesfully,
false
otherwise.
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |