|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArithFunction
Common interface for all arithmetic functions
Method Summary | |
---|---|
boolean |
allowUngroundTerms()
returns true if the arguments of the function can be unground (as in .count) |
boolean |
checkArity(int a)
returns true if a is a good number of arguments for the function |
double |
evaluate(TransitionSystem ts,
Term[] args)
evaluates/computes the function based on the args |
java.lang.String |
getName()
returns the name of the function |
Method Detail |
---|
java.lang.String getName()
double evaluate(TransitionSystem ts, Term[] args) throws java.lang.Exception
java.lang.Exception
boolean checkArity(int a)
boolean allowUngroundTerms()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |