Package org.hipparchus.optim
Enum LocalizedOptimFormats
- All Implemented Interfaces:
Serializable
,Comparable<LocalizedOptimFormats>
,java.lang.constant.Constable
,Localizable
Enumeration for localized messages formats used in exceptions messages.
The constants in this enumeration represent the available formats as localized strings. These formats are intended to be localized using simple properties files, using the constant name as the key and the property value as the message format. The source English format is provided in the constants themselves to serve both as a reminder for developers to understand the parameters needed by each format, as a basis for translators to create localized properties files, and as a default format if some translation is missing.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCONSTRAINTS_RANK.EQUAL_VERTICES_IN_SIMPLEX.INVALID_IMPLEMENTATION.NO_FEASIBLE_SOLUTION.SIMPLEX_NEED_ONE_POINT.TOO_SMALL_COST_RELATIVE_TOLERANCE.TOO_SMALL_ORTHOGONALITY_TOLERANCE.TOO_SMALL_PARAMETERS_RELATIVE_TOLERANCE.TRUST_REGION_STEP_FAILED.UNABLE_TO_PERFORM_QR_DECOMPOSITION_ON_JACOBIAN.UNABLE_TO_SOLVE_SINGULAR_PROBLEM.UNBOUNDED_SOLUTION. -
Method Summary
Modifier and TypeMethodDescriptiongetLocalizedString
(Locale locale) static LocalizedOptimFormats
Returns the enum constant of this type with the specified name.static LocalizedOptimFormats[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EQUAL_VERTICES_IN_SIMPLEX
EQUAL_VERTICES_IN_SIMPLEX. -
INVALID_IMPLEMENTATION
INVALID_IMPLEMENTATION. -
NO_FEASIBLE_SOLUTION
NO_FEASIBLE_SOLUTION. -
SIMPLEX_NEED_ONE_POINT
SIMPLEX_NEED_ONE_POINT. -
TOO_SMALL_COST_RELATIVE_TOLERANCE
TOO_SMALL_COST_RELATIVE_TOLERANCE. -
TOO_SMALL_ORTHOGONALITY_TOLERANCE
TOO_SMALL_ORTHOGONALITY_TOLERANCE. -
TOO_SMALL_PARAMETERS_RELATIVE_TOLERANCE
TOO_SMALL_PARAMETERS_RELATIVE_TOLERANCE. -
TRUST_REGION_STEP_FAILED
TRUST_REGION_STEP_FAILED. -
UNABLE_TO_PERFORM_QR_DECOMPOSITION_ON_JACOBIAN
UNABLE_TO_PERFORM_QR_DECOMPOSITION_ON_JACOBIAN. -
UNABLE_TO_SOLVE_SINGULAR_PROBLEM
UNABLE_TO_SOLVE_SINGULAR_PROBLEM. -
UNBOUNDED_SOLUTION
UNBOUNDED_SOLUTION. -
CONSTRAINTS_RANK
CONSTRAINTS_RANK.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getSourceString
- Specified by:
getSourceString
in interfaceLocalizable
-
getLocalizedString
- Specified by:
getLocalizedString
in interfaceLocalizable
-