HEADER

ru.biosoft.math.model
Interface Function

All Known Implementing Classes:
AstFunctionDeclaration, PredefinedFunction, UndeclaredFunction

public interface Function

Any function or operator.

pending - refine priorities.

Field Summary
 final static intASSIGNMENT_PRIORITY
           
 final static intFUNCTION_PRIORITY
           
 final static intLOGICAL_PRIORITY
           
 final static intPLUS_PRIORITY
           
 final static intPOWER_PRIORITY
           
 final static intRELATIONAL_PRIORITY
           
 final static intTIMES_PRIORITY
           
 final static intUNARY_PRIORITY
           

Method Summary
 StringgetName()
          Returns the name of the node (operator symbol or function name).
 intgetNumberOfParameters()
          Returns the number of required parameters, or -1 if any number of parameters is allowed.
 intgetPriority()
          Returns the function or operator priority.

Field Detail

ASSIGNMENT_PRIORITY

public final static int ASSIGNMENT_PRIORITY

FUNCTION_PRIORITY

public final static int FUNCTION_PRIORITY

LOGICAL_PRIORITY

public final static int LOGICAL_PRIORITY

PLUS_PRIORITY

public final static int PLUS_PRIORITY

POWER_PRIORITY

public final static int POWER_PRIORITY

RELATIONAL_PRIORITY

public final static int RELATIONAL_PRIORITY

TIMES_PRIORITY

public final static int TIMES_PRIORITY

UNARY_PRIORITY

public final static int UNARY_PRIORITY
Method Detail

getName

public String getName()
Returns the name of the node (operator symbol or function name).

getNumberOfParameters

public int getNumberOfParameters()
Returns the number of required parameters, or -1 if any number of parameters is allowed.

getPriority

public int getPriority()
Returns the function or operator priority.

FOOTER

BOTTOM