|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.ml.anneal.SimulatedAnnealing<Double>
org.encog.neural.networks.training.anneal.NeuralSimulatedAnnealingHelper
public class NeuralSimulatedAnnealingHelper
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 Summary | |
---|---|
NeuralSimulatedAnnealingHelper(NeuralSimulatedAnnealing owner)
Constructs this object. |
Method Summary | |
---|---|
double |
calculateScore()
Used to pass the determineError call on to the parent object. |
Double[] |
getArray()
Used to pass the getArray call on to the parent object. |
Double[] |
getArrayCopy()
Used to pass the getArrayCopy call on to the parent object. |
void |
putArray(Double[] array)
Used to pass the putArray call on to the parent object. |
void |
randomize()
Call the owner's randomize method. |
Methods inherited from class org.encog.ml.anneal.SimulatedAnnealing |
---|
getCycles, getScore, getStartTemperature, getStopTemperature, getTemperature, isShouldMinimize, iteration, setCycles, setScore, setShouldMinimize, setStartTemperature, setStopTemperature, setTemperature |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NeuralSimulatedAnnealingHelper(NeuralSimulatedAnnealing owner)
owner
- The owner of this class, that recieves all messages.Method Detail |
---|
public double calculateScore()
calculateScore
in class SimulatedAnnealing<Double>
public Double[] getArray()
getArray
in class SimulatedAnnealing<Double>
public Double[] getArrayCopy()
getArrayCopy
in class SimulatedAnnealing<Double>
public void putArray(Double[] array)
putArray
in class SimulatedAnnealing<Double>
array
- The array.public void randomize()
randomize
in class SimulatedAnnealing<Double>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |