org.dllearner.algorithms.gp
Enum GP.AlgorithmType
java.lang.Object
java.lang.Enum<GP.AlgorithmType>
org.dllearner.algorithms.gp.GP.AlgorithmType
- All Implemented Interfaces:
- Serializable, Comparable<GP.AlgorithmType>
- Enclosing class:
- GP
public static enum GP.AlgorithmType
- extends Enum<GP.AlgorithmType>
|
Enum Constant Summary |
GENERATIONAL
This is a type of algorithm, where the offspring completely replaces the
previous generation. |
STEADY_STATE
In this type of algorithm offspring is produced by a number of indivuals. |
GENERATIONAL
public static final GP.AlgorithmType GENERATIONAL
- This is a type of algorithm, where the offspring completely replaces the
previous generation.
STEADY_STATE
public static final GP.AlgorithmType STEADY_STATE
- In this type of algorithm offspring is produced by a number of indivuals.
The offspring then replaces the weakest individuals of the previous
generation.
values
public static GP.AlgorithmType[] 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.AlgorithmType c : GP.AlgorithmType.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.AlgorithmType 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