|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PopulationDescriptor.PopulationGrowMethod>
geneticWedge.gp.PopulationDescriptor.PopulationGrowMethod
public static enum PopulationDescriptor.PopulationGrowMethod
PopulationGrowMethod determines the method used to 'grow' the Individuals within a Population
Enum Constant Summary | |
---|---|
FULL
If the FULL method is used to create trees, Terminals are only used when the maximum tree depth is reached. |
|
GROW
The GROW method selects Terminals and Functions randomly. |
|
RAMPED_HALF_AND_HALF
The RAMPED_HALF_AND_HALF method creates a mixture of trees by combining the GROW and FULL methods and by using varying tree depths between the maximum and minimum tree depths. |
Method Summary | |
---|---|
static PopulationDescriptor.PopulationGrowMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PopulationDescriptor.PopulationGrowMethod[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PopulationDescriptor.PopulationGrowMethod GROW
public static final PopulationDescriptor.PopulationGrowMethod FULL
public static final PopulationDescriptor.PopulationGrowMethod RAMPED_HALF_AND_HALF
Method Detail |
---|
public static final PopulationDescriptor.PopulationGrowMethod[] values()
for(PopulationDescriptor.PopulationGrowMethod c : PopulationDescriptor.PopulationGrowMethod.values()) System.out.println(c);
public static PopulationDescriptor.PopulationGrowMethod 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |