|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.neural.neat.training.opp.links.MutateResetLinkWeight
public class MutateResetLinkWeight
Mutate weight links by reseting the weight to an entirely new value. The weight range will come from the trainer. ----------------------------------------------------------------------------- http://www.cs.ucf.edu/~kstanley/ Encog's NEAT implementation was drawn from the following three Journal Articles. For more complete BibTeX sources, see NEATNetwork.java. Evolving Neural Networks Through Augmenting Topologies Generating Large-Scale Neural Networks Through Discovering Geometric Regularities Automatic feature selection in neuroevolution
Constructor Summary | |
---|---|
MutateResetLinkWeight()
|
Method Summary | |
---|---|
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. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MutateResetLinkWeight()
Method Detail |
---|
public EvolutionaryAlgorithm getTrainer()
getTrainer
in interface MutateLinkWeight
public void init(EvolutionaryAlgorithm theTrainer)
init
in interface MutateLinkWeight
theTrainer
- The training class that this mutator is used with.public void mutateWeight(Random rnd, NEATLinkGene linkGene, double weightRange)
mutateWeight
in interface MutateLinkWeight
rnd
- A random number generator.linkGene
- The link to mutate.weightRange
- The weight range, weights are between -weightRange and
+weightRange.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |