org.jgap.impl
Class GABreeder
- java.lang.Object
-
- org.jgap.BreederBase
-
- org.jgap.impl.GABreeder
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Comparable, IBreeder, ICloneable
public class GABreeder extends BreederBase
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description GABreeder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Objectclone()Populationevolve(Population a_pop, Configuration a_conf)Evolves the population of chromosomes within a genotype.ConfigurationgetLastConfiguration()PopulationgetLastPopulation()-
Methods inherited from class org.jgap.BreederBase
compareTo
-
-
-
-
Method Detail
-
evolve
public 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- Returns:
- evolved population
- Since:
- 3.2
-
getLastConfiguration
public Configuration getLastConfiguration()
-
getLastPopulation
public Population getLastPopulation()
-
clone
public java.lang.Object clone()
- Specified by:
clonein interfaceICloneable- Specified by:
clonein classBreederBase- Returns:
- deep clone of this instance
- Since:
- 3.2
-
-
DMelt 3.0 © DataMelt by jWork.ORG