eaLib API Docs
Last Modified : January 7 2002

mss.ea.rec
Class ArrayRecombination

java.lang.Object
  |
  +--mss.ea.core.GeneticOperator
        |
        +--mss.ea.rec.Recombination
              |
              +--mss.ea.rec.ChromosomeRecombination
                    |
                    +--mss.ea.rec.ArrayRecombination
Direct Known Subclasses:
CXArrayRecombination, MPArrayRecombination, OXArrayRecombination, PMXArrayRecombination, UOBXArrayRecombination

public abstract class ArrayRecombination
extends ChromosomeRecombination

Abstract base class for recombining chromosomes containing arrays.

Since:
0.1
Version:
0.1 (06-15-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
ArrayRecombination()
           
 
Method Summary
abstract  ArrayChromosome[] recombine(ArrayChromosome[] cra)
          Performs the recombination on array chromosomes.
 Chromosome[] recombine(Chromosome[] cra)
          Performs the recombination.
 
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

ArrayRecombination

public ArrayRecombination()
Method Detail

recombine

public Chromosome[] recombine(Chromosome[] cra)
                       throws RecombinationException
Performs the recombination.
Overrides:
recombine in class ChromosomeRecombination
Parameters:
cra - array with at least two parents
Returns:
array with child chromosomes
Throws:
RecombinationException - thrown in case operator fails

recombine

public abstract ArrayChromosome[] recombine(ArrayChromosome[] cra)
                                     throws RecombinationException
Performs the recombination on array chromosomes.
Parameters:
cra - array with at least two array chromosomes
Returns:
array with child array chromosomes
Throws:
RecombinationException - thrown in case operator fails

eaLib API Docs
Last Modified : January 7 2002

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