|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static int |
CHI2_FIT_ERROR
|
static int |
DEFAULT_ERROR
The error definition for the optimizers. |
static int |
DETAILED_OUTPUT
|
static int |
LOGL_FIT_ERROR
|
static int |
NO_OUTPUT
The printout levels for the optimizer. |
static int |
NORMAL_OUTPUT
|
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 errDef)
Tell the optmizer what kind of errors to calculate. |
void |
setMaxIterations(int maxIter)
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. |
Field Detail |
public static final int DEFAULT_ERROR
public static final int CHI2_FIT_ERROR
public static final int LOGL_FIT_ERROR
public static final int NO_OUTPUT
public static final int NORMAL_OUTPUT
public static final int DETAILED_OUTPUT
Method Detail |
public void setTolerance(double tolerance) throws IllegalArgumentException
tolerance
- The tolerance.
true
if the tolerance was set succesfully,
false
otherwise.
IllegalArgumentException
public double tolerance()
public void setPrecision(double precision) throws IllegalArgumentException
precision
- The precision.
true
if the precision was set succesfully,
false
otherwise.
IllegalArgumentException
public double precision()
public void setErrorDefinition(int errDef) throws IllegalArgumentException
errDef
- The type of error to be calculated.
IllegalArgumentException
public int errorDefinition()
public void setMaxIterations(int maxIter) throws IllegalArgumentException
maxIter
- The maximum number of iterations.
IllegalArgumentException
public int maxIterations()
public void setPrintLevel(int printLevel) throws IllegalArgumentException
printLevel
- The printout level.
true
if the level was set succesfully,
false
otherwise.
IllegalArgumentException
public int printLevel()
public void setTitle(String title)
title
- The title.public String title()
public void setUseFunctionGradient(boolean useGradient)
useGradient
- true
if the Optimizer has to use the IFunction's
calculation of the gradient, false
otherwise.public boolean useFunctionGradient()
true
if the optimizer uses the IFunction's evaluation of the gradient.public void setUseFunctionHessian(boolean useHessian)
useHessian
- true
if the Optimizer has to use the IFunction's
calculation of the Hessian, false
otherwise.public boolean useFunctionHessian()
true
if the optimizer uses the IFunction's evaluation of the Hessian.public void setStrategy(int strategy) throws IllegalArgumentException
strategy
- The strategy.
IllegalArgumentException
public int strategy()
public void setMethod(String method) throws IllegalArgumentException
method
- The method to be adapted.
IllegalArgumentException
public String method()
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |