org.dllearner.algorithms.gp
Enum GP.AlgorithmType

java.lang.Object
  extended by java.lang.Enum<GP.AlgorithmType>
      extended by 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.
 
Method Summary
static GP.AlgorithmType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GP.AlgorithmType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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.

Method Detail

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


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann