Simulation Core Library

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 LocalParameter.

Since:
1.0
Version:
$Rev: 205 $
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, double delay)
          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, getNode, 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,
                            double delay)
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:
doubleValue the double value of the node

Generated at March 17 2014
Version 1.4 Revision 453