org.vizzini.ai.geneticalgorithm
Class CrossoverType

java.lang.Object
  extended by org.vizzini.util.AbstractEnumeratedType
      extended by org.vizzini.ai.geneticalgorithm.CrossoverType
All Implemented Interfaces:
Comparable, IEnumeratedType

public final class CrossoverType
extends AbstractEnumeratedType

Provides a crossover type enumeration class.

Since:
v0.1
Version:
v0.3
Author:
Jeffrey M. Thompson

Field Summary
static CrossoverType AVERAGE
           
static CrossoverType NONE
           
static CrossoverType ONE_POINT
           
static CrossoverType UNIFORM
           
 
Method Summary
static CrossoverType get(int i)
          Get the crossover type which corresponds to the given integer.
static int size()
          Return the number of enumerated values.
static CrossoverType valueOf(String name)
          Get the crossover type which corresponds to the given string.
 
Methods inherited from class org.vizzini.util.AbstractEnumeratedType
compareTo, equals, getDisplayName, getName, hashCode, intValue, setOrdinal, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final CrossoverType NONE

ONE_POINT

public static final CrossoverType ONE_POINT

UNIFORM

public static final CrossoverType UNIFORM

AVERAGE

public static final CrossoverType AVERAGE
Method Detail

get

public static CrossoverType get(int i)
Get the crossover type which corresponds to the given integer.

Since:
v0.1

size

public static final int size()
Return the number of enumerated values.

Since:
v0.1

valueOf

public static CrossoverType valueOf(String name)
Get the crossover type which corresponds to the given string.

Since:
v0.1


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02