Uses of Interface
org.biojavax.ga.Population
-
Packages that use Population Package Description org.biojavax.ga Classes to provide a genetic algorithm frameworkorg.biojavax.ga.functions GA functionsorg.biojavax.ga.impl Default implementations and abstract classes. -
-
Uses of Population in org.biojavax.ga
Methods in org.biojavax.ga that return Population Modifier and Type Method Description Population
GeneticAlgorithm. getPopulation()
The registeredPopulation
Methods in org.biojavax.ga with parameters of type Population Modifier and Type Method Description void
Population. addOrganisms(Population orgs)
Adds the residents of one population to this onevoid
GeneticAlgorithm. setPopulation(Population pop)
Sets thePopulation
ofOrganisms
to the Algorithm. -
Uses of Population in org.biojavax.ga.functions
Methods in org.biojavax.ga.functions that return Population Modifier and Type Method Description Population
ProportionalSelection. select(Population pop, GeneticAlgorithm genAlg)
Population
SelectionFunction. select(Population pop, GeneticAlgorithm genAlg)
Selects aPopulation
ofOrganisms
for replication based on their fitness.Population
SelectionFunction.SelectAll. select(Population pop, GeneticAlgorithm genAlg)
Population
SelectionFunction.Threshold. select(Population pop, GeneticAlgorithm genAlg)
Selects individuals whose fitness (as determined by theFitnessFunction
) is more than the cutoff.Population
TournamentSelection. select(Population pop, GeneticAlgorithm genAlg)
Standard call to select organisms, will select a number of Organisms corresponding to 75 % of the population.Population
TournamentSelection. selectNIndividuals(Population pop, GeneticAlgorithm ga, int n)
This method selects n Organism from the population it is given, using the tournament selection methodMethods in org.biojavax.ga.functions with parameters of type Population Modifier and Type Method Description double[]
FitnessFunction. fitness(Organism org, Population pop, GeneticAlgorithm genAlg)
Calculates the fitness oforg
.Population
ProportionalSelection. select(Population pop, GeneticAlgorithm genAlg)
Population
SelectionFunction. select(Population pop, GeneticAlgorithm genAlg)
Selects aPopulation
ofOrganisms
for replication based on their fitness.Population
SelectionFunction.SelectAll. select(Population pop, GeneticAlgorithm genAlg)
Population
SelectionFunction.Threshold. select(Population pop, GeneticAlgorithm genAlg)
Selects individuals whose fitness (as determined by theFitnessFunction
) is more than the cutoff.Population
TournamentSelection. select(Population pop, GeneticAlgorithm genAlg)
Standard call to select organisms, will select a number of Organisms corresponding to 75 % of the population.Population
TournamentSelection. selectNIndividuals(Population pop, GeneticAlgorithm ga, int n)
This method selects n Organism from the population it is given, using the tournament selection method -
Uses of Population in org.biojavax.ga.impl
Classes in org.biojavax.ga.impl that implement Population Modifier and Type Class Description class
AbstractPopulation
Most Population implementations will want to inherit from here.class
SimplePopulation
Simple concrete implementation of thePopulation
interfaceFields in org.biojavax.ga.impl declared as Population Modifier and Type Field Description protected Population
AbstractGeneticAlgorithm. population
Methods in org.biojavax.ga.impl that return Population Modifier and Type Method Description Population
AbstractGeneticAlgorithm. getPopulation()
Methods in org.biojavax.ga.impl with parameters of type Population Modifier and Type Method Description void
AbstractPopulation. addOrganisms(Population orgs)
void
AbstractGeneticAlgorithm. setPopulation(Population pop)
Constructors in org.biojavax.ga.impl with parameters of type Population Constructor Description SimpleGeneticAlgorithm(Population pop, MutationFunction mutFunc, CrossOverFunction xFunc, SelectionFunction selFunc)
-