org.joone.engine
Class DelaySynapse

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

public class DelaySynapse
extends Synapse

This Synapse connects the N input neurons with the M output neurons using a matrix of FIRFilter elements of size NxM. A FIRFilter connection is a delayed connection that permits to implement a temporal backprop alg. functionally equivalent to the TDNN (Time Delay Neural Network), but in a more efficient and elegant manner.

Author:
P. Marrone
See Also:
FIRFilter, Serialized Form

Field Summary
protected  FIRFilter[][] fir
           
 
Fields inherited from class org.joone.engine.Synapse
array, b_pattern, bitems, bouts, count, enabled, fwdLock, inps, items, learnable, m_batch, m_pattern, myLearner, outs, revLock
 
Constructor Summary
DelaySynapse()
           
 
Method Summary
 void addNoise(double amplitude)
          Adds a uniformly distributed noise to the weights of the synapse
protected  void backward(double[] pattern)
          Funzione di TRAIN dell'elemento.
 java.util.TreeSet check()
          Base for check messages.
protected  void forward(double[] pattern)
          Recall function
 int getTaps()
          Inserire qui la descrizione del metodo.
protected  void setArrays(int rows, int cols)
          setArrays method comment.
protected  void setDimensions(int rows, int cols)
          Dimensiona l'elemento
 void setTaps(int newTaps)
          Inserire qui la descrizione del metodo.
 
Methods inherited from class org.joone.engine.Synapse
canCountSteps, fwdGet, fwdPattern_consume, fwdPattern_produce, fwdPut, getCount, getFwdLock, getIgnoreBefore, getInputDimension, getLearner, getLearningRate, getMomentum, getMonitor, getName, getOutputDimension, getRevLock, getSynapseNameSafely, getWeights, init, initLearner, InspectableTitle, Inspections, isEnabled, isInputFull, isLoopBack, isOutputFull, randomize, readResolve, reset, revGet, revPattern_consume, revPattern_produce, revPut, setEnabled, setIgnoreBefore, setInputDimension, setInputFull, setLearningRate, setLoopBack, setMomentum, setMonitor, setName, setOutputDimension, setOutputFull, setWeights, warnLogger, warnLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fir

protected FIRFilter[][] fir
Constructor Detail

DelaySynapse

public DelaySynapse()
Method Detail

addNoise

public void addNoise(double amplitude)
Description copied from class: Synapse
Adds a uniformly distributed noise to the weights of the synapse

Overrides:
addNoise in class Synapse
Parameters:
amplitude - Amplitude of the noise: the value is centered around the zero. e.g.: an amplitude = 0.2 means a noise range from -0.2 to 0.2

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. THIS PATTERN CANNOT BE CHANGED

getTaps

public int getTaps()
Inserire qui la descrizione del metodo. Data di creazione: (10/04/00 23.02.20)

Returns:
int

setArrays

protected void setArrays(int rows,
                         int cols)
setArrays method comment.

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

setTaps

public void setTaps(int newTaps)
Inserire qui la descrizione del metodo. Data di creazione: (10/04/00 23.02.20)

Parameters:
newTaps - int

check

public java.util.TreeSet check()
Description copied from class: Synapse
Base for check messages. Subclasses should call this method from thier own check method.

Specified by:
check in interface NeuralElement
Overrides:
check in class Synapse
Returns:
validation errors.
See Also:
InputPaternListener, OutputPaternListener


Submit Feedback to pmarrone@users.sourceforge.net