// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3) space 
// Source File Name:   Variable.java

package lt.monarch.function;


// Referenced classes of package lt.monarch.function:
//            Parameter, NodeCompiler, Node

public class Variable extends Parameter
{

    public void setValue(double d)
    {
        value = d;
    }

    public double getValue()
    {
        return value;
    }

    public double evaluate(double ad[])
    {
        return value;
    }

    public void compileRef(NodeCompiler nodecompiler, Node anode[])
    {
        nodecompiler.appendVariable(this);
    }

    public Variable(String s)
    {
        super(s);
    }

    public Variable(String s, double d)
    {
        super(s);
        value = d;
    }

    protected double value;
}
