|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.simulator.sbml.astnode.ASTNodeValue
org.simulator.sbml.astnode.CompartmentOrParameterValue
public class CompartmentOrParameterValue
This class computes and stores values of ASTNodes that refer to a compartment or a parameter.
Field Summary | |
---|---|
protected String |
id
The id of the compartment or parameter. |
protected int |
position
The position of the current compartment/parameter value in the Y vector of the value holder |
protected Symbol |
sb
The compartment or parameter the corresponding ASTNode is referring to |
protected SBMLValueHolder |
valueHolder
The value holder that stores the current simulation results. |
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 | |
---|---|
CompartmentOrParameterValue(ASTNodeInterpreter interpreter,
ASTNode node,
Symbol sb,
SBMLValueHolder valueHolder,
int position)
|
Method Summary | |
---|---|
protected void |
computeDoubleValue()
Computes the double value of the node. |
Methods inherited from class org.simulator.sbml.astnode.ASTNodeValue |
---|
compileBoolean, compileDouble, computeBooleanValue, 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 |
---|
protected Symbol sb
protected String id
protected SBMLValueHolder valueHolder
protected int position
Constructor Detail |
---|
public CompartmentOrParameterValue(ASTNodeInterpreter interpreter, ASTNode node, Symbol sb, SBMLValueHolder valueHolder, int position)
interpreter
- node
- sb
- valueHolder
- position
- Method Detail |
---|
protected void computeDoubleValue()
ASTNodeValue
computeDoubleValue
in class ASTNodeValue
|
Generated December 13 2012 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |