org.simulator.sbml.astnode
Class LocalParameterValue

java.lang.Object
  extended by org.simulator.sbml.astnode.ASTNodeValue
      extended by org.simulator.sbml.astnode.LocalParameterValue

public class LocalParameterValue
extends ASTNodeValue

This class computes and stores values of ASTNodes that refer to a local parameter.

Since:
1.0
Version:
$Rev: 203 $
Author:
Roland Keller

Field Summary
protected  LocalParameter lp
          The corresponding local parameter
 
Fields inherited from class org.simulator.sbml.astnode.ASTNodeValue
alreadyProcessed, booleanValue, children, denominator, doubleValue, exponent, interpreter, isConstant, isDouble, isInfinite, leftChild, logger, mantissa, name, node, nodeType, numChildren, numerator, real, rightChild, time, units
 
Constructor Summary
LocalParameterValue(ASTNodeInterpreter interpreter, ASTNode node, LocalParameter lp)
           
 
Method Summary
 double compileDouble(double time)
          Computes the double value if the time has changed and otherwise returns the already computed value
 
Methods inherited from class org.simulator.sbml.astnode.ASTNodeValue
compileBoolean, computeBooleanValue, computeDoubleValue, 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
 

Field Detail

lp

protected LocalParameter lp
The corresponding local parameter

Constructor Detail

LocalParameterValue

public LocalParameterValue(ASTNodeInterpreter interpreter,
                           ASTNode node,
                           LocalParameter lp)
Parameters:
interpreter -
node -
lp -
Method Detail

compileDouble

public double compileDouble(double time)
Description copied from class: ASTNodeValue
Computes the double value if the time has changed and otherwise returns the already computed value

Overrides:
compileDouble in class ASTNodeValue
Returns: