simbad.piconode.core.node
Class Network

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
All Implemented Interfaces:
java.io.Serializable, XmlRepresentation
Direct Known Subclasses:
NeuralNetwork

public abstract class Network
extends Module
implements XmlRepresentation, java.io.Serializable

The Network class provides the minimal basis to define a network module.

See Also:
Serialized Form

Field Summary
protected  java.util.ArrayList _arcList
           
protected  java.util.ArrayList _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
Network()
           
 
Method Summary
 void displayInformation()
          display information on the network
protected  ConstrainedArc getArcAt(int __index)
           
 int getArcListSize()
          return the number of Arcs (if NeuralNetwork : excepting arcs from bias neuron (may be useful when loading/saving weights (e.g.
protected  ConnectedNode getNodeAt(int __index)
           
protected  int getNodeListSize()
           
 void registerArc(ConstrainedArc __arc)
          register an arc into the network (if NeuralNetwork : arcs from the bias neuron are automaticaly registered)
protected  void registerNode(ConnectedNode __neuron)
           
 java.lang.String toXml()
          Thomas Darde TER NNEDITOR Provides an xml representation of this element Xml DTD is defined in visual piconode
 void updateGenotype(Individual_NEATIndividual untrained)
           
 
Methods inherited from class simbad.piconode.core.node.Module
getInputRegister, getInputRegisterSize, getOldOutputRegister, getOldOutputRegisterSize, getOutputRegister, getOutputRegisterSize, setInputRegister, setInputRegisterSize, setOldOutputRegister, setOldOutputRegisterSize, setOutputRegister, setOutputRegisterSize, step, stepModule
 
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, step
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_arcList

protected java.util.ArrayList _arcList

_nodeList

protected java.util.ArrayList _nodeList
Constructor Detail

Network

public Network()
Method Detail

getArcAt

protected ConstrainedArc getArcAt(int __index)

getNodeListSize

protected int getNodeListSize()

getNodeAt

protected ConnectedNode getNodeAt(int __index)

getArcListSize

public int getArcListSize()
return the number of Arcs (if NeuralNetwork : excepting arcs from bias neuron (may be useful when loading/saving weights (e.g. for evolution)))

Returns:

registerArc

public void registerArc(ConstrainedArc __arc)
register an arc into the network (if NeuralNetwork : arcs from the bias neuron are automaticaly registered)

Parameters:
__arc -

displayInformation

public void displayInformation()
display information on the network

Specified by:
displayInformation in class Node

registerNode

protected void registerNode(ConnectedNode __neuron)

updateGenotype

public void updateGenotype(Individual_NEATIndividual untrained)

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 ConnectedNode