|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neuroph.core.Neuron
org.neuroph.nnet.comp.DelayedNeuron
public class DelayedNeuron
Provides behaviour for neurons with delayed output.
Field Summary | |
---|---|
protected java.util.Vector<java.lang.Double> |
outputHistory
Output history for this neuron |
Fields inherited from class org.neuroph.core.Neuron |
---|
error, inputConnections, inputFunction, netInput, outConnections, output, parentLayer, transferFunction |
Constructor Summary | |
---|---|
DelayedNeuron(InputFunction inputFunction,
TransferFunction transferFunction)
Creates an instance of neuron which can delay output |
Method Summary | |
---|---|
void |
calculate()
Calculates neuron's output |
double |
getOutput(int delay)
Returns neuron output with the specified delay |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Vector<java.lang.Double> outputHistory
Constructor Detail |
---|
public DelayedNeuron(InputFunction inputFunction, TransferFunction transferFunction)
inputFunction
- neuron input functiontransferFunction
- neuron transfer functionMethod Detail |
---|
public void calculate()
Neuron
calculate
in class Neuron
public double getOutput(int delay)
delay
- output delay
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |