eaLib API Docs
Last Modified : January 7 2002

mss.ea.rec
Class PMXListRecombination

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

public class PMXListRecombination
extends ListRecombination

Partial Matched Crossover (PMX) for lists. This operator requires two parents and produces two descendants.

Since:
0.1
Version:
0.1 (06-17-2001)
Author:
Andreas Rummler

Fields inherited from class mss.ea.rec.Recombination
quantity, required
 
Fields inherited from class mss.ea.core.GeneticOperator
description, ID, name
 
Constructor Summary
PMXListRecombination()
          Constructor.
 
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
 

Constructor Detail

PMXListRecombination

public PMXListRecombination()
Constructor.
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