ValNode.java

Go to the documentation of this file.
00001 package com.graphbuilder.math;
00002 
00006 public class ValNode extends Expression {
00007 
00008     protected double val = 0.0;
00009 
00010     public ValNode(double d) {
00011         val = d;
00012     }
00013 
00017     public double eval(VarMap v, FuncMap f) {
00018         return val;
00019     }
00020 
00021     public double getValue() {
00022         return val;
00023     }
00024 
00025     public void setValue(double d) {
00026         val = d;
00027     }
00028 }

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1