org.simulator.sbml
Class SpecialASTNodeValue

java.lang.Object
  extended by org.sbml.jsbml.util.compilers.ASTNodeValue
      extended by org.simulator.sbml.SpecialASTNodeValue

public class SpecialASTNodeValue
extends org.sbml.jsbml.util.compilers.ASTNodeValue

Run-time efficient implementation of ASTNodeValue

Since:
0.9
Version:
$Rev: 147 $
Author:
Roland Keller

Constructor Summary
SpecialASTNodeValue(EfficientASTNodeInterpreter interpreter)
           
 
Method Summary
 boolean compileBoolean(double time)
          Compiles the ASTNode at the current time to a boolean value.
 double compileDouble(double time)
          Compiles the ASTNode at the current time to a double value.
 java.lang.Object getValue()
           
 
Methods inherited from class org.sbml.jsbml.util.compilers.ASTNodeValue
containsUndeclaredUnits, getLevel, getType, getUnits, getVersion, isBoolean, isCallableSBase, isDifference, isNode, isNumber, isSetUnit, isString, isSum, isUMinus, isUnary, printValueAndUnit, setLevel, setType, setUIFlag, setUnits, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setVersion, toBoolean, toCallableSBase, toDouble, toFloat, toInteger, toLong, toNode, toNumber, toString, unsetUnit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpecialASTNodeValue

public SpecialASTNodeValue(EfficientASTNodeInterpreter interpreter)
Parameters:
compiler -
Method Detail

compileDouble

public final double compileDouble(double time)
                           throws org.sbml.jsbml.SBMLException
Compiles the ASTNode at the current time to a double value.

Parameters:
the - current time
Returns:
the double value
Throws:
org.sbml.jsbml.SBMLException

compileBoolean

public final boolean compileBoolean(double time)
                             throws org.sbml.jsbml.SBMLException
Compiles the ASTNode at the current time to a boolean value.

Parameters:
the - current time
Returns:
the double value
Throws:
org.sbml.jsbml.SBMLException

getValue

public java.lang.Object getValue()
Overrides:
getValue in class org.sbml.jsbml.util.compilers.ASTNodeValue