|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AbstractPopulation.SelectionMethod>
geneticWedge.gp.AbstractPopulation.SelectionMethod
public static enum AbstractPopulation.SelectionMethod
SelectionMethod determines how Individuals are selected for breeding.
Enum Constant Summary | |
---|---|
FITNESS_PROPORTIONAL
Fitness proportional selection uses a simple roulette wheel technique to select Individuals. |
|
FUSS
FUSS stands for 'fitness uniform selection scheme'. |
|
RANDOM
Random selection |
|
RANK
Rank selection selects Individuals according to their rankings within a Population |
|
TOURNAMENT
Tournament selection selects the best Individual from within a randomly chosen pool (tournament) of Individuals. |
|
TRUNCATION
Truncation Selection breeds a number of Individuals using a pool of parents and then selects the best offspring to go into the nexy generation. |
Method Summary | |
---|---|
static AbstractPopulation.SelectionMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AbstractPopulation.SelectionMethod[] |
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 AbstractPopulation.SelectionMethod RANDOM
public static final AbstractPopulation.SelectionMethod FITNESS_PROPORTIONAL
public static final AbstractPopulation.SelectionMethod RANK
public static final AbstractPopulation.SelectionMethod TOURNAMENT
public static final AbstractPopulation.SelectionMethod TRUNCATION
public static final AbstractPopulation.SelectionMethod FUSS
Method Detail |
---|
public static final AbstractPopulation.SelectionMethod[] values()
for(AbstractPopulation.SelectionMethod c : AbstractPopulation.SelectionMethod.values()) System.out.println(c);
public static AbstractPopulation.SelectionMethod 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 |