// 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:   AbstractIdentifier.java

package lt.monarch.function;


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

public abstract class AbstractIdentifier
    implements Identifier
{

    public String name()
    {
        return name;
    }

    public boolean isConstant()
    {
        return false;
    }

    public Identifier derivative(int i)
    {
        throw new FunctionError("Derivative not supported");
    }

    public void compileRef(NodeCompiler nodecompiler, Node anode[])
    {
        throw new FunctionError("Compilation not supported");
    }

    public abstract int parameterCount();

    public abstract double evaluate(double ad[]);

    public AbstractIdentifier(String s)
    {
        name = s;
    }

    protected String name;
}
