libSBML Python API
5.20.2
|
The type is recorded as a value drawn from a set of static integer constants defined in the class . Their names begin with the characters AST_
724 727 The list of possible types is quite long, because it covers all the mathematical functions that are permitted in SBML. The values are shown in the following table: astnode-types.html The types have the following meanings: If the node is basic mathematical operator (e.g., "+"
, then the node's type will be 736 736 736 libsbml#AST_PLUS AST_PLUS , AST_MINUS , AST_TIMES , AST_DIVIDE , or AST_POWER , as appropriate.
AST_FUNCTION_
X, AST_LOGICAL_
X, or AST_RELATIONAL_
X, as appropriate. (Examples: AST_FUNCTION_LOG , AST_RELATIONAL_LEQ .)"ExponentialE"
, "Pi"
, "True"
or "False"
), then the node's type will be AST_CONSTANT_E , AST_CONSTANT_PI , AST_CONSTANT_TRUE , or AST_CONSTANT_FALSE time
, the value of the node will be AST_NAME_TIME . (Note, however, that the MathML csymbol delay
is translated into a node of type AST_FUNCTION_DELAY . The difference is due to the fact that time
is a single variable, whereas delay
is actually a function taking arguments.)avogadro
, the value of the node will be AST_NAME_AVOGADRO rateOf
, the value of the node will be AST_FUNCTION_RATE_OF