simbad.piconode.core.node
Class ValueContainer

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.ValueContainer
All Implemented Interfaces:
java.io.Serializable, XmlRepresentation

public class ValueContainer
extends ModularNode
implements XmlRepresentation, java.io.Serializable

a ValueContainer object contains a simple double value and may be linked from and to other objects. The motiation for this object is to provide a generic framework for linking nodes in a network. see step() methods in corresponding objects.

See Also:
Serialized Form

Field Summary
private  double _value
           
 
Fields inherited from class simbad.piconode.core.node.ConnectedNode
_incomingArcsList, _outgoingArcsList
 
Fields inherited from class simbad.piconode.core.node.Node
_name, nGene
 
Constructor Summary
ValueContainer()
           
 
Method Summary
 void displayInformation()
          display information
 double getOutputRegister(int index)
           
 double getValue()
           
 void resetUpdate()
           
 void setInputRegister(int index, double value)
           
 void setValue(double __value)
           
 void step()
          not applicable for this object.
 void stepModule()
          perform one step on this module, i.e.
 
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, toXml
 
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
 
Methods inherited from interface simbad.piconode.XmlRepresentation
toXml
 

Field Detail

_value

private double _value
Constructor Detail

ValueContainer

public ValueContainer()
Method Detail

displayInformation

public void displayInformation()
Description copied from class: Node
display information

Specified by:
displayInformation in class Node

step

public void step()
not applicable for this object. (future implementation : decay possible?)

Specified by:
step in class Node

setValue

public void setValue(double __value)

getValue

public double getValue()

getOutputRegister

public double getOutputRegister(int index)
Specified by:
getOutputRegister in class ModularNode

setInputRegister

public void setInputRegister(int index,
                             double value)
Specified by:
setInputRegister in class ModularNode

stepModule

public void stepModule()
perform one step on this module, i.e. in this special case, calls successors *only* Warning : ValueContainer does not bother with backward dependencies and thus should be explicitly called only if it is an entry point.

Specified by:
stepModule in class ModularNode

resetUpdate

public void resetUpdate()