net.sf.amiba.evolve.operators
Class RecombinationEngine<T>

Object
  extended by RecombinationEngine<T>

public class RecombinationEngine<T>
extends Object

The class that drives the recombination operation in the process of evolution

Author:
juber patel

Constructor Summary
RecombinationEngine(Node recombinationElement)
          use the values from the recombination element to build this engine
 
Method Summary
 double getDoublePointRate()
           
 double getGeneRate()
           
 double getSinglePointRate()
           
 void recombine(Population<T> population)
           
 void setDoublePointRate(double doublePointRate)
           
 void setGeneRate(double geneRate)
           
 void setSinglePointRate(double singlePointRate)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecombinationEngine

public RecombinationEngine(Node recombinationElement)
                    throws AmibaException
use the values from the recombination element to build this engine

Parameters:
recombinationElement - the XML element specifying recombination parameters
Throws:
AmibaException
Method Detail

recombine

public void recombine(Population<T> population)

getSinglePointRate

public double getSinglePointRate()

setSinglePointRate

public void setSinglePointRate(double singlePointRate)

getDoublePointRate

public double getDoublePointRate()

setDoublePointRate

public void setDoublePointRate(double doublePointRate)

getGeneRate

public double getGeneRate()

setGeneRate

public void setGeneRate(double geneRate)