org.neuroph.nnet.comp.neuron
Class InputNeuron
java.lang.Object
org.neuroph.core.Neuron
org.neuroph.nnet.comp.neuron.InputNeuron
- All Implemented Interfaces:
- Serializable
public class InputNeuron
- extends Neuron
Provides input neuron behaviour - neuron with input extranaly set, which just
transfer that input to output without change. Its purporse is to distribute its input
to all neurons it is connected to. It has no input connections
- Author:
- Zoran Sevarac
- See Also:
- Serialized Form
Constructor Summary |
InputNeuron()
Creates a new instance of InputNeuron with linear transfer function |
Method Summary |
void |
calculate()
Calculate method of this type of neuron just transfers its externaly set
input (with setNetInput) to its output |
Methods inherited from class org.neuroph.core.Neuron |
addInputConnection, addInputConnection, addInputConnection, addOutputConnection, getConnectionFrom, getError, getInputConnections, getInputFunction, getLabel, getNetInput, getOutConnections, getOutput, getParentLayer, getTransferFunction, getWeights, hasInputConnectionFrom, hasInputConnections, hasOutputConnectionTo, initializeWeights, randomizeWeights, randomizeWeights, randomizeWeights, removeAllConnections, removeAllInputConnections, removeAllOutputConnections, removeInputConnection, removeInputConnectionFrom, removeOutputConnection, removeOutputConnectionTo, reset, setError, setInput, setInputFunction, setLabel, setOutput, setParentLayer, setTransferFunction |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InputNeuron
public InputNeuron()
- Creates a new instance of InputNeuron with linear transfer function
calculate
public void calculate()
- Calculate method of this type of neuron just transfers its externaly set
input (with setNetInput) to its output
- Overrides:
calculate
in class Neuron
Copyright © 2012. All Rights Reserved.