Modifier and Type | Method and Description |
---|---|
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
|
java.lang.String getName()
double evaluate(TransitionSystem ts, Term[] args) throws java.lang.Exception
java.lang.Exception
boolean checkArity(int a)
boolean allowUngroundTerms()