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 |
---|---|
SelectionFunction |
GeneticAlgorithm.getSelectionFunction() |
Modifier and Type | Method and Description |
---|---|
void |
GeneticAlgorithm.setSelectionFunction(SelectionFunction function)
Changes the
SelectionFunction used to select candidates for
the next generation |
Modifier and Type | Class and Description |
---|---|
class |
ProportionalSelection
A Selection function that determines the proportion of individuals in a new
population proportionally to their fitness.
|
static class |
SelectionFunction.SelectAll |
static class |
SelectionFunction.Threshold
Selects individuals who's fitness exceeds a threshold value.
|
class |
TournamentSelection
Tournament Selection chooses the best organisms from n random subsets of a
given population.
|
Modifier and Type | Field and Description |
---|---|
static SelectionFunction |
SelectionFunction.DEFAULT
Selects all members of a population for replication
|
Modifier and Type | Method and Description |
---|---|
SelectionFunction |
AbstractGeneticAlgorithm.getSelectionFunction() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractGeneticAlgorithm.setSelectionFunction(SelectionFunction function) |
Constructor and Description |
---|
SimpleGeneticAlgorithm(Population pop,
MutationFunction mutFunc,
CrossOverFunction xFunc,
SelectionFunction selFunc) |
Copyright © 2014 BioJava. All rights reserved.