ASTNodeCompiler
HTMLFormula
MathMLXMLStreamCompiler
instead.@Deprecated public class MathMLCompiler extends java.lang.Object implements ASTNodeCompiler
ASTNode
can be transformed into a MathML
string.Constructor | Description |
---|---|
MathMLCompiler() |
Deprecated.
|
MathMLCompiler(ASTNode ast) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
ASTNodeValue |
abs(ASTNode value) |
Deprecated.
The absolute value represented by the given
ASTNode . |
ASTNodeValue |
and(java.util.List<ASTNode> values) |
Deprecated.
|
ASTNodeValue |
arccos(ASTNode value) |
Deprecated.
|
ASTNodeValue |
arccosh(ASTNode value) |
Deprecated.
|
ASTNodeValue |
arccot(ASTNode value) |
Deprecated.
|
ASTNodeValue |
arccoth(ASTNode value) |
Deprecated.
|
ASTNodeValue |
arccsc(ASTNode value) |
Deprecated.
|
ASTNodeValue |
arccsch(ASTNode value) |
Deprecated.
|
ASTNodeValue |
arcsec(ASTNode value) |
Deprecated.
|
ASTNodeValue |
arcsech(ASTNode value) |
Deprecated.
|
ASTNodeValue |
arcsin(ASTNode value) |
Deprecated.
|
ASTNodeValue |
arcsinh(ASTNode value) |
Deprecated.
|
ASTNodeValue |
arctan(ASTNode value) |
Deprecated.
|
ASTNodeValue |
arctanh(ASTNode value) |
Deprecated.
|
ASTNodeValue |
ceiling(ASTNode value) |
Deprecated.
|
ASTNodeValue |
compile(double mantissa,
int exponent,
java.lang.String units) |
Deprecated.
Creates an
ASTNodeValue that represents a real number in
scientific notation, i.e., mantissa * 10^exponent, and the given units. |
ASTNodeValue |
compile(double real,
java.lang.String units) |
Deprecated.
|
ASTNodeValue |
compile(int integer,
java.lang.String units) |
Deprecated.
|
ASTNodeValue |
compile(java.lang.String name) |
Deprecated.
A compiler will also have to deal with a name.
|
ASTNodeValue |
compile(CallableSBase variable) |
Deprecated.
|
ASTNodeValue |
compile(Compartment c) |
Deprecated.
|
ASTNodeValue |
cos(ASTNode value) |
Deprecated.
|
ASTNodeValue |
cosh(ASTNode value) |
Deprecated.
|
ASTNodeValue |
cot(ASTNode value) |
Deprecated.
|
ASTNodeValue |
coth(ASTNode value) |
Deprecated.
|
ASTNodeValue |
csc(ASTNode value) |
Deprecated.
|
ASTNodeValue |
csch(ASTNode value) |
Deprecated.
|
ASTNodeValue |
delay(java.lang.String delayName,
ASTNode x,
ASTNode delay,
java.lang.String timeUnit) |
Deprecated.
Evaluates delay functions.
|
ASTNodeValue |
eq(ASTNode left,
ASTNode right) |
Deprecated.
Equal.
|
ASTNodeValue |
exp(ASTNode value) |
Deprecated.
|
ASTNodeValue |
factorial(ASTNode value) |
Deprecated.
|
ASTNodeValue |
floor(ASTNode value) |
Deprecated.
|
ASTNodeValue |
frac(int numerator,
int denominator) |
Deprecated.
A fraction of two int values.
|
ASTNodeValue |
frac(ASTNode numerator,
ASTNode denominator) |
Deprecated.
Fraction of two
ASTNode s |
ASTNodeValue |
function(java.lang.String functionDefinitionName,
java.util.List<ASTNode> args) |
Deprecated.
|
ASTNodeValue |
function(FunctionDefinition functionDefinition,
java.util.List<ASTNode> args) |
Deprecated.
|
ASTNodeValue |
functionCsymbol(ASTNode csymbol) |
Deprecated.
Process an ASTNode that contain an extended csymbol function.
|
ASTNodeValue |
geq(ASTNode left,
ASTNode right) |
Deprecated.
Greater equal.
|
ASTNodeValue |
getConstantAvogadro(java.lang.String name) |
Deprecated.
Creates an
ASTNodeValue that represent's Avogadro's number. |
ASTNodeValue |
getConstantE() |
Deprecated.
|
ASTNodeValue |
getConstantFalse() |
Deprecated.
|
ASTNodeValue |
getConstantPi() |
Deprecated.
|
ASTNodeValue |
getConstantTrue() |
Deprecated.
|
org.w3c.dom.Document |
getDocument() |
Deprecated.
|
int |
getLevel() |
Deprecated.
|
ASTNodeValue |
getNegativeInfinity() |
Deprecated.
|
ASTNodeValue |
getPositiveInfinity() |
Deprecated.
|
ASTNodeValue |
getRateOf(ASTNode nameAST) |
Deprecated.
Returns the instantaneous rate of change, with respect to time, of an entity in the model.
|
ASTNodeValue |
gt(ASTNode left,
ASTNode right) |
Deprecated.
Greater than.
|
ASTNodeValue |
implies(java.util.List<ASTNode> values) |
Deprecated.
Returns the logical implies between two
ASTNode . |
ASTNodeValue |
lambda(java.util.List<ASTNode> values) |
Deprecated.
The body of a
FunctionDefinition . |
ASTNodeValue |
leq(ASTNode left,
ASTNode right) |
Deprecated.
Less equal.
|
ASTNodeValue |
ln(ASTNode value) |
Deprecated.
Natural logarithm.
|
ASTNodeValue |
log(ASTNode value) |
Deprecated.
Logarithm of the given value to base 10.
|
ASTNodeValue |
log(ASTNode base,
ASTNode value) |
Deprecated.
Logarithm of the given value to the given base.
|
ASTNodeValue |
lt(ASTNode left,
ASTNode right) |
Deprecated.
Less than.
|
ASTNodeValue |
max(java.util.List<ASTNode> values) |
Deprecated.
Returns the maximum of the values.
|
ASTNodeValue |
min(java.util.List<ASTNode> values) |
Deprecated.
Returns the minimum of the values.
|
ASTNodeValue |
minus(java.util.List<ASTNode> values) |
Deprecated.
Subtraction.
|
ASTNodeValue |
neq(ASTNode left,
ASTNode right) |
Deprecated.
Not equal.
|
ASTNodeValue |
not(ASTNode value) |
Deprecated.
|
ASTNodeValue |
or(java.util.List<ASTNode> values) |
Deprecated.
|
ASTNodeValue |
piecewise(java.util.List<ASTNode> values) |
Deprecated.
|
ASTNodeValue |
plus(java.util.List<ASTNode> values) |
Deprecated.
|
ASTNodeValue |
pow(ASTNode base,
ASTNode exponent) |
Deprecated.
|
ASTNodeValue |
quotient(java.util.List<ASTNode> values) |
Deprecated.
Returns the quotient of the division of the values.
|
ASTNodeValue |
rem(java.util.List<ASTNode> values) |
Deprecated.
Returns the remainder of the division of the values.
|
void |
reset() |
Deprecated.
Allows to re-use this object to compile another
ASTNode . |
ASTNodeValue |
root(double rootExponent,
ASTNode radiant) |
Deprecated.
|
ASTNodeValue |
root(ASTNode rootExponent,
ASTNode radiant) |
Deprecated.
|
ASTNodeValue |
sec(ASTNode value) |
Deprecated.
|
ASTNodeValue |
sech(ASTNode value) |
Deprecated.
|
ASTNodeValue |
selector(java.util.List<ASTNode> nodes) |
Deprecated.
|
ASTNodeValue |
sin(ASTNode value) |
Deprecated.
|
ASTNodeValue |
sinh(ASTNode value) |
Deprecated.
|
ASTNodeValue |
sqrt(ASTNode value) |
Deprecated.
Square root.
|
ASTNodeValue |
symbolTime(java.lang.String time) |
Deprecated.
The simulation time.
|
ASTNodeValue |
tan(ASTNode value) |
Deprecated.
|
ASTNodeValue |
tanh(ASTNode value) |
Deprecated.
|
ASTNodeValue |
times(java.util.List<ASTNode> values) |
Deprecated.
Product of all given
ASTNode s. |
java.lang.String |
toMathML(boolean omitXMLDeclaration,
boolean indenting,
int indent) |
Deprecated.
|
ASTNodeValue |
uMinus(ASTNode value) |
Deprecated.
Unary minus, i.e., negation of the given
ASTNode . |
ASTNodeValue |
unknownValue() |
Deprecated.
Dealing with a malformed
ASTNode . |
ASTNodeValue |
vector(java.util.List<ASTNode> nodes) |
Deprecated.
Dealing with a vector.
|
ASTNodeValue |
xor(java.util.List<ASTNode> values) |
Deprecated.
Exclusive or.
|
public MathMLCompiler() throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public MathMLCompiler(ASTNode ast) throws javax.xml.stream.XMLStreamException, SBMLException
ast
- javax.xml.stream.XMLStreamException
SBMLException
public ASTNodeValue abs(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
ASTNodeCompiler
ASTNode
.abs
in interface ASTNodeCompiler
value
- Must be interpretable as a Number
.SBMLException
org.w3c.dom.DOMException
public ASTNodeValue and(java.util.List<ASTNode> values) throws org.w3c.dom.DOMException, SBMLException
and
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue arccos(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
arccos
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue arccosh(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
arccosh
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue arccot(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
arccot
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue arccoth(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
arccoth
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue arccsc(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
arccsc
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue arccsch(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
arccsch
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue arcsec(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
arcsec
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue arcsech(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
arcsech
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue arcsin(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
arcsin
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue arcsinh(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
arcsinh
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue arctan(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
arctan
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue arctanh(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
arctanh
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue ceiling(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
ceiling
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue compile(Compartment c)
compile
in interface ASTNodeCompiler
public ASTNodeValue compile(double mantissa, int exponent, java.lang.String units)
ASTNodeCompiler
ASTNodeValue
that represents a real number in
scientific notation, i.e., mantissa * 10^exponent, and the given units.compile
in interface ASTNodeCompiler
mantissa
- The number to be multiplied with ten to the power of the given
exponent.exponent
- The exponent for the multiplier ten.units
- The identifier of the units object associated with the number
represented by this element. Can be null if no units have been
defined.public ASTNodeValue compile(double real, java.lang.String units)
compile
in interface ASTNodeCompiler
units
- A String representing the Unit
of the given number.
This can be the identifier of a UnitDefinition
in the
model or a literal in Unit.Kind
. Can be null if no units
have been defined.public ASTNodeValue compile(int integer, java.lang.String units)
compile
in interface ASTNodeCompiler
units
- A String representing the Unit
of the given number.
This can be the identifier of a UnitDefinition
in the
model or a literal in Unit.Kind
. Can be null if no units
have been defined.public ASTNodeValue compile(CallableSBase variable)
compile
in interface ASTNodeCompiler
public ASTNodeValue compile(java.lang.String name)
ASTNodeCompiler
Species
in the
system. In case of numerical computation, the ASTNodeCompiler
must create an ASTNodeValue
representing the current value of
this Species
.compile
in interface ASTNodeCompiler
public ASTNodeValue cos(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
cos
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue cosh(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
cosh
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue cot(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
cot
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue coth(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
coth
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue csc(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
csc
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue csch(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
csch
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue delay(java.lang.String delayName, ASTNode x, ASTNode delay, java.lang.String timeUnit) throws org.w3c.dom.DOMException, SBMLException
ASTNodeCompiler
delay
in interface ASTNodeCompiler
delayName
- the name of this delay function.delay
- an expression of a positive duration time (the amoutn of
delay)timeUnit
- the units for the delay.SBMLException
org.w3c.dom.DOMException
public ASTNodeValue eq(ASTNode left, ASTNode right) throws org.w3c.dom.DOMException, SBMLException
ASTNodeCompiler
eq
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue exp(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
exp
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue factorial(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
factorial
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue floor(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
floor
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue frac(ASTNode numerator, ASTNode denominator) throws org.w3c.dom.DOMException, SBMLException
ASTNodeCompiler
ASTNode
sfrac
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue frac(int numerator, int denominator) throws org.w3c.dom.DOMException, SBMLException
ASTNodeCompiler
frac
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue function(FunctionDefinition functionDefinition, java.util.List<ASTNode> args) throws org.w3c.dom.DOMException, SBMLException
function
in interface ASTNodeCompiler
args
- Values to be inserted into the parameter list of the
function.SBMLException
org.w3c.dom.DOMException
public ASTNodeValue function(java.lang.String functionDefinitionName, java.util.List<ASTNode> args) throws SBMLException
function
in interface ASTNodeCompiler
args
- Values to be inserted into the parameter list of the
function.SBMLException
public ASTNodeValue functionCsymbol(ASTNode csymbol) throws SBMLException
ASTNodeCompiler
functionCsymbol
in interface ASTNodeCompiler
SBMLException
public ASTNodeValue geq(ASTNode left, ASTNode right) throws org.w3c.dom.DOMException, SBMLException
ASTNodeCompiler
geq
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue getConstantAvogadro(java.lang.String name)
ASTNodeCompiler
ASTNodeValue
that represent's Avogadro's number.
Optionally, the compiler may associate the given name with this number.getConstantAvogadro
in interface ASTNodeCompiler
name
- An optional name for Avogadro's number.public ASTNodeValue getConstantE()
getConstantE
in interface ASTNodeCompiler
public ASTNodeValue getConstantFalse()
getConstantFalse
in interface ASTNodeCompiler
public ASTNodeValue getConstantPi()
getConstantPi
in interface ASTNodeCompiler
public ASTNodeValue getConstantTrue()
getConstantTrue
in interface ASTNodeCompiler
public org.w3c.dom.Document getDocument() throws SBMLException
SBMLException
public int getLevel()
public ASTNodeValue getNegativeInfinity() throws org.w3c.dom.DOMException, SBMLException
getNegativeInfinity
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue getPositiveInfinity()
getPositiveInfinity
in interface ASTNodeCompiler
public ASTNodeValue gt(ASTNode left, ASTNode right) throws org.w3c.dom.DOMException, SBMLException
ASTNodeCompiler
gt
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue lambda(java.util.List<ASTNode> values) throws org.w3c.dom.DOMException, SBMLException
ASTNodeCompiler
FunctionDefinition
.lambda
in interface ASTNodeCompiler
values
- Place holders for arguments.SBMLException
org.w3c.dom.DOMException
public ASTNodeValue leq(ASTNode left, ASTNode right) throws org.w3c.dom.DOMException, SBMLException
ASTNodeCompiler
leq
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue ln(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
ASTNodeCompiler
ln
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue log(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
ASTNodeCompiler
log
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue log(ASTNode base, ASTNode value) throws org.w3c.dom.DOMException, SBMLException
ASTNodeCompiler
log
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue lt(ASTNode left, ASTNode right) throws org.w3c.dom.DOMException, SBMLException
ASTNodeCompiler
lt
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue minus(java.util.List<ASTNode> values) throws org.w3c.dom.DOMException, SBMLException
ASTNodeCompiler
minus
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue neq(ASTNode left, ASTNode right) throws org.w3c.dom.DOMException, SBMLException
ASTNodeCompiler
neq
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue not(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
not
in interface ASTNodeCompiler
value
- This value must be interpretable as a Boolean
.SBMLException
org.w3c.dom.DOMException
public ASTNodeValue or(java.util.List<ASTNode> values) throws org.w3c.dom.DOMException, SBMLException
or
in interface ASTNodeCompiler
values
- These values must be interpretable as a Boolean
.SBMLException
org.w3c.dom.DOMException
public ASTNodeValue piecewise(java.util.List<ASTNode> values) throws org.w3c.dom.DOMException, SBMLException
piecewise
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue plus(java.util.List<ASTNode> values) throws org.w3c.dom.DOMException, SBMLException
plus
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue pow(ASTNode base, ASTNode exponent) throws org.w3c.dom.DOMException, SBMLException
pow
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public void reset() throws javax.xml.stream.XMLStreamException
ASTNode
. Without
reseting, this compiler can only be used one time. Otherwise it cannot be
guaranteed that the results will be correct.javax.xml.stream.XMLStreamException
public ASTNodeValue root(ASTNode rootExponent, ASTNode radiant) throws org.w3c.dom.DOMException, SBMLException
root
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue root(double rootExponent, ASTNode radiant) throws org.w3c.dom.DOMException, SBMLException
root
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue sec(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
sec
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue sech(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
sech
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue sin(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
sin
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue sinh(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
sinh
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue sqrt(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
ASTNodeCompiler
sqrt
in interface ASTNodeCompiler
value
- This value must be interpretable as a Number
.SBMLException
org.w3c.dom.DOMException
public ASTNodeValue symbolTime(java.lang.String time)
ASTNodeCompiler
symbolTime
in interface ASTNodeCompiler
time
- The name of the time symbol.ASTNodeValue
that represents the current time.public ASTNodeValue tan(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
tan
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue tanh(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
tanh
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue times(java.util.List<ASTNode> values) throws org.w3c.dom.DOMException, SBMLException
ASTNodeCompiler
ASTNode
s.times
in interface ASTNodeCompiler
values
- These values must be interpretable to Number
.SBMLException
org.w3c.dom.DOMException
public java.lang.String toMathML(boolean omitXMLDeclaration, boolean indenting, int indent) throws java.io.IOException, SBMLException
omitXMLDeclaration
- indenting
- indent
- java.io.IOException
SBMLException
public ASTNodeValue uMinus(ASTNode value) throws org.w3c.dom.DOMException, SBMLException
ASTNodeCompiler
ASTNode
.uMinus
in interface ASTNodeCompiler
SBMLException
org.w3c.dom.DOMException
public ASTNodeValue unknownValue() throws SBMLException
ASTNodeCompiler
ASTNode
.unknownValue
in interface ASTNodeCompiler
SBMLException
public ASTNodeValue xor(java.util.List<ASTNode> values) throws org.w3c.dom.DOMException, SBMLException
ASTNodeCompiler
xor
in interface ASTNodeCompiler
values
- It must be possible to evaluate the given values to
Boolean
.SBMLException
org.w3c.dom.DOMException
public ASTNodeValue selector(java.util.List<ASTNode> nodes) throws SBMLException
selector
in interface ASTNodeCompiler
SBMLException
public ASTNodeValue vector(java.util.List<ASTNode> nodes) throws SBMLException
ASTNodeCompiler
vector
in interface ASTNodeCompiler
SBMLException
public ASTNodeValue max(java.util.List<ASTNode> values)
ASTNodeCompiler
max
in interface ASTNodeCompiler
public ASTNodeValue min(java.util.List<ASTNode> values)
ASTNodeCompiler
min
in interface ASTNodeCompiler
public ASTNodeValue quotient(java.util.List<ASTNode> values)
ASTNodeCompiler
quotient
in interface ASTNodeCompiler
public ASTNodeValue rem(java.util.List<ASTNode> values)
ASTNodeCompiler
rem
in interface ASTNodeCompiler
public ASTNodeValue implies(java.util.List<ASTNode> values)
ASTNodeCompiler
implies
in interface ASTNodeCompiler
ASTNode
.public ASTNodeValue getRateOf(ASTNode nameAST)
ASTNodeCompiler
It is a function that takes a single argument, an identifier of
type SId . The allowable identifiers for use with rateOf in SBML Level 3 Version 2 Core are restricted
to those of Compartment
, LocalParameter
, Parameter
, Species
, and SpeciesReference
objects in the
enclosing model; in addition, SBML Level 3 packages may define entities with mathematical meaning
whose rateOf 's can be referenced. Note that rateOf is not allowed for Reaction
objects, because their
identifiers already represent the rate of change of the reaction, and calculating second derivatives is
beyond the scope of this construct. Likewise, there is no sensible meaning to be given to the rateOf of
a FunctionDefinition, Event, Priority, Delay, or other SBML entities.
getRateOf
in interface ASTNodeCompiler
nameAST
- an ASTNode representing an identifier