geneticWedge.gp.dataAnalysis
Enum DataAcquirer.VectorData

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

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

VectorData refer to the balance of components within each individual. They should be used within the method getVectorData(). To check which components are referred to, by obtaining an array of components in the same order as the numeric array obtained from getVectorData(), call getFunctions(), getInputs(), getConstants() or getComponents().


Enum Constant Summary
COMPONENT_USE
          The number of times each Component is used by a population of Individuals.
CONSTANT_USE
          The number of times each Constant is used by a population of Individuals.
FUNCTION_USE
          The number of times each Function is used by a population of Individuals.
INPUT_USE
          The number of times each Input is used by a population of Individuals.
 
Method Summary
static DataAcquirer.VectorData valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DataAcquirer.VectorData[] 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

FUNCTION_USE

public static final DataAcquirer.VectorData FUNCTION_USE
The number of times each Function is used by a population of Individuals.


INPUT_USE

public static final DataAcquirer.VectorData INPUT_USE
The number of times each Input is used by a population of Individuals.


CONSTANT_USE

public static final DataAcquirer.VectorData CONSTANT_USE
The number of times each Constant is used by a population of Individuals.


COMPONENT_USE

public static final DataAcquirer.VectorData COMPONENT_USE
The number of times each Component is used by a population of Individuals.

Method Detail

values

public static final DataAcquirer.VectorData[] 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.VectorData c : DataAcquirer.VectorData.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.VectorData 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