Package | Description |
---|---|
org.biojava.bio.dist |
Probability distributions over Alphabets.
|
org.biojavax.ga.functions |
GA functions
A genetic algorithm requires a number of functions.
|
org.biojavax.ga.util |
Utility functions and helper classes
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractOrderNDistribution
Simple base class for OrderNDistributions.
|
Modifier and Type | Method and Description |
---|---|
protected static Sequence |
DistributionTools.generateOrderNSequence(String name,
OrderNDistribution d,
int length)
Deprecated.
use generateSequence() or generateSymbolList() instead.
|
Modifier and Type | Method and Description |
---|---|
OrderNDistribution |
MutationFunction.getMutationSpectrum() |
OrderNDistribution |
MutationFunction.NoMutation.getMutationSpectrum() |
OrderNDistribution |
AbstractMutationFunction.getMutationSpectrum() |
Modifier and Type | Method and Description |
---|---|
void |
MutationFunction.setMutationSpectrum(OrderNDistribution mutationSpectrum)
Sets the
Distribution of Symbols that will be selected
from when a mutation occurs. |
void |
MutationFunction.NoMutation.setMutationSpectrum(OrderNDistribution odn) |
void |
AbstractMutationFunction.setMutationSpectrum(OrderNDistribution mutationSpectrum) |
Modifier and Type | Method and Description |
---|---|
static OrderNDistribution |
GATools.standardMutationDistribution(FiniteAlphabet a)
Makes a mutation
Distribution where the probability
of a Symbol being mutated to itself is zero and the
probability of it being changed to any other Symbol in
the Alphabet a is 1.0 / (a.size() - 1.0) |
static OrderNDistribution |
GATools.uniformMutationDistribution(FiniteAlphabet a)
Makes a 1st order distribution which is infact uniform (equivalent to a
uniform zero order distribution).
|
Copyright © 2014 BioJava. All rights reserved.