simbad.piconode.core.node
Class ValueContainer
java.lang.Object
simbad.piconode.core.node.Node
simbad.piconode.core.node.ConnectedNode
simbad.piconode.core.node.ModularNode
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.Node |
_name, nGene |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_value
private double _value
ValueContainer
public ValueContainer()
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()