eaLib API Docs
Last Modified : January 7 2002

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

Field Summary
protected  BitVector bstring
          Exchange bit vector.
 
Fields inherited from class mss.ea.rec.Recombination
quantity, required
 
Fields inherited from class mss.ea.core.GeneticOperator
description, ID, name
 
Constructor Summary
UOBXArrayRecombination()
          Constructor.
UOBXArrayRecombination(BitVector bitVector)
          Constructor with bit vector for exchange.
 
Method Summary
 ArrayChromosome[] recombine(ArrayChromosome[] cra)
          Executes the recombination.
 
Methods inherited from class mss.ea.rec.ArrayRecombination
recombine
 
Methods inherited from class mss.ea.rec.Recombination
getQuantity, getRequired
 
Methods inherited from class mss.ea.core.GeneticOperator
getDescription, getID, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bstring

protected BitVector bstring
Exchange bit vector.
Constructor Detail

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
Method Detail

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

eaLib API Docs
Last Modified : January 7 2002

Copyright © 2000-2001 Technical University of Ilmenau, Department ESS