|
Neuroph | |||||||||
| 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 org.neuroph.core.Neuron |
|---|
addInputConnection, addInputConnection, addOutputConnection, getConnectionFrom, getError, getInputConnections, getInputFunction, getInputsIterator, getNetInput, getOutConnections, getOutput, getParentLayer, getTransferFunction, getWeightsVector, hasInputConnections, randomizeInputWeights, removeInputConnectionFrom, 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 |
|---|
protected java.util.Vector<java.lang.Double> outputHistory
| Constructor Detail |
|---|
public DelayedNeuron(InputFunction inputFunction,
TransferFunction transferFunction)
inputFunction - neuron input functiontransferFunction - neuron transfer function| Method Detail |
|---|
public void calculate()
Neuron
calculate in class Neuronpublic double getOutput(int delay)
delay - output delay
|
Neuroph | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||