public class JpcEngine extends AbstractPrologEngine
ALL_RESULTS_VAR
Constructor and Description |
---|
JpcEngine() |
Modifier and Type | Method and Description |
---|---|
boolean |
asserta(Term term)
Assert a clause in the logic database.
|
boolean |
assertz(Term term)
Assert a clause in the logic database.
|
Term |
asTerm(String termString,
Jpc context) |
Query |
basicQuery(Term goal,
boolean errorHandledQuery,
Jpc context) |
void |
close()
Close the logic engine and free associated resources.
|
ClauseDatabase |
getClauseDatabase() |
MutableIndexManager |
getIndexManager() |
boolean |
isCloseable() |
boolean |
retractAll(Term term) |
boolean |
retractOne(Term term) |
ThreadModel |
threadModel() |
abolish, allSucceed, asLogtalkEngine, asserta, assertz, asTerm, asTerms, asTerms, bagof, bagof, cd, cd, clause, command, command, command, command, currentOp, currentPrologFlag, currentPrologFlag, currentPrologFlag, ensureLoaded, ensureLoaded, ensureLoaded, findall, findall, flushOutput, forall, getOperatorsContext, isBinaryOperator, isUnaryOperator, loadJpc, loadJpcForLogtalk, loadLogtalkFiles, loadPrologFiles, prologDialect, query, query, query, query, query, query, query, query, retract, setof, setof, setPrologFlag, setPrologFlag, unify, unify, withLogtalk
public MutableIndexManager getIndexManager()
public ClauseDatabase getClauseDatabase()
public boolean isCloseable()
public ThreadModel threadModel()
public Query basicQuery(Term goal, boolean errorHandledQuery, Jpc context)
public void close()
PrologEngine
close
in interface PrologEngine
close
in class AbstractPrologEngine
public boolean asserta(Term term)
AbstractPrologEngine
asserta
in interface PrologDatabase
asserta
in interface PrologEngine
asserta
in class AbstractPrologEngine
public boolean assertz(Term term)
AbstractPrologEngine
assertz
in interface PrologDatabase
assertz
in interface PrologEngine
assertz
in class AbstractPrologEngine
public boolean retractOne(Term term)
public boolean retractAll(Term term)
retractAll
in interface PrologDatabase
retractAll
in interface PrologEngine
retractAll
in class AbstractPrologEngine
Copyright © 2014. All rights reserved.