net.sf.amiba.evolve.gene
Class IndividualFactory<T>
Object
IndividualFactory<T>
public class IndividualFactory<T>
- extends Object
The place to produce individuals according to the config options. The config options will be
treated as 'initial' with the freedom to change them programmatically
- Author:
- juber patel
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndividualFactory
public IndividualFactory(Node genome,
AmibaFactory<T> factory)
throws AmibaException
- Throws:
AmibaException
produce
public Individual<T> produce()
produce
public List<Individual<T>> produce(int number)
getRandomData
public RandomData getRandomData()
setRandomData
public void setRandomData(RandomData randomData)
getNumberOfGenes
public int getNumberOfGenes()
setNumberOfGenes
public void setNumberOfGenes(int numberOfGenes)
getLinkingFunction
public Character getLinkingFunction()
setLinkingFunction
public void setLinkingFunction(Character linkingFunction)
getFitnessFunction
public String getFitnessFunction()
setFitnessFunction
public void setFitnessFunction(String fitnessFunction)
getGeneHeadLength
public int getGeneHeadLength()
setGeneHeadLength
public void setGeneHeadLength(int geneHeadLength)
getAlphabet
public List<Character> getAlphabet()