anthill.genie
Interface GeneticFramework
- All Known Implementing Classes:
- GeneticFrameworkImpl
- public interface GeneticFramework
The GeneticFramework class is used to manage the genetic
evolution.
- Version:
- $Revision$
- Author:
- Alberto Montresor
Method Summary |
void |
evolve()
Try to evolve a population of genetic codes, using the
configuration parameters contained in this instance |
GeneticCode |
getFittest()
Return the genetic code with the best fitness. |
gajit.Population |
getPopulation()
Return the population of evolved genetic codes. |
evolve
public void evolve()
- Try to evolve a population of genetic codes, using the
configuration parameters contained in this instance
- Parameters:
out
- print stream used to log information about the
evolution; if print stream is null, no log file is generated.
getPopulation
public gajit.Population getPopulation()
- Return the population of evolved genetic codes.
getFittest
public GeneticCode getFittest()
- Return the genetic code with the best fitness.