eaLib API Docs
Last Modified : January 7 2002

mss.ea.rec
Class ChromosomeRecombination

java.lang.Object
  |
  +--mss.ea.core.GeneticOperator
        |
        +--mss.ea.rec.Recombination
              |
              +--mss.ea.rec.ChromosomeRecombination
Direct Known Subclasses:
ArrayRecombination, BinaryStringRecombination, FloatRecombination, IntegerRecombination, ListRecombination, StringRecombination

public abstract class ChromosomeRecombination
extends Recombination

Abstract base class for recombination between chromosomes.

Since:
0.1
Version:
0.1 (06-01-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
ChromosomeRecombination()
           
 
Method Summary
abstract  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

ChromosomeRecombination

public ChromosomeRecombination()
Method Detail

recombine

public abstract Chromosome[] recombine(Chromosome[] cra)
                                throws RecombinationException
Performs the recombination. This method takes an array of chromosomes as an input and performs the recombination on them.
Parameters:
cra - array with chromosomes for recombination
Returns:
array with new chromosomes
Throws:
RecombinationException - thrown if recombination fails

eaLib API Docs
Last Modified : January 7 2002

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