Documentation of 'org.encog.neural.networks.training.anneal.NeuralSimulatedAnnealingHelper' Java class
NeuralSimulatedAnnealingHelper
org.encog.neural.networks.training.anneal

Class NeuralSimulatedAnnealingHelper



  • public class NeuralSimulatedAnnealingHelper
    extends SimulatedAnnealing<java.lang.Double>
    Simple class used by the neural simulated annealing. This class is a subclass of the basic SimulatedAnnealing class. The It is used by the actual NeuralSimulatedAnnealing class, which subclasses BasicTraining. This class is mostly necessary due to the fact that NeuralSimulatedAnnealing can't subclass BOTH SimulatedAnnealing and Train, because multiple inheritance is not supported.
    • Constructor Detail

      • NeuralSimulatedAnnealingHelper

        public NeuralSimulatedAnnealingHelper(NeuralSimulatedAnnealing owner)
        Constructs this object.
        Parameters:
        owner - The owner of this class, that recieves all messages.
    • Method Detail

      • calculateScore

        public double calculateScore()
        Used to pass the determineError call on to the parent object.
        Specified by:
        calculateScore in class SimulatedAnnealing<java.lang.Double>
        Returns:
        The error returned by the owner.
      • getArray

        public java.lang.Double[] getArray()
        Used to pass the getArray call on to the parent object.
        Specified by:
        getArray in class SimulatedAnnealing<java.lang.Double>
        Returns:
        The array returned by the owner.
      • getArrayCopy

        public java.lang.Double[] getArrayCopy()
        Used to pass the getArrayCopy call on to the parent object.
        Specified by:
        getArrayCopy in class SimulatedAnnealing<java.lang.Double>
        Returns:
        The array copy created by the owner.
      • putArray

        public void putArray(java.lang.Double[] array)
        Used to pass the putArray call on to the parent object.
        Specified by:
        putArray in class SimulatedAnnealing<java.lang.Double>
        Parameters:
        array - The array.
      • randomize

        public void randomize()
        Call the owner's randomize method.
        Specified by:
        randomize in class SimulatedAnnealing<java.lang.Double>

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.