|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.graphbuilder.math.Expression
com.graphbuilder.math.ValNode
A node of an expression tree that represents a value. A ValNode cannot have any children.
| Field Summary | |
protected double |
val
|
| Fields inherited from class com.graphbuilder.math.Expression |
parent |
| Constructor Summary | |
ValNode(double d)
|
|
| Method Summary | |
double |
eval(VarMap v,
FuncMap f)
Returns the value. |
double |
getValue()
|
void |
setValue(double d)
|
| Methods inherited from class com.graphbuilder.math.Expression |
checkBeforeAccept, getFunctionNames, getParent, getVariableNames, isDescendent, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected double val
| Constructor Detail |
public ValNode(double d)
| Method Detail |
public double eval(VarMap v,
FuncMap f)
eval in class Expressionpublic double getValue()
public void setValue(double d)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||