|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.ugos.JIProlog.engine.JIPXCall
JIPXCall is the base class for custom built-in predicates.
See the section "How to write a custom built-in predicate" in the Reference Manual
| Constructor Summary | |
JIPXCall()
|
|
| Method Summary | |
JIPEngine |
getJIPEngine()
Returns the current running JIPEngine object |
JIPFunctor |
getPredicate()
Returns the functor of the predicate invoking this instance of JIPXCall class |
int |
getQueryHandle()
Returns the handle of the current running query |
abstract boolean |
hasMoreChoicePoints()
Invoked by xcall/2 to check if the custom predicate has more choice points on backtracking. |
abstract boolean |
unify(JIPCons params,
java.util.Hashtable varsTbl)
Invoked by xcall/2 to check if the custom predicate unify with the passed parameters For more information see the section "How to write a custom built-in predicate" in the Reference Manual. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JIPXCall()
| Method Detail |
public final JIPEngine getJIPEngine()
JIPEnginepublic final int getQueryHandle()
public final JIPFunctor getPredicate()
JIPFunctor
public abstract boolean unify(JIPCons params,
java.util.Hashtable varsTbl)
params - the parameters passed to the predicate.
JIPConspublic abstract boolean hasMoreChoicePoints()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||