Neuroph

org.neuroph.nnet.neuron
Class DelayedNeuron

java.lang.Object
  extended by org.neuroph.core.Neuron
      extended by org.neuroph.nnet.neuron.DelayedNeuron
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CompetitiveNeuron

public class DelayedNeuron
extends Neuron

The DelayedNeuron class provides behaviour for neurons with delayed output.

See Also:
Serialized Form

Field Summary
protected  java.util.Vector<java.lang.Double> outputHistory
           
private static long serialVersionUID
           
 
Fields inherited from class org.neuroph.core.Neuron
error, inputConnections, inputFunction, netInput, outConnections, output, parentLayer, transferFunction
 
Constructor Summary
DelayedNeuron(InputFunction inputFunction, TransferFunction transferFunction)
           
 
Method Summary
 void calculate()
          Calculates neuron's output
 double getOutput(int delay)
           
 
Methods inherited from class org.neuroph.core.Neuron
addInputConnection, addInputConnection, addOutputConnection, getConnectionFrom, getError, getInputConnections, getInputFunction, getInputsIterator, getNetInput, getOutConnections, getOutput, getParentLayer, getTransferFunction, getWeightVector, hasInputConnections, randomizeInputWeights, removeInput, reset, setError, setInput, setInputFunction, setOutput, setParentLayer, setTransferFunction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

outputHistory

protected java.util.Vector<java.lang.Double> outputHistory
Constructor Detail

DelayedNeuron

public DelayedNeuron(InputFunction inputFunction,
                     TransferFunction transferFunction)
Method Detail

calculate

public void calculate()
Description copied from class: Neuron
Calculates neuron's output

Overrides:
calculate in class Neuron

getOutput

public double getOutput(int delay)

Neuroph