mss.ea.rec
Class UOBXArrayRecombination
java.lang.Object
|
+--mss.ea.core.GeneticOperator
|
+--mss.ea.rec.Recombination
|
+--mss.ea.rec.ChromosomeRecombination
|
+--mss.ea.rec.ArrayRecombination
|
+--mss.ea.rec.UOBXArrayRecombination
- public class UOBXArrayRecombination
- extends ArrayRecombination
Uniform Order Based Crossover (UOBX) for arrays.
This operator requires two parents and produces two descendants.
- Since:
- 0.1
- Version:
- 0.1 (08-14-2001)
- Author:
- Andreas Rummler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
bstring
protected BitVector bstring
- Exchange bit vector.
UOBXArrayRecombination
public UOBXArrayRecombination()
- Constructor.
UOBXArrayRecombination
public UOBXArrayRecombination(BitVector bitVector)
- Constructor with bit vector for exchange.
This constructor should only be used for debugging purposes.
- Parameters:
bitVector
- bit vector for exchange
recombine
public ArrayChromosome[] recombine(ArrayChromosome[] cra)
throws RecombinationException
- Executes the recombination.
- Overrides:
recombine
in class ArrayRecombination
- Parameters:
cra
- array with at least two parents- Returns:
- array with two descendants
- Throws:
RecombinationException
- thrown, if recombination fails
Copyright © 2000-2001 Technical University of Ilmenau, Department ESS