cc.glsn.v15.neuralnet
Class RecurrentBrain

java.lang.Object
  extended by cc.glsn.v15.neuralnet.Brain
      extended by cc.glsn.v15.neuralnet.RecurrentBrain
All Implemented Interfaces:
Serializable

public class RecurrentBrain
extends Brain

Extends Brain to become an feedback neural network rather than a simple feed forward. The specified numbers of feeback links are added as outputs and those outputs are feed back in as inputs.

See Also:
Serialized Form

Constructor Summary
RecurrentBrain(NetFunction functg, LinkedList<Integer> layerSizes, int feedbackLinks)
           
RecurrentBrain(NetFunction functg, LinkedList<Integer> layerSizes, String inputMappingStyle, int feedbackLinks)
           
 
Method Summary
 void resetFeeds(double val)
           
 void updateFeeds()
          Copies all output feedback values to the inputs Should be run before a new set of inputs are set.
 
Methods inherited from class cc.glsn.v15.neuralnet.Brain
addInput, addInputGroup, addOutput, backPropogate, backPropogate, getAllOutputs, getInputNode, getOutput, incSerial, removeOutput, setAllInput, setHiddenLayers, setInput, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RecurrentBrain

public RecurrentBrain(NetFunction functg,
                      LinkedList<Integer> layerSizes,
                      int feedbackLinks)

RecurrentBrain

public RecurrentBrain(NetFunction functg,
                      LinkedList<Integer> layerSizes,
                      String inputMappingStyle,
                      int feedbackLinks)
Method Detail

resetFeeds

public void resetFeeds(double val)

updateFeeds

public void updateFeeds()
Copies all output feedback values to the inputs Should be run before a new set of inputs are set. Order should be: updateFeeds() setInput()s getOutput()s