simbad.piconode.core.node
Class Neuron
java.lang.Object
simbad.piconode.core.node.Node
simbad.piconode.core.node.ConnectedNode
simbad.piconode.core.node.NeuronalNode
simbad.piconode.core.node.Neuron
- All Implemented Interfaces:
- java.io.Serializable, XmlRepresentation
- Direct Known Subclasses:
- NeuronForBackPropLearning, RecurrentNeuron
public class Neuron
- extends NeuronalNode
- implements XmlRepresentation, java.io.Serializable
The neuron class contains every thing needed to embed a functional neuron into a NeuralNetwork
module. In particular it embeds a reference to an activation function used to compute the neuron
value and useful information about the neuron status (in/out/hidden).
- See Also:
- Serialized Form
Fields inherited from class simbad.piconode.core.node.Node |
_name, nGene |
Methods inherited from class simbad.piconode.core.node.NeuronalNode |
addIncomingArc, checkNetwork, displayInformation, getIncomingArcAt, getIncomingArcsListSize, getNetwork, getOutputValue, isLearningNode, isNetworkInput, isNetworkOutput, setInputValue, setNetworkInputFlag, setNetworkOutputFlag, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_activationFunction
protected ActivationFunction _activationFunction
Neuron
public Neuron(NeuralNetwork __network)
Neuron
public Neuron(NeuralNetwork __network,
ActivationFunction __activationFunctionObject)
Neuron
public Neuron(NeuralNetwork __network,
java.lang.String __name)
Neuron
public Neuron(NeuralNetwork __network,
ActivationFunction __activationFunctionObject,
java.lang.String __name)
step
public void step()
- Compute output value of neuron according to input values and an activation function
- Overrides:
step
in class NeuronalNode
getActivationFunction
protected ActivationFunction getActivationFunction()
setActivationFunction
public void setActivationFunction(ActivationFunction __activationFunction)
toXml
public java.lang.String toXml()
- Description copied from class:
Node
- Thomas Darde TER NNEDITOR
Provides an xml representation of this element
Xml DTD is defined in visual piconode
- Specified by:
toXml
in interface XmlRepresentation
- Overrides:
toXml
in class NeuronalNode
- Returns:
- an Xml representation of this object