Package de.labathome.trustconstr.enums
Enum Class PCGStoppingCondition
- All Implemented Interfaces:
Serializable,Comparable<PCGStoppingCondition>,Constable
Why projected-CG terminated on the most recent inner solve.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription1: Iteration limit was reached.3: Negative curvature detected.0: CG subproblem not evaluated.4: Tolerance was satisfied.2: Reached the trust-region boundary. -
Method Summary
Modifier and TypeMethodDescriptionstatic PCGStoppingConditionReturns the enum constant of this class with the specified name.static PCGStoppingCondition[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_EVALUATED
0: CG subproblem not evaluated. -
ITER_LIMIT_REACHED
1: Iteration limit was reached. -
TRUST_REGION_BOUNDARY_REACHED
2: Reached the trust-region boundary. -
NEGATIVE_CURVATURE
3: Negative curvature detected. -
TOLERANCE_SATISFIED
4: Tolerance was satisfied.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-