public class FormulaCompilerLibSBML extends FormulaCompiler
Strings that represent the
content of ASTNodes and try to reproduce the output generated by the LibSBML L3 parser.
This class give an output that is closer to the output produced by the libSBML formulaToL3String method.
DECIMAL_FORMAT, REAL_FORMAT, SCIENTIFIC_FORMAT, underscore| Constructor and Description |
|---|
FormulaCompilerLibSBML() |
| Modifier and Type | Method and Description |
|---|---|
ASTNodeValue |
and(java.util.List<ASTNode> nodes) |
ASTNodeValue |
eq(ASTNode left,
ASTNode right)
Equal.
|
ASTNodeValue |
factorial(ASTNode node) |
ASTNodeValue |
geq(ASTNode left,
ASTNode right)
Greater equal.
|
ASTNodeValue |
gt(ASTNode left,
ASTNode right)
Greater than.
|
ASTNodeValue |
leq(ASTNode left,
ASTNode right)
Less equal.
|
ASTNodeValue |
lt(ASTNode left,
ASTNode right)
Less than.
|
ASTNodeValue |
neq(ASTNode left,
ASTNode right)
Not equal.
|
ASTNodeValue |
or(java.util.List<ASTNode> nodes) |
ASTNodeValue |
xor(java.util.List<ASTNode> nodes)
Exclusive or.
|
abs, arccos, arccosh, arccot, arccoth, arccsc, arccsch, arcsec, arcsech, arcsin, arcsinh, arctan, arctanh, brackets, ceiling, compile, compile, compile, compile, compile, compile, cos, cosh, cot, coth, csc, csch, delay, diff, exp, floor, frac, frac, frac, function, function, functionCsymbol, getConstantAvogadro, getConstantE, getConstantFalse, getConstantPi, getConstantTrue, getNegativeInfinity, getPositiveInfinity, getRateOf, implies, lambda, ln, log, log, max, min, minus, not, piecewise, plus, pow, pow, quotient, rem, root, root, root, sec, sech, selector, sin, sinh, sqrt, sqrt, sum, symbolTime, tan, tanh, times, times, uMinus, unknownValue, vectorappend, append, concat, concatStringBuilder, encodeForHTML, fill, fill, firstLetterLowerCase, firstLetterUpperCase, getMessage, getWordForNumber, leadingZeros, newLine, parseSBMLBoolean, parseSBMLBooleanStrict, parseSBMLDouble, parseSBMLDoubleStrict, parseSBMLInt, parseSBMLShort, parseSBMLShortStrict, toHTML, toHTML, toString, toString, toXMLAnnotationString, toXMLMessageString, toXMLNotesStringpublic ASTNodeValue and(java.util.List<ASTNode> nodes) throws SBMLException
and in interface ASTNodeCompilerand in class FormulaCompilerSBMLExceptionpublic ASTNodeValue eq(ASTNode left, ASTNode right) throws SBMLException
ASTNodeCompilereq in interface ASTNodeCompilereq in class FormulaCompilerSBMLExceptionpublic ASTNodeValue factorial(ASTNode node)
factorial in interface ASTNodeCompilerfactorial in class FormulaCompilerpublic ASTNodeValue geq(ASTNode left, ASTNode right) throws SBMLException
ASTNodeCompilergeq in interface ASTNodeCompilergeq in class FormulaCompilerSBMLExceptionpublic ASTNodeValue gt(ASTNode left, ASTNode right) throws SBMLException
ASTNodeCompilergt in interface ASTNodeCompilergt in class FormulaCompilerSBMLExceptionpublic ASTNodeValue leq(ASTNode left, ASTNode right) throws SBMLException
ASTNodeCompilerleq in interface ASTNodeCompilerleq in class FormulaCompilerSBMLExceptionpublic ASTNodeValue lt(ASTNode left, ASTNode right) throws SBMLException
ASTNodeCompilerlt in interface ASTNodeCompilerlt in class FormulaCompilerSBMLExceptionpublic ASTNodeValue neq(ASTNode left, ASTNode right) throws SBMLException
ASTNodeCompilerneq in interface ASTNodeCompilerneq in class FormulaCompilerSBMLExceptionpublic ASTNodeValue or(java.util.List<ASTNode> nodes) throws SBMLException
or in interface ASTNodeCompileror in class FormulaCompilernodes - These values must be interpretable as a Boolean.SBMLExceptionpublic ASTNodeValue xor(java.util.List<ASTNode> nodes) throws SBMLException
ASTNodeCompilerxor in interface ASTNodeCompilerxor in class FormulaCompilernodes - It must be possible to evaluate the given values to
Boolean.SBMLException