JSHOP2
Interface Calculate
- All Known Implementing Classes:
- Div, Equal, Less, LessEq, Member, Minus, More, MoreEq, Mult, NotEq, Plus, Power
public interface Calculate
This is the common interface for code calls in call terms. Each call term,
when initialized, will have a pointer to an instance of a class that
implements this interface.
- Version:
- 1.0.3
- Author:
- Okhtay Ilghami, http://www.cs.umd.edu/~okhtay
Method Summary |
Term |
call(List l)
This abstract function implements the code call associated with the class
implementing this interface. |
call
Term call(List l)
- This abstract function implements the code call associated with the class
implementing this interface.
- Parameters:
l
- the arguments for this code call as a list of terms.
- Returns:
- the result of the code call, as a term.