org.encog.neural.neat.training.opp.links
public interface MutateLinkWeight
Modifier and Type | Method and Description |
---|---|
EvolutionaryAlgorithm |
getTrainer() |
void |
init(EvolutionaryAlgorithm theTrainer)
Setup the link mutator.
|
void |
mutateWeight(Random rnd,
NEATLinkGene linkGene,
double weightRange)
Perform the weight mutation on the specified link.
|
EvolutionaryAlgorithm getTrainer()
void init(EvolutionaryAlgorithm theTrainer)
theTrainer
- The training class that this mutator is used with.void mutateWeight(Random rnd, NEATLinkGene linkGene, double weightRange)
rnd
- A random number generator.linkGene
- The link to mutate.weightRange
- The weight range, weights are between -weightRange and
+weightRange.Copyright © 2014. All Rights Reserved.