Uses of Interface
org.biojavax.ga.GeneticAlgorithm
-
Packages that use GeneticAlgorithm 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 GeneticAlgorithm in org.biojavax.ga
Methods in org.biojavax.ga with parameters of type GeneticAlgorithm Modifier and Type Method Description boolean
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 GeneticAlgorithm 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 GeneticAlgorithm in org.biojavax.ga.impl
Classes in org.biojavax.ga.impl that implement GeneticAlgorithm Modifier and Type Class Description class
AbstractGeneticAlgorithm
Base class from which most implementations of GeneticAlgorithm will inherit.class
SimpleGeneticAlgorithm
A simple implementation of theGeneticAlgorithm
interface it is not intended that this class be overidden, hence it is final.
-