| |
com.declarativa.interprolog
Class YAPSubprocessEngine
java.lang.Object
com.declarativa.interprolog.AbstractPrologEngine
com.declarativa.interprolog.SubprocessEngine
com.declarativa.interprolog.YAPSubprocessEngine
- All Implemented Interfaces:
- PrologEngine
- public class YAPSubprocessEngine
- extends SubprocessEngine
A PrologEngine encapsulating a YAP Prolog engine, accessed over TCP/IP sockets.
Method Summary |
boolean |
realCommand(String s)
This implementation may get stuck if the command includes variables, because the Prolog
top level interpreter may offer to compute more solutions; use variables prefixed with '_' |
Methods inherited from class com.declarativa.interprolog.SubprocessEngine |
addPrologOutputListener, addPrologStderrListener, addPrologStdoutListener, deterministicGoal, isAvailable, removePrologOutputListener, removePrologStderrListener, removePrologStdoutListener, sendAndFlush, sendAndFlushLn, setDebug, shutdown |
Methods inherited from class com.declarativa.interprolog.AbstractPrologEngine |
abortTasks, assignableType, command, consultAbsolute, consultFromPackage, consultRelative, deterministicGoal, deterministicGoal, deterministicGoal, deterministicGoal, doCallback, endAllTasks, findConstructor, findMethod, firstJavaMessage, getImplementationPeer, getJarDirectory, getJarDirectory, getLoadFromJar, getPrologBaseDirectory, getPrologNumericVersion, getPrologVersion, getRealJavaObject, getRealJavaObject, getRealJavaObject, handleCallback, interrupt, interruptTasks, isDebug, isIdle, isMacOS, isShutingDown, isWindowsOS, load_dynRelative, makeInvisible, printBindings, progressMessage, prologBinToBaseDirectory, registerJavaObject, setThreadedCallbacks, shortClassName, teachMoreObjects, teachMoreObjects, teachMoreObjects, teachOneObject, unescapedFilePath, unregisterJavaObject, unregisterJavaObject, unregisterJavaObjects, waitUntilAvailable, waitUntilIdle |
YAPSubprocessEngine
public YAPSubprocessEngine(String prologCommand,
boolean debug,
boolean loadFromJar)
YAPSubprocessEngine
public YAPSubprocessEngine(String prologCommand,
boolean debug)
YAPSubprocessEngine
public YAPSubprocessEngine(String prologCommand)
YAPSubprocessEngine
public YAPSubprocessEngine(boolean debug)
YAPSubprocessEngine
public YAPSubprocessEngine()
realCommand
public boolean realCommand(String s)
- Description copied from class:
SubprocessEngine
- This implementation may get stuck if the command includes variables, because the Prolog
top level interpreter may offer to compute more solutions; use variables prefixed with '_'
- Overrides:
realCommand in class SubprocessEngine
|