|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Individual.State>
org.opt4j.core.Individual.State
public static enum Individual.State
The possible states of an Individual.
| Enum Constant Summary | |
|---|---|
DECODING
Individual is currently being decoded. |
|
EMPTY
Initial state. |
|
EVALUATED
Individual is evaluated. |
|
EVALUATING
Individual is currently being evaluated. |
|
GENOTYPED
Individual has a Genotype. |
|
PHENOTYPED
Individual has a Phenotype, i.e. |
|
| Method Summary | |
|---|---|
boolean |
isDecoded()
Returns true if the individual is decoded in the current
state. |
boolean |
isEvaluated()
Returns true if the individual is evaluated in the current
state. |
boolean |
isProcessing()
Returns true if the individual is processing in the current
state. |
java.lang.String |
toString()
Returns the specific name of the state. |
static Individual.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Individual.State[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Individual.State EMPTY
public static final Individual.State GENOTYPED
Genotype.
public static final Individual.State DECODING
public static final Individual.State PHENOTYPED
public static final Individual.State EVALUATING
public static final Individual.State EVALUATED
| Method Detail |
|---|
public static Individual.State[] values()
for (Individual.State c : Individual.State.values()) System.out.println(c);
public static Individual.State 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 nullpublic java.lang.String toString()
toString in class java.lang.Enum<Individual.State>public boolean isDecoded()
true if the individual is decoded in the current
state.
true if the individual is decoded in the current
statepublic boolean isEvaluated()
true if the individual is evaluated in the current
state.
true if the individual is evaluated in the current
statepublic boolean isProcessing()
true if the individual is processing in the current
state.
true if the individual is processing in the current
state
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||