org.simulator.sbml.astnode
Class LocalParameterValue
java.lang.Object
org.simulator.sbml.astnode.ASTNodeValue
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
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 |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lp
protected LocalParameter lp
- The corresponding local parameter
LocalParameterValue
public LocalParameterValue(ASTNodeInterpreter interpreter,
ASTNode node,
LocalParameter lp)
- Parameters:
interpreter
- node
- lp
-
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: