geneticWedge.gp.dataAnalysis
Enum DataAcquirer.ScalarData

java.lang.Object
  extended by java.lang.Enum<DataAcquirer.ScalarData>
      extended by geneticWedge.gp.dataAnalysis.DataAcquirer.ScalarData
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DataAcquirer.ScalarData>
Enclosing class:
DataAcquirer

public static enum DataAcquirer.ScalarData
extends java.lang.Enum<DataAcquirer.ScalarData>

ScalarData refer to scalar properties of an Individual. They may be contrasted with VectorData which are vector quantities referring to the balance of components within Individuals


Enum Constant Summary
PROGRAM_DEPTH
          PROGRAM_DEPTH is the depth of a tree.
PROGRAM_DIVERSITY_DISTANCE
          PROGRAM_DIVERSITY_DISTANCE is the average genotypic distance of an Individual from all other members of the Population.
PROGRAM_FITNESS
          PROGRAM_FITNESS is the fitness of an Individual, as determined by the FitnessFunction of the Population.
PROGRAM_LENGTH
          PROGRAM_LENGTH is the number of nodes within a tree.
 
Method Summary
static DataAcquirer.ScalarData valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DataAcquirer.ScalarData[] 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

PROGRAM_LENGTH

public static final DataAcquirer.ScalarData PROGRAM_LENGTH
PROGRAM_LENGTH is the number of nodes within a tree.


PROGRAM_DEPTH

public static final DataAcquirer.ScalarData PROGRAM_DEPTH
PROGRAM_DEPTH is the depth of a tree.


PROGRAM_FITNESS

public static final DataAcquirer.ScalarData PROGRAM_FITNESS
PROGRAM_FITNESS is the fitness of an Individual, as determined by the FitnessFunction of the Population.


PROGRAM_DIVERSITY_DISTANCE

public static final DataAcquirer.ScalarData PROGRAM_DIVERSITY_DISTANCE
PROGRAM_DIVERSITY_DISTANCE is the average genotypic distance of an Individual from all other members of the Population.

Method Detail

values

public static final DataAcquirer.ScalarData[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(DataAcquirer.ScalarData c : DataAcquirer.ScalarData.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static DataAcquirer.ScalarData valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name