org.encog.neural.neat.training.opp.links

## Class MutateResetLinkWeight

- java.lang.Object
- - org.encog.neural.neat.training.opp.links.MutateResetLinkWeight

- All Implemented Interfaces:
    MutateLinkWeight

      public class MutateResetLinkWeight
      extends Object
      implements MutateLinkWeight

  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

    Constructors
    Constructor and Description
    `MutateResetLinkWeight()`

  - ### Method Summary

    Methods
    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.
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### MutateResetLinkWeight

          public MutateResetLinkWeight()

  - ### Method Detail

    - #### getTrainer

          public EvolutionaryAlgorithm getTrainer()

      Specified by:
        `getTrainer` in interface `MutateLinkWeight`
      Returns:
        The training class that this mutator is being used with.

    - #### init

          public void init(EvolutionaryAlgorithm theTrainer)

      Setup the link mutator.
      Specified by:
        `init` in interface `MutateLinkWeight`
      Parameters:
        `theTrainer` - The training class that this mutator is used with.

    - #### mutateWeight

          public void mutateWeight(Random rnd,
                          NEATLinkGene linkGene,
                          double weightRange)

      Perform the weight mutation on the specified link.
      Specified by:
        `mutateWeight` in interface `MutateLinkWeight`
      Parameters:
        `rnd` - A random number generator.
        `linkGene` - The link to mutate.
        `weightRange` - The weight range, weights are between -weightRange and +weightRange.

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2014. All Rights Reserved.