| Modifier and Type | Class and Description |
|---|---|
static class |
InferenceEngine.EngineFactory |
| Constructor and Description |
|---|
InferenceEngine() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
assertFormula(String formula)
Add an assertion.
|
abstract String |
submitQuery(String formula,
int timeLimit,
int bindingsLimit)
Submit a query.
|
void |
terminate()
Terminates this instance of InferenceEngine.
|
public abstract String submitQuery(String formula, int timeLimit, int bindingsLimit) throws IOException
formula - query in the KIF syntaxtimeLimit - time limit for answering the query (in seconds)bindingsLimit - limit on the number of bindingsIOException - should not normally be thrownpublic abstract String assertFormula(String formula) throws IOException
formula - asserted formula in the KIF syntaxIOException - should not normally be thrownpublic void terminate()
throws IOException
IOException - should not normally be thrownCopyright © 2015. All rights reserved.