public abstract class TreeMutator<A,G extends TreeGene<A,G>,C extends Comparable<? super C>> extends Mutator<G,C>
_probabilityDEFAULT_ALTER_PROBABILITY| Constructor and Description |
|---|
TreeMutator() |
TreeMutator(double probability) |
| Modifier and Type | Method and Description |
|---|---|
protected MutatorResult<Chromosome<G>> |
mutate(Chromosome<G> chromosome,
double p,
Random random)
Mutates the given chromosome.
|
protected abstract void |
mutate(TreeNode<A> tree)
This method does the actual mutating, in place.
|
getProbabilitypublic TreeMutator()
public TreeMutator(double probability)
protected MutatorResult<Chromosome<G>> mutate(Chromosome<G> chromosome, double p, Random random)
© 2007-2019 Franz Wilhelmstötter (2019-11-18 20:30)