|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Optimizer.TerminationCondition>
de.jstacs.algorithms.optimization.Optimizer.TerminationCondition
public static enum Optimizer.TerminationCondition
This enum
defines all kinds of termination conditions for
the Optimizer
.
Enum Constant Summary | |
---|---|
ABSOLUTE_VALUE
Deprecated. |
|
ITERATIONS
The optimization method will stop if the number of iteration reaches a given number. |
|
SMALL_DIFFERENCE_OF_FUNCTION_EVALUATIONS
The optimization method will stop if the difference of the current and the last function evaluations will be small. |
|
SMALL_GRADIENT
The optimization method will stop if the scalar product of the gradient will be small. |
|
SMALL_STEP
The optimization method will stop if the scalar product of the current and the last values of x will be small. |
|
TIME
The optimization method will stop if the elapsed time in seconds is greater than a given value or the difference between two function valuations become very small (less than 1E-13 ). |
Method Summary | |
---|---|
static Optimizer.TerminationCondition |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Optimizer.TerminationCondition[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Optimizer.TerminationCondition SMALL_GRADIENT
\nabla f(x_i))^T \nabla f(x_i) < eps
)
public static final Optimizer.TerminationCondition SMALL_STEP
x
will be small. x_i-x_{i-1})^T (x_i-x_{i-1}) < eps
)
public static final Optimizer.TerminationCondition SMALL_DIFFERENCE_OF_FUNCTION_EVALUATIONS
f(x_{i-1}) - f(x_i) < eps
)
public static final Optimizer.TerminationCondition ITERATIONS
i = eps
)
public static final Optimizer.TerminationCondition TIME
1E-13
).
public static final Optimizer.TerminationCondition ABSOLUTE_VALUE
f(x_i) <= eps
)
Method Detail |
---|
public static final Optimizer.TerminationCondition[] values()
for(Optimizer.TerminationCondition c : Optimizer.TerminationCondition.values()) System.out.println(c);
public static Optimizer.TerminationCondition valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |