org.simulator.sbml.astnode
Class NamedValue

java.lang.Object
  extended by org.simulator.sbml.astnode.ASTNodeObject
      extended by org.simulator.sbml.astnode.NamedValue

public class NamedValue
extends ASTNodeObject

This class computes and stores values of variables occuring in a function.

Version:
$Rev: 149 $
Author:
Roland Keller

Field Summary
 
Fields inherited from class org.simulator.sbml.astnode.ASTNodeObject
alreadyProcessed, booleanValue, children, denominator, doubleValue, exponent, interpreter, isConstant, isDouble, isInfinite, leftChild, logger, mantissa, name, node, nodeType, numChildren, numerator, real, rightChild, time, units
 
Constructor Summary
NamedValue(ASTNodeInterpreterWithTime interpreter, org.sbml.jsbml.ASTNode node, FunctionValue function)
           
 
Method Summary
protected  void computeDoubleValue()
          Computes the double value of the node.
 
Methods inherited from class org.simulator.sbml.astnode.ASTNodeObject
compileBoolean, compileDouble, computeBooleanValue, getConstant, getName, getTime, getValue, isName, reset, setTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedValue

public NamedValue(ASTNodeInterpreterWithTime interpreter,
                  org.sbml.jsbml.ASTNode node,
                  FunctionValue function)
Parameters:
interpreter -
node -
function -
Method Detail

computeDoubleValue

protected void computeDoubleValue()
Description copied from class: ASTNodeObject
Computes the double value of the node.

Overrides:
computeDoubleValue in class ASTNodeObject