simbad.piconode.core.node
Class NeuronalNode
java.lang.Object
simbad.piconode.core.node.Node
simbad.piconode.core.node.ConnectedNode
simbad.piconode.core.node.NeuronalNode
- All Implemented Interfaces:
- java.io.Serializable, XmlRepresentation
- Direct Known Subclasses:
- Neuron, SOMoutputNeuron
public class NeuronalNode
- extends ConnectedNode
- implements XmlRepresentation, java.io.Serializable
- See Also:
- Serialized Form
Fields inherited from class simbad.piconode.core.node.Node |
_name, nGene |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_network
protected NeuralNetwork _network
_neuronValue
protected double _neuronValue
_isInputNode
protected boolean _isInputNode
_isOutputNode
protected boolean _isOutputNode
NeuronalNode
public NeuronalNode(NeuralNetwork __network)
NeuronalNode
public NeuronalNode(NeuralNetwork __network,
java.lang.String __name)
isLearningNode
public boolean isLearningNode()
setValue
protected void setValue(double __neuronValue)
setNetworkInputFlag
protected void setNetworkInputFlag(boolean __flag)
setNetworkOutputFlag
protected void setNetworkOutputFlag(boolean __flag)
checkNetwork
protected boolean checkNetwork(NeuralNetwork __network)
- Compute output value of neuron according to input values and an activation function
displayInformation
public void displayInformation()
- Description copied from class:
Node
- display information
- Specified by:
displayInformation
in class Node
setInputValue
public void setInputValue(double __inputValue)
- This method is used to set the value of an **input** neuron.
- Parameters:
__inputValue
-
getOutputValue
public double getOutputValue()
- This method is used to get the value of the neuron (usually, only output neurons values are of interest to the user).
- Returns:
isNetworkInput
public boolean isNetworkInput()
isNetworkOutput
public boolean isNetworkOutput()
getIncomingArcsListSize
protected int getIncomingArcsListSize()
- Overrides:
getIncomingArcsListSize
in class ConnectedNode
getIncomingArcAt
protected Arc getIncomingArcAt(int __index)
- Overrides:
getIncomingArcAt
in class ConnectedNode
addIncomingArc
public void addIncomingArc(ConstrainedArc __arc)
getNetwork
public NeuralNetwork getNetwork()
step
public void step()
- Description copied from class:
Node
- compute the output of a node/module
- Specified by:
step
in class Node
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 ConnectedNode