net.sf.amiba.evolve.operators
Class RecombinationEngine<T>
Object
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 |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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)