org.dllearner.algorithms.gp
Enum GP.SelectionType
java.lang.Object
java.lang.Enum<GP.SelectionType>
org.dllearner.algorithms.gp.GP.SelectionType
- All Implemented Interfaces:
- Serializable, Comparable<GP.SelectionType>
- Enclosing class:
- GP
public static enum GP.SelectionType
- extends Enum<GP.SelectionType>
|
Enum Constant Summary |
FPS
FPS (Fitness Proportionate Selection) is a selection type, where the
probability of being selected is proportional to the fitness of an
individual. |
RANK_SELECTION
Rank selection is a selection type, where the probability of being
selected depends only on the order of the fitness of all individuals. |
TOURNAMENT_SELECTION
|
RANK_SELECTION
public static final GP.SelectionType RANK_SELECTION
- Rank selection is a selection type, where the probability of being
selected depends only on the order of the fitness of all individuals.
FPS
public static final GP.SelectionType FPS
- FPS (Fitness Proportionate Selection) is a selection type, where the
probability of being selected is proportional to the fitness of an
individual.
TOURNAMENT_SELECTION
public static final GP.SelectionType TOURNAMENT_SELECTION
values
public static GP.SelectionType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (GP.SelectionType c : GP.SelectionType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GP.SelectionType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann