eaLib API Docs
Last Modified : January 7 2002

mss.ea.rec
Class UOBXListRecombination

java.lang.Object
  |
  +--mss.ea.core.GeneticOperator
        |
        +--mss.ea.rec.Recombination
              |
              +--mss.ea.rec.ChromosomeRecombination
                    |
                    +--mss.ea.rec.ListRecombination
                          |
                          +--mss.ea.rec.UOBXListRecombination

public class UOBXListRecombination
extends ListRecombination

Uniform Order Based Crossover (UOBX) for lists. 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
UOBXListRecombination()
          Constructor.
UOBXListRecombination(BitVector bitVector)
          Constructor with bit vector for exchange.
 
Method Summary
 ListChromosome[] recombine(ListChromosome[] cra)
          Executes the recombination.
 
Methods inherited from class mss.ea.rec.ListRecombination
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

UOBXListRecombination

public UOBXListRecombination()
Constructor.

UOBXListRecombination

public UOBXListRecombination(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 ListChromosome[] recombine(ListChromosome[] cra)
                           throws RecombinationException
Executes the recombination.
Overrides:
recombine in class ListRecombination
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