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. | 
equals, getProbability, hashCodepublic TreeMutator()
public TreeMutator(double probability)
protected MutatorResult<Chromosome<G>> mutate(Chromosome<G> chromosome, double p, Random random)
mutate in class Mutator<G extends TreeGene<A,G>,C extends Comparable<? super C>>chromosome - the chromosome to mutatep - the mutation probability for the underlying genetic objectsrandom - the random engine used for the genotype mutationMutator.mutate(Gene, Random)© 2007-2018 Franz Wilhelmstötter (2018-10-28 17:23)