net.sf.amiba.evolve.operators
Class MutationEngine<T>
Object
MutationEngine<T>
public class MutationEngine<T>
- extends Object
The class that drives the mutation operation in the process of evolution
- Author:
- juber patel
Constructor Summary |
MutationEngine(Node mutationElement)
use the values from the mutation element to build this engine |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MutationEngine
public MutationEngine(Node mutationElement)
throws AmibaException
- use the values from the mutation element to build this engine
- Parameters:
mutationElement
- the XML element specifying mutation parameters
- Throws:
AmibaException
mutate
public void mutate(Population<T> population)
getPercentIndividuals
public double getPercentIndividuals()
setPercentIndividuals
public void setPercentIndividuals(int percentIndividuals)
getMutations
public int getMutations()
setMutations
public void setMutations(int mutations)