simbad.piconode.core.node
Class SOMoutputNeuron
java.lang.Object
simbad.piconode.core.node.Node
simbad.piconode.core.node.ConnectedNode
simbad.piconode.core.node.NeuronalNode
simbad.piconode.core.node.SOMoutputNeuron
- All Implemented Interfaces:
- java.io.Serializable, XmlRepresentation
public class SOMoutputNeuron
- extends NeuronalNode
- implements XmlRepresentation, java.io.Serializable
!n : [major optimisation issue] this class may be suppressed and re-implemented as arrays in the SelfOrganizingMap class
- 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 |
_coordinates
private int[] _coordinates
SOMoutputNeuron
public SOMoutputNeuron(NeuralNetwork __network)
SOMoutputNeuron
public SOMoutputNeuron(NeuralNetwork __network,
java.lang.String __name)
setCoordinates
public void setCoordinates(int[] __coordinates)
step
public void step()
- Description copied from class:
Node
- compute the output of a node/module
- Overrides:
step
in class NeuronalNode
computeDistanceOnMap
public double computeDistanceOnMap(SOMoutputNeuron __targetNeuron)
computeDistanceToTarget
public double computeDistanceToTarget(double[] __target)
adjustWeights
public void adjustWeights(double[] __targetValues,
double _learningRate,
double _influence)
getWeights
public double[] getWeights()
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