org.joone.structure
Class PatternForwardedSynapse

java.lang.Object
  extended by org.joone.engine.Synapse
      extended by org.joone.structure.PatternForwardedSynapse
All Implemented Interfaces:
java.io.Serializable, InputPatternListener, Learnable, LearnableSynapse, NeuralElement, OutputPatternListener, Inspectable

 class PatternForwardedSynapse
extends Synapse

This class/synapse is only used to inform a Nakayama object whenever a single patterns has been forwarded through the network.


Field Summary
protected  Nakayama nakayama
          The nakayama object that needs to be informed.
 
Fields inherited from class org.joone.engine.Synapse
array, b_pattern, bitems, bouts, count, enabled, fwdLock, inps, items, learnable, m_batch, m_pattern, myLearner, notFirstTime, notFirstTimeB, outs, revLock
 
Constructor Summary
PatternForwardedSynapse(Nakayama aNakayama)
          Constructor
 
Method Summary
protected  void backward(double[] pattern)
          Funzione di TRAIN dell'elemento.
protected  void forward(double[] pattern)
          Recall function
 void fwdPut(Pattern pattern)
          Method to put a pattern forward to the next layer
protected  void setArrays(int rows, int cols)
          Insert the method's description here.
protected  void setDimensions(int rows, int cols)
          Dimensiona l'elemento
 
Methods inherited from class org.joone.engine.Synapse
addNoise, canCountSteps, check, fwdGet, getFwdLock, getIgnoreBefore, getInputDimension, getLearner, getLearningRate, getMomentum, getMonitor, getName, getOutputDimension, getRevLock, getWeights, init, initLearner, InspectableTitle, Inspections, isEnabled, isInputFull, isLoopBack, isOutputFull, randomize, readResolve, reset, revGet, revPut, setEnabled, setIgnoreBefore, setInputDimension, setInputFull, setLearningRate, setLoopBack, setMomentum, setMonitor, setName, setOutputDimension, setOutputFull, setWeights
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nakayama

protected Nakayama nakayama
The nakayama object that needs to be informed.

Constructor Detail

PatternForwardedSynapse

public PatternForwardedSynapse(Nakayama aNakayama)
Constructor

Parameters:
aNakayama - the object that needs to be informed whenever a pattern has been forwarded through the network.
Method Detail

fwdPut

public void fwdPut(Pattern pattern)
Description copied from interface: OutputPatternListener
Method to put a pattern forward to the next layer

Specified by:
fwdPut in interface OutputPatternListener
Overrides:
fwdPut in class Synapse
Parameters:
pattern - neural.engine.Pattern

backward

protected void backward(double[] pattern)
Description copied from class: Synapse
Funzione di TRAIN dell'elemento.

Specified by:
backward in class Synapse
Parameters:
pattern - double[] - pattern di input sul quale applicare la funzione di trasferimento

forward

protected void forward(double[] pattern)
Description copied from class: Synapse
Recall function

Specified by:
forward in class Synapse
Parameters:
pattern - double[] - input pattern

setArrays

protected void setArrays(int rows,
                         int cols)
Description copied from class: Synapse
Insert the method's description here. Creation date: (23/09/2000 12.52.58)

Specified by:
setArrays in class Synapse

setDimensions

protected void setDimensions(int rows,
                             int cols)
Description copied from class: Synapse
Dimensiona l'elemento

Specified by:
setDimensions in class Synapse


Submit Feedback to pmarrone@users.sourceforge.net