simbad.piconode.core.node
Class FeedForwardNeuralNetwork

java.lang.Object
  extended by simbad.piconode.core.node.Node
      extended by simbad.piconode.core.node.ConnectedNode
          extended by simbad.piconode.core.node.ModularNode
              extended by simbad.piconode.core.node.Module
                  extended by simbad.piconode.core.node.Network
                      extended by simbad.piconode.core.node.NeuralNetwork
                          extended by simbad.piconode.core.node.FeedForwardNeuralNetwork
All Implemented Interfaces:
java.io.Serializable, XmlRepresentation
Direct Known Subclasses:
FeedForwardNeuralNetworkForBackPropLearning

public class FeedForwardNeuralNetwork
extends NeuralNetwork
implements XmlRepresentation, java.io.Serializable

This class implement a simple feed-forward neural network (no special properties)

See Also:
Serialized Form

Field Summary
 
Fields inherited from class simbad.piconode.core.node.NeuralNetwork
_activationFunctionForArcsFromBiasNeuron, _allNeuronsUnorderedList, _biasArcList, _biasNeuron, _containsBiasNeuron, _init, _inputNeuronsList, _outputNeuronsList
 
Fields inherited from class simbad.piconode.core.node.Network
_arcList, _nodeList
 
Fields inherited from class simbad.piconode.core.node.ConnectedNode
_incomingArcsList, _outgoingArcsList
 
Fields inherited from class simbad.piconode.core.node.Node
_name, nGene
 
Constructor Summary
FeedForwardNeuralNetwork()
          create a new network with no bias neuron.
FeedForwardNeuralNetwork(ActivationFunction __activationFunctionForArcsFromBiasNeuron)
          Create a new network that contains a bias neuron.
 
Method Summary
 void initNetwork()
          Perform initialization of the network.
 void step()
          perform one iteration step using input data from incoming nodes if any -- arity must be correct
 void step(java.util.ArrayList __inputValuesList)
          compute output values from input values (i.e.
 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.NeuralNetwork
addBiasNeuron, containsBiasNeuron, displayInformation, getBiasArcAt, getBiasArcListSize, getInputNeuronListSize, getNodeAt, getNodeListSize, getNumberOfAllArcs, getOutputNeuronAt, getOutputNeuronListSize, getWeightsFromAllArcs, getWeightsFromBiasArcs, getWeightsFromStdArcs, registerArc, registerBiasArc, registerInputNeuron, registerNode, registerOutputNeuron, setAllArcsWeightValues, setBiasArcsWeightValues, setStdArcsWeightValues, stepModule
 
Methods inherited from class simbad.piconode.core.node.Network
getArcAt, getArcListSize, updateGenotype
 
Methods inherited from class simbad.piconode.core.node.Module
getInputRegister, getInputRegisterSize, getOldOutputRegister, getOldOutputRegisterSize, getOutputRegister, getOutputRegisterSize, setInputRegister, setInputRegisterSize, setOldOutputRegister, setOldOutputRegisterSize, setOutputRegister, setOutputRegisterSize
 
Methods inherited from class simbad.piconode.core.node.ModularNode
isUpdated, setUpdated
 
Methods inherited from class simbad.piconode.core.node.ConnectedNode
addIncomingArc, addOutgoingArc, getIncomingArcAt, getIncomingArcsList, getIncomingArcsListSize, 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
 

Constructor Detail

FeedForwardNeuralNetwork

public FeedForwardNeuralNetwork()
create a new network with no bias neuron.


FeedForwardNeuralNetwork

public FeedForwardNeuralNetwork(ActivationFunction __activationFunctionForArcsFromBiasNeuron)
Create a new network that contains a bias neuron. Activation function for arcs from bias neuron is given as parameter.

Parameters:
__activationFunctionFromBiasNeuron -
Method Detail

initNetwork

public void initNetwork()
Perform initialization of the network. Should be called only once after all neurons and arcs are registered and input and ouput neurons are identified.


step

public void step(java.util.ArrayList __inputValuesList)
compute output values from input values (i.e. f(in)=out).

Specified by:
step in class Module
Parameters:
__inputValuesList -

step

public void step()
perform one iteration step using input data from incoming nodes if any -- arity must be correct

Specified by:
step in class Node
Parameters:
__valuesList -

toXml

public java.lang.String toXml()
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 NeuralNetwork