|
FreeHEP API Version v1.2.2 |
|||||||||
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.minpack.MinpackOptimizerConfiguration
Implementation of IOptimizerConfiguration for the Minpack optimizer
Field Summary |
Fields inherited from interface hep.aida.ext.IOptimizerConfiguration |
CHI2_FIT_ERROR, DEFAULT_ERROR, DETAILED_OUTPUT, LOGL_FIT_ERROR, NO_OUTPUT, NORMAL_OUTPUT |
Constructor Summary | |
MinpackOptimizerConfiguration()
Creates a new instance of MinpackOptimizerConfiguration |
Method Summary | |
int |
maxIterations()
Get the maximum number of iterations allowed before exiting the optimization procedure. |
String |
method()
Get the method used by the optimizer in 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, 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 |
Constructor Detail |
public MinpackOptimizerConfiguration()
Method Detail |
public void setMaxIterations(int iterations)
AbstractOptimizerConfiguration
setMaxIterations
in interface IOptimizerConfiguration
setMaxIterations
in class AbstractOptimizerConfiguration
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
public void setMethod(String method)
AbstractOptimizerConfiguration
setMethod
in interface IOptimizerConfiguration
setMethod
in class AbstractOptimizerConfiguration
method
- The method to be adapted.public String method()
AbstractOptimizerConfiguration
method
in interface IOptimizerConfiguration
method
in class AbstractOptimizerConfiguration
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 v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |