|
||||||||||
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.SpeciesValue
public class SpeciesValue
This class computes and stores values of ASTNodes that refer to a species.
Field Summary | |
---|---|
protected int |
compartmentPosition
The position of the compartment value of the species in the Y vector of the value holder |
protected boolean |
hasOnlySubstanceUnits
The hasOnlySubstanceUnits attribute of the species |
protected String |
id
The id of the species |
protected boolean |
isAmount
Is the Y value of the species referring to an amount? |
protected boolean |
isSetInitialConcentration
Has the species an initial concentration set? |
protected int |
position
The position of the species value in the Y vector of the value holder |
protected Species |
s
The corresponding species |
protected SBMLValueHolder |
valueHolder
The value holder that stores the current simulation results |
protected boolean |
zeroSpatialDimensions
Has the compartment of the species no spatial dimensions? |
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 | |
---|---|
SpeciesValue(ASTNodeInterpreter interpreter,
ASTNode node,
Species s,
SBMLValueHolder valueHolder,
int position,
int compartmentPosition,
boolean zeroSpatialDimensions,
boolean isAmount)
|
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 Species s
protected String id
protected SBMLValueHolder valueHolder
protected boolean isAmount
protected boolean hasOnlySubstanceUnits
protected boolean isSetInitialConcentration
protected int position
protected int compartmentPosition
protected boolean zeroSpatialDimensions
Constructor Detail |
---|
public SpeciesValue(ASTNodeInterpreter interpreter, ASTNode node, Species s, SBMLValueHolder valueHolder, int position, int compartmentPosition, boolean zeroSpatialDimensions, boolean isAmount)
interpreter
- node
- s
- valueHolder
- position
- compartmentPosition
- zeroSpatialDimensions
- 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 |