public class FunctionValue extends ASTNodeValue
ASTNode
s that refer to the
application of a FunctionDefinition
.Modifier and Type | Field | Description |
---|---|---|
protected double[] |
argumentValues |
The current values of the function arguments.
|
protected ASTNodeValue |
evaluationBlock |
The value of the evaluation block of the function stored in an ASTNodeObject.
|
protected Map<String,Integer> |
indexMap |
A map for storing the indexes of the arguments in the array argumentValues.
|
protected org.sbml.jsbml.ASTNode |
math |
The math of the function definition.
|
protected List<String> |
variables |
The variables of the function
|
alreadyProcessed, booleanValue, children, denominator, doubleValue, exponent, interpreter, isConstant, isDouble, isInfinite, leftChild, logger, mantissa, name, node, nodeType, numChildren, numerator, real, rightChild, time, units
Constructor | Description |
---|---|
FunctionValue(ASTNodeInterpreter interpreter,
org.sbml.jsbml.ASTNode node,
List<org.sbml.jsbml.ASTNode> variableNodes) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
computeBooleanValue() |
Computes the boolean value of the node.
|
protected void |
computeDoubleValue(double delay) |
Computes the double value of the node.
|
double[] |
getArgumentValues() |
Returns the values of the arguments.
|
int |
getIndex(String argumentName) |
Returns the index of a specific argument.
|
void |
setMath(org.sbml.jsbml.ASTNode math) |
Sets the math and evaluation block of the function definition.
|
compileBoolean, compileDouble, getConstant, getName, getNode, getTime, getValue, isName, reset, setTime
protected ASTNodeValue evaluationBlock
protected double[] argumentValues
protected Map<String,Integer> indexMap
protected org.sbml.jsbml.ASTNode math
public FunctionValue(ASTNodeInterpreter interpreter, org.sbml.jsbml.ASTNode node, List<org.sbml.jsbml.ASTNode> variableNodes)
interpreter
- the interpreternode
- the corresponding ASTNodevariableNodes
- the variables of the function as ASTNodesprotected void computeDoubleValue(double delay)
ASTNodeValue
computeDoubleValue
in class ASTNodeValue
protected void computeBooleanValue()
ASTNodeValue
computeBooleanValue
in class ASTNodeValue
public void setMath(org.sbml.jsbml.ASTNode math)
math
- public double[] getArgumentValues()
public int getIndex(String argumentName)
argumentName
- Copyright © 2007–2018. All rights reserved.