public class EngineManager extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static int |
FALSE |
static int |
HALT |
static int |
TRUE |
static int |
TRUE_CP |
Constructor and Description |
---|
EngineManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
ClauseStoreManager |
getClauseStoreManager() |
Engine |
getEngine() |
LibraryManager |
getLibraryManager() |
Prolog |
getMediator() |
PrimitiveManager |
getPrimitiveManager() |
TheoryManager |
getTheoryManager() |
SolveInfo |
solve(Term query)
Solves a query
|
void |
solveEnd()
Accepts current solution
|
void |
solveHalt()
Halts current solve computation
|
SolveInfo |
solveNext()
Gets next solution
|
public static final int HALT
public static final int FALSE
public static final int TRUE
public static final int TRUE_CP
public LibraryManager getLibraryManager()
public TheoryManager getTheoryManager()
public PrimitiveManager getPrimitiveManager()
public ClauseStoreManager getClauseStoreManager()
public SolveInfo solve(Term query)
g
- the term representing the goal to be demonstratedSolveInfo
public Engine getEngine()
public Prolog getMediator()
public SolveInfo solveNext() throws NoMoreSolutionException
NoMoreSolutionException
- if no more solutions are presentSolveInfo
public void solveHalt()
public void solveEnd()
Copyright © 2015. All rights reserved.