|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthep.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 IOptimizerConfigurationsetMethod in class AbstractOptimizerConfigurationmethod - The method to be adapted.public void setMaxIterations(int iterations)
AbstractOptimizerConfiguration
setMaxIterations in interface IOptimizerConfigurationsetMaxIterations in class AbstractOptimizerConfigurationiterations - The maximum number of iterations.public int maxIterations()
AbstractOptimizerConfiguration
maxIterations in interface IOptimizerConfigurationmaxIterations in class AbstractOptimizerConfigurationpublic void setUseFunctionGradient(boolean useFG)
AbstractOptimizerConfiguration
setUseFunctionGradient in interface IOptimizerConfigurationsetUseFunctionGradient in class AbstractOptimizerConfigurationuseFG - 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 IOptimizerConfigurationsetStrategy in class AbstractOptimizerConfigurationstrategy - The strategy.public int strategy()
AbstractOptimizerConfiguration
strategy in interface IOptimizerConfigurationstrategy in class AbstractOptimizerConfigurationpublic void setUseFunctionHessian(boolean useHessian)
AbstractOptimizerConfiguration
setUseFunctionHessian in interface IOptimizerConfigurationsetUseFunctionHessian in class AbstractOptimizerConfigurationuseHessian - 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 IOptimizerConfigurationsetPrecision in class AbstractOptimizerConfigurationprecision - 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 | |||||||||