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 TypeMethodDescriptionvoidPopulation.addOrganisms(Population orgs) Adds the residents of one population to this onevoidGeneticAlgorithm.setPopulation(Population pop) Sets thePopulationofOrganismsto 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 aPopulationofOrganismsfor 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 aPopulationofOrganismsfor 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 TypeClassDescriptionclassMost Population implementations will want to inherit from here.final classSimple concrete implementation of thePopulationinterfaceFields 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 voidAbstractPopulation.addOrganisms(Population orgs) final voidAbstractGeneticAlgorithm.setPopulation(Population pop) Constructors in org.biojavax.ga.impl with parameters of type PopulationModifierConstructorDescriptionSimpleGeneticAlgorithm(Population pop, MutationFunction mutFunc, CrossOverFunction xFunc, SelectionFunction selFunc)