public class DelayedNeuron extends Neuron
Modifier and Type | Field and Description |
---|---|
protected List<Double> |
outputHistory
Output history for this neuron
|
delta, inputConnections, inputFunction, outConnections, output, parentLayer, totalInput, transferFunction
Constructor and Description |
---|
DelayedNeuron(InputFunction inputFunction,
TransferFunction transferFunction)
Creates an instance of neuron which can delay output
|
Modifier and Type | Method and Description |
---|---|
void |
calculate()
Calculates neuron's output
|
double |
getOutput(int delay)
Returns neuron output with the specified delay
|
addInputConnection, addInputConnection, addInputConnection, addOutputConnection, clone, getConnectionFrom, getDelta, getInputConnections, getInputFunction, getLabel, getNetInput, getOutConnections, getOutput, getParentLayer, getTransferFunction, getWeights, hasInputConnectionFrom, hasInputConnections, hasOutputConnectionTo, initializeWeights, removeAllConnections, removeAllInputConnections, removeAllOutputConnections, removeInputConnection, removeInputConnectionFrom, removeOutputConnection, removeOutputConnectionTo, reset, setDelta, setInput, setInputFunction, setLabel, setOutput, setParentLayer, setTransferFunction
public DelayedNeuron(InputFunction inputFunction, TransferFunction transferFunction)
inputFunction
- neuron input functiontransferFunction
- neuron transfer functionpublic void calculate()
Neuron
public double getOutput(int delay)
delay
- output delayCopyright © 2019 Neuroph Project. All rights reserved.