org.jgap
Interface IBreeder
- All Superinterfaces:
- java.lang.Cloneable, java.lang.Comparable, ICloneable, java.io.Serializable
- All Known Implementing Classes:
- BreederBase, GABreeder
public interface IBreeder
- extends ICloneable, java.io.Serializable, java.lang.Comparable
Interface for GA breeders. A breeder evolves a population by performing
genetic operations.
- Since:
- 3.2
|
Field Summary |
static java.lang.String |
CVS_REVISION
String containing the CVS revision. |
| Methods inherited from interface java.lang.Comparable |
compareTo |
CVS_REVISION
static final java.lang.String CVS_REVISION
- String containing the CVS revision. Read out via reflection!
- See Also:
- Constant Field Values
evolve
Population evolve(Population a_pop,
Configuration a_conf)
- Evolves the population of Chromosomes within a Genotype. This will
execute all of the genetic operators added to the present active
configuration and then invoke the natural selector to choose which
chromosomes will be included in the next generation population.
- Parameters:
a_pop - the population to evolvea_conf - the configuration to use for evolution- Since:
- 3.2