simbad.piconode.core.node
Class SOMoutputNeuron

java.lang.Object
  extended by simbad.piconode.core.node.Node
      extended by simbad.piconode.core.node.ConnectedNode
          extended by simbad.piconode.core.node.NeuronalNode
              extended by 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

Field Summary
private  int[] _coordinates
           
 
Fields inherited from class simbad.piconode.core.node.NeuronalNode
_isInputNode, _isOutputNode, _network, _neuronValue
 
Fields inherited from class simbad.piconode.core.node.ConnectedNode
_incomingArcsList, _outgoingArcsList
 
Fields inherited from class simbad.piconode.core.node.Node
_name, nGene
 
Constructor Summary
SOMoutputNeuron(NeuralNetwork __network)
           
SOMoutputNeuron(NeuralNetwork __network, java.lang.String __name)
           
 
Method Summary
 void adjustWeights(double[] __targetValues, double _learningRate, double _influence)
           
 double computeDistanceOnMap(SOMoutputNeuron __targetNeuron)
           
 double computeDistanceToTarget(double[] __target)
           
 double[] getWeights()
           
 void setCoordinates(int[] __coordinates)
           
 void step()
          compute the output of a node/module
 java.lang.String toXml()
          Thomas Darde TER NNEDITOR Provides an xml representation of this element Xml DTD is defined in visual piconode
 
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 simbad.piconode.core.node.ConnectedNode
addIncomingArc, addOutgoingArc, getIncomingArcsList, getOutgoingArcAt, getOutgoingArcsList, getOutgoingArcsListSize
 
Methods inherited from class simbad.piconode.core.node.Node
getName, getNGene, setName, setNGene
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_coordinates

private int[] _coordinates
Constructor Detail

SOMoutputNeuron

public SOMoutputNeuron(NeuralNetwork __network)

SOMoutputNeuron

public SOMoutputNeuron(NeuralNetwork __network,
                       java.lang.String __name)
Method Detail

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