| Modifier and Type | Class and Description |
|---|---|
| private static class | AbstractOptimizationProblem.
Defines the action to perform when reaching the maximum number of evaluations. |
| private static class | AbstractOptimizationProblem.
Defines the action to perform when reaching the maximum number of evaluations. |
| Modifier and Type | Field and Description |
|---|---|
| private final ConvergenceChecker | checker
Convergence checker. |
| private static final AbstractOptimizationProblem. | MAX_EVAL_CALLBACK
Callback to use for the evaluation counter. |
| private static final AbstractOptimizationProblem. | MAX_ITER_CALLBACK
Callback to use for the iteration counter. |
| private final int | maxEvaluations
max evaluations |
| private final int | maxIterations
max iterations |
| Access | Constructor and Description |
|---|---|
| protected | AbstractOptimizationProblem(final int
the number of allowed model function evaluations. maxEvaluations, final int the number of allowed iterations. maxIterations, final ConvergenceChecker<PAIR> the convergence checker. checker)Create an |
| Modifier and Type | Method and Description |
|---|---|
| public ConvergenceChecker | getConvergenceChecker()
Implements org. Gets the convergence checker. |
| public Incrementor | getEvaluationCounter()
Implements org.
Deprecated
as a consequence of
Incrementor being deprecated.
Get a independent Incrementor that counts up to the maximum number of evaluations and then throws an exception. |
| public Incrementor | getIterationCounter()
Implements org.
Deprecated
as a consequence of
Incrementor being deprecated.
Get a independent Incrementor that counts up to the maximum number of iterations and then throws an exception. |
| checker | back to summary |
|---|---|
| private final ConvergenceChecker<PAIR> checker Convergence checker. | |
| MAX_EVAL_CALLBACK | back to summary |
|---|---|
| private static final AbstractOptimizationProblem. Callback to use for the evaluation counter. | |
| MAX_ITER_CALLBACK | back to summary |
|---|---|
| private static final AbstractOptimizationProblem. Callback to use for the iteration counter. | |
| maxEvaluations | back to summary |
|---|---|
| private final int maxEvaluations max evaluations | |
| maxIterations | back to summary |
|---|---|
| private final int maxIterations max iterations | |
| AbstractOptimizationProblem | back to summary |
|---|---|
| protected AbstractOptimizationProblem(final int maxEvaluations, final int maxIterations, final ConvergenceChecker<PAIR> checker) Create an
| |
| getConvergenceChecker | back to summary |
|---|---|
| public ConvergenceChecker Implements org. Doc from org. Gets the convergence checker.
| |
| getEvaluationCounter | back to summary |
|---|---|
| public Incrementor getEvaluationCounter() Implements org. Doc from org. Deprecated as a consequence of Get a independent Incrementor that counts up to the maximum number of evaluations and then throws an exception.
| |
| getIterationCounter | back to summary |
|---|---|
| public Incrementor getIterationCounter() Implements org. Doc from org. Deprecated as a consequence of Get a independent Incrementor that counts up to the maximum number of iterations and then throws an exception.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | trigger(int
Maximal count. max)Implements org. Function called when the maximal count has been reached. |
| MaxEvalCallback | back to summary |
|---|---|
| private MaxEvalCallback() | |
| trigger | back to summary |
|---|---|
| public void trigger(int max) Implements org. Doc from org. Function called when the maximal count has been reached.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | trigger(int
Maximal count. max)Implements org. Function called when the maximal count has been reached. |
| MaxIterCallback | back to summary |
|---|---|
| private MaxIterCallback() | |
| trigger | back to summary |
|---|---|
| public void trigger(int max) Implements org. Doc from org. Function called when the maximal count has been reached.
| |