Uses of Interface
org.biojavax.ga.Population
Packages that use Population
Package
Description
Classes to provide a genetic algorithm framework
GA functions
Default implementations and abstract classes.
-
Uses of Population in org.biojavax.ga
Methods in org.biojavax.ga that return PopulationMethods in org.biojavax.ga with parameters of type PopulationModifier and TypeMethodDescriptionvoid
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 PopulationModifier and TypeMethodDescriptionProportionalSelection.select
(Population pop, GeneticAlgorithm genAlg) SelectionFunction.select
(Population pop, GeneticAlgorithm genAlg) Selects aPopulation
ofOrganisms
for replication based on their fitness.SelectionFunction.SelectAll.select
(Population pop, GeneticAlgorithm genAlg) SelectionFunction.Threshold.select
(Population pop, GeneticAlgorithm genAlg) Selects individuals whose fitness (as determined by theFitnessFunction
) is more than the cutoff.TournamentSelection.select
(Population pop, GeneticAlgorithm genAlg) Standard call to select organisms, will select a number of Organisms corresponding to 75 % of the 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 PopulationModifier and TypeMethodDescriptiondouble[]
FitnessFunction.fitness
(Organism org, Population pop, GeneticAlgorithm genAlg) Calculates the fitness oforg
.ProportionalSelection.select
(Population pop, GeneticAlgorithm genAlg) SelectionFunction.select
(Population pop, GeneticAlgorithm genAlg) Selects aPopulation
ofOrganisms
for replication based on their fitness.SelectionFunction.SelectAll.select
(Population pop, GeneticAlgorithm genAlg) SelectionFunction.Threshold.select
(Population pop, GeneticAlgorithm genAlg) Selects individuals whose fitness (as determined by theFitnessFunction
) is more than the cutoff.TournamentSelection.select
(Population pop, GeneticAlgorithm genAlg) Standard call to select organisms, will select a number of Organisms corresponding to 75 % of the 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 PopulationModifier and TypeClassDescriptionclass
Most Population implementations will want to inherit from here.final class
Simple concrete implementation of thePopulation
interfaceFields in org.biojavax.ga.impl declared as PopulationMethods in org.biojavax.ga.impl that return PopulationMethods in org.biojavax.ga.impl with parameters of type PopulationModifier and TypeMethodDescriptionfinal void
AbstractPopulation.addOrganisms
(Population orgs) final void
AbstractGeneticAlgorithm.setPopulation
(Population pop) Constructors in org.biojavax.ga.impl with parameters of type PopulationModifierConstructorDescriptionSimpleGeneticAlgorithm
(Population pop, MutationFunction mutFunc, CrossOverFunction xFunc, SelectionFunction selFunc)