public static enum Individual.State extends java.lang.Enum<Individual.State>
Individual
.Enum Constant and Description |
---|
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. it is decoded.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 namejava.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