|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ProblemDomain.HeuristicType>
AbstractClasses.ProblemDomain.HeuristicType
public static enum ProblemDomain.HeuristicType
An enumeration of the different types of low-level heuristics implemented in the software. The set of all heuristics of a certain type can be obtained through methods in the ProblemDomain class.
Enum Constant Summary | |
---|---|
CROSSOVER
A heuristic which combines two solutions to produce a one solution. |
|
LOCAL_SEARCH
A local search heuristic. |
|
MUTATION
A heuristic which randomly mutates a solution. |
|
OTHER
A heuristic which does not fall into any of the other categories. |
|
RUIN_RECREATE
A perturbation type heuristic which ruins part of a solution and then attempts to recreate/repair it. |
Method Summary | |
---|---|
static ProblemDomain.HeuristicType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ProblemDomain.HeuristicType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ProblemDomain.HeuristicType MUTATION
public static final ProblemDomain.HeuristicType CROSSOVER
public static final ProblemDomain.HeuristicType RUIN_RECREATE
public static final ProblemDomain.HeuristicType LOCAL_SEARCH
public static final ProblemDomain.HeuristicType OTHER
Method Detail |
---|
public static ProblemDomain.HeuristicType[] values()
for (ProblemDomain.HeuristicType c : ProblemDomain.HeuristicType.values()) System.out.println(c);
public static ProblemDomain.HeuristicType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |