gnu.prolog.vm.buildins.arithmetics
Class Predicate_less_than
java.lang.Object
   gnu.prolog.vm.ExecuteOnlyCode
gnu.prolog.vm.ExecuteOnlyCode
       gnu.prolog.vm.buildins.arithmetics.Predicate_less_than
gnu.prolog.vm.buildins.arithmetics.Predicate_less_than
- All Implemented Interfaces: 
- Installable, PrologCode
- public class Predicate_less_than 
- extends ExecuteOnlyCode
prolog code
 
 
 
| Method Summary | 
|  int | execute(Interpreter interpreter,
        boolean backtrackMode,
        Term[] args)this method is used for execution of code
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Predicate_less_than
public Predicate_less_than()
execute
public int execute(Interpreter interpreter,
                   boolean backtrackMode,
                   Term[] args)
            throws PrologException
- Description copied from interface: PrologCode
- this method is used for execution of code
 
- 
- Specified by:
- executein interface- PrologCode
- Specified by:
- executein class- ExecuteOnlyCode
 
- 
- Parameters:
- interpreter- interpreter in which context code is executed
- backtrackMode- true if predicate is called on backtracking and false otherwise
- args- arguments of code
- Returns:
- either SUCCESS, SUCCESS_LAST, or FAIL.
- Throws:
- PrologException