Package | Description |
---|---|
org.biojavax.ga |
Classes to provide a genetic algorithm framework
|
org.biojavax.ga.functions |
GA functions
A genetic algorithm requires a number of functions.
|
org.biojavax.ga.impl |
Default implementations and abstract classes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
GAStoppingCriteria.stop(GeneticAlgorithm ga)
Determines if an Algorithm should stop spawning new generations
|
boolean |
GAStoppingCriteria.MaximumGeneration.stop(GeneticAlgorithm ga)
Stops the Algorithm if the iterations are >=
maxGenerations |
Modifier and Type | Method and Description |
---|---|
double[] |
FitnessFunction.fitness(Organism org,
Population pop,
GeneticAlgorithm genAlg)
Calculates the fitness of
org . |
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 |
SelectionFunction.select(Population pop,
GeneticAlgorithm genAlg)
Selects a
Population of Organisms for
replication based on their fitness. |
Population |
SelectionFunction.Threshold.select(Population pop,
GeneticAlgorithm genAlg)
Selects individuals whose fitness (as determined by the
FitnessFunction ) is more than the cutoff. |
Population |
SelectionFunction.SelectAll.select(Population pop,
GeneticAlgorithm genAlg) |
Population |
ProportionalSelection.select(Population pop,
GeneticAlgorithm genAlg) |
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
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractGeneticAlgorithm
Base class from which most implementations of GeneticAlgorithm will inherit.
|
class |
SimpleGeneticAlgorithm
A simple implementation of the
GeneticAlgorithm interface it
is not intended that this class be overidden, hence it is final. |
Copyright © 2014 BioJava. All rights reserved.