Uses of Interface
org.biojavax.ga.GeneticAlgorithm
Packages that use GeneticAlgorithm
Package
Description
Classes to provide a genetic algorithm framework
GA functions
Default implementations and abstract classes.
-
Uses of GeneticAlgorithm in org.biojavax.ga
Methods in org.biojavax.ga with parameters of type GeneticAlgorithmModifier and TypeMethodDescriptionboolean
GAStoppingCriteria.MaximumGeneration.stop
(GeneticAlgorithm ga) Stops the Algorithm if the iterations are >=maxGenerations
boolean
GAStoppingCriteria.stop
(GeneticAlgorithm ga) Determines if an Algorithm should stop spawning new generations -
Uses of GeneticAlgorithm in org.biojavax.ga.functions
Methods in org.biojavax.ga.functions with parameters of type GeneticAlgorithmModifier 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 GeneticAlgorithm in org.biojavax.ga.impl
Classes in org.biojavax.ga.impl that implement GeneticAlgorithmModifier and TypeClassDescriptionclass
Base class from which most implementations of GeneticAlgorithm will inherit.final class
A simple implementation of theGeneticAlgorithm
interface it is not intended that this class be overidden, hence it is final.