org.neuroph.nnet.comp.neuron
Class DelayedNeuron
- java.lang.Object
-
- org.neuroph.core.Neuron
-
- org.neuroph.nnet.comp.neuron.DelayedNeuron
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- CompetitiveNeuron
public class DelayedNeuron extends Neuron
Provides behaviour for neurons with delayed output.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description DelayedNeuron(InputFunction inputFunction, TransferFunction transferFunction)Creates an instance of neuron which can delay output
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcalculate()Calculates neuron's outputdoublegetOutput(int delay)Returns neuron output with the specified delay-
Methods inherited from class org.neuroph.core.Neuron
addInputConnection, addInputConnection, addInputConnection, clone, getConnectionFrom, getDelta, getError, getInputConnections, getInputFunction, getLabel, getNetInput, getOutConnections, getOutput, getParentLayer, getTransferFunction, getWeights, hasInputConnectionFrom, hasInputConnections, hasOutputConnectionTo, initializeWeights, removeAllConnections, removeAllInputConnections, removeAllOutputConnections, removeInputConnectionFrom, removeOutputConnectionTo, reset, setDelta, setError, setInput, setInputFunction, setLabel, setOutput, setParentLayer, setTransferFunction
-
-
-
-
Constructor Detail
-
DelayedNeuron
public DelayedNeuron(InputFunction inputFunction, TransferFunction transferFunction)
Creates an instance of neuron which can delay output- Parameters:
inputFunction- neuron input functiontransferFunction- neuron transfer function
-
-
Method Detail
-
calculate
public void calculate()
Description copied from class:NeuronCalculates neuron's output
-
getOutput
public double getOutput(int delay)
Returns neuron output with the specified delay- Parameters:
delay- output delay- Returns:
- neuron output at (t-delay) moment
-
-
DMelt 3.0 © DataMelt by jWork.ORG