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