Enum Class ProblemType
- All Implemented Interfaces:
Serializable,Comparable<ProblemType>,Constable
Problem Type Enumeration
Enumeration of the supported evolutionary problems
- Version:
- 1.0
- Author:
- Bruno Guiomar
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSanta Fe Trail problem using artificial ant optimization11-bit Multiplexer problem (fast algorithm)Lawn Mower problem with 8 by 8 blocksNewcomb's paradox (two box problem) -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final Stringprivate final ParameterGroupType[]private final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateProblemType(ParameterGroupType[] parameterGroupList, String code, String fullName, String type) -
Method Summary
Modifier and TypeMethodDescriptiongetCode()toString()static ProblemTypeReturns the enum constant of this class with the specified name.static ProblemType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TWO_BOX
Newcomb's paradox (two box problem) -
ARTIFICIAL_ANT_SANTA_FE
Santa Fe Trail problem using artificial ant optimization -
LAWN_MOWER_8X8
Lawn Mower problem with 8 by 8 blocks -
BOOL_11_MULTIPLEXER_FAST
11-bit Multiplexer problem (fast algorithm)
-
-
Field Details
-
parameterGroupList
-
code
-
fullName
-
type
-
-
Constructor Details
-
ProblemType
private ProblemType(ParameterGroupType[] parameterGroupList, String code, String fullName, String type)
-
-
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
-
toString
- Overrides:
toStringin classEnum<ProblemType>
-
getParameterGroups
-
getCode
-