Package com.graphbuilder.math
Class VarNode
java.lang.Object
com.graphbuilder.math.Expression
com.graphbuilder.math.TermNode
com.graphbuilder.math.VarNode
A node of an expression tree that represents a variable. A VarNode cannot have any children.
-
Field Summary
Fields inherited from class com.graphbuilder.math.Expression
parent -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.graphbuilder.math.Expression
checkBeforeAccept, getFunctionNames, getParent, getVariableNames, isDescendent, toString
-
Constructor Details
-
VarNode
-
-
Method Details
-
eval
Returns the value associated with the variable name in the VarMap.- Specified by:
evalin classExpression
-