org.vizzini.ai.geneticalgorithm
Class CrossoverType
java.lang.Object
org.vizzini.util.AbstractEnumeratedType
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
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. |
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
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 |