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 |
---|---|
Organism |
Population.getOrganismByName(String name)
Gets the specified organism
|
Organism |
Organism.replicate(String name)
Creates a replica of this
Organism with a new name. |
Modifier and Type | Method and Description |
---|---|
void |
Population.addOrganism(Organism org)
Adds an Organism to the Population
|
void |
Population.addOrganisms(Organism[] orgs)
Adds several organisms to the population
|
void |
Population.removeOrganism(Organism org)
Kills off the organism
|
void |
Population.removeOrganisms(Organism[] orgs)
Removes all the
Organisms in orgs |
Modifier and Type | Method and Description |
---|---|
double[] |
FitnessFunction.fitness(Organism org,
Population pop,
GeneticAlgorithm genAlg)
Calculates the fitness of
org . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractOrganism
Abstract implementation of Organism.
|
class |
SimpleOrganism
A Simple Haploid Organism implementation
|
Modifier and Type | Method and Description |
---|---|
Organism |
SimplePopulation.getOrganismByName(String name) |
Organism |
SimpleOrganism.replicate(String name) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractPopulation.addOrganism(Organism org) |
protected void |
SimplePopulation.addOrganismImpl(Organism orgToAdd) |
protected abstract void |
AbstractPopulation.addOrganismImpl(Organism org) |
void |
AbstractPopulation.addOrganisms(Organism[] orgs) |
void |
AbstractPopulation.removeOrganism(Organism org) |
protected void |
SimplePopulation.removeOrganismImpl(Organism orgToRemove) |
protected abstract void |
AbstractPopulation.removeOrganismImpl(Organism org) |
void |
AbstractPopulation.removeOrganisms(Organism[] orgs) |
Constructor and Description |
---|
AbstractOrganism(Organism org,
String name) |
SimpleOrganism(Organism org,
String name) |
Copyright © 2014 BioJava. All rights reserved.