|
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
Implementation of IOptimizerConfiguration for the AbstractOptimizer implementation
| 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 | |
AbstractOptimizerConfiguration()
|
|
| Method Summary | |
int |
errorDefinition()
Get the optimizer's error definition. |
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. |
double |
precision()
Get the internal precision of the Optimizer. |
int |
printLevel()
Get the printout level. |
void |
setErrorDefinition(int errorDefinition)
Tell the optmizer what kind of errors to calculate. |
void |
setMaxIterations(int maxIterations)
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 |
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 |
setTitle(String title)
Set the title for the current optimization problem. |
void |
setTolerance(double tolerance)
Set the optimizer's tolerance. |
void |
setUseFunctionGradient(boolean useGradient)
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. |
String |
title()
Get the title. |
double |
tolerance()
Get the optimizer's tolerance. |
boolean |
useFunctionGradient()
See if the optimizer uses the IFunction's evaluation of the gradient. |
boolean |
useFunctionHessian()
See if the optimizer uses the IFunction's evaluation of the Hessian. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractOptimizerConfiguration()
| Method Detail |
public void setErrorDefinition(int errorDefinition)
throws IllegalArgumentException
setErrorDefinition in interface IOptimizerConfigurationerrorDefinition - The type of error to be calculated.
IllegalArgumentExceptionpublic int errorDefinition()
errorDefinition in interface IOptimizerConfigurationpublic void setMaxIterations(int maxIterations)
setMaxIterations in interface IOptimizerConfigurationmaxIterations - The maximum number of iterations.public int maxIterations()
maxIterations in interface IOptimizerConfigurationpublic void setMethod(String method)
setMethod in interface IOptimizerConfigurationmethod - The method to be adapted.public String method()
method in interface IOptimizerConfigurationpublic void setPrecision(double precision)
setPrecision in interface IOptimizerConfigurationprecision - The precision.
true if the precision was set succesfully,
false otherwise.public double precision()
precision in interface IOptimizerConfigurationpublic void setPrintLevel(int printLevel)
setPrintLevel in interface IOptimizerConfigurationprintLevel - The printout level.
true if the level was set succesfully,
false otherwise.public int printLevel()
printLevel in interface IOptimizerConfigurationpublic void setStrategy(int strategy)
setStrategy in interface IOptimizerConfigurationstrategy - The strategy.public int strategy()
strategy in interface IOptimizerConfigurationpublic void setTitle(String title)
setTitle in interface IOptimizerConfigurationtitle - The title.public String title()
title in interface IOptimizerConfigurationpublic void setTolerance(double tolerance)
setTolerance in interface IOptimizerConfigurationtolerance - The tolerance.
true if the tolerance was set succesfully,
false otherwise.public double tolerance()
tolerance in interface IOptimizerConfigurationpublic void setUseFunctionGradient(boolean useGradient)
setUseFunctionGradient in interface IOptimizerConfigurationuseGradient - true if the Optimizer has to use the IFunction's
calculation of the gradient, false otherwise.public boolean useFunctionGradient()
useFunctionGradient in interface IOptimizerConfigurationtrue if the optimizer uses the IFunction's evaluation of the gradient.public void setUseFunctionHessian(boolean useHessian)
setUseFunctionHessian in interface IOptimizerConfigurationuseHessian - true if the Optimizer has to use the IFunction's
calculation of the Hessian, false otherwise.public boolean useFunctionHessian()
useFunctionHessian in interface IOptimizerConfigurationtrue if the optimizer uses the IFunction's evaluation of the Hessian.
|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||