eaLib API Docs
Last Modified : January 7 2002

mss.ea.rec
Class LineIntegerRecombination

java.lang.Object
  |
  +--mss.ea.core.GeneticOperator
        |
        +--mss.ea.rec.Recombination
              |
              +--mss.ea.rec.ChromosomeRecombination
                    |
                    +--mss.ea.rec.IntegerRecombination
                          |
                          +--mss.ea.rec.LineIntegerRecombination

public class LineIntegerRecombination
extends IntegerRecombination

Line recombination for integers. This operator produces one child out of two parents.

Since:
0.1
Version:
0.1 (11-03-00)
Author:
Andreas Rummler

Fields inherited from class mss.ea.rec.IntegerRecombination
rand
 
Fields inherited from class mss.ea.rec.Recombination
quantity, required
 
Fields inherited from class mss.ea.core.GeneticOperator
description, ID, name
 
Constructor Summary
LineIntegerRecombination()
          Constructor.
LineIntegerRecombination(float scaling)
          Constructor with scaling factor.
 
Method Summary
 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

LineIntegerRecombination

public LineIntegerRecombination()
Constructor.

LineIntegerRecombination

public LineIntegerRecombination(float scaling)
Constructor with scaling factor.
Parameters:
scaling - scaling factor
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 children
Returns:
array with one child
Throws:
RecombinationException -  

eaLib API Docs
Last Modified : January 7 2002

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