public class Reasoner extends Object
| Constructor and Description |
|---|
Reasoner(MindmapsGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
Set<Rule> |
getRules() |
void |
linkConceptTypes()
Link all unlinked rules in the rule base to their matching types
|
QueryAnswers |
resolve(MatchQuery inputQuery) |
QueryAnswers |
resolve(MatchQuery inputQuery,
boolean materialise)
Resolve a given query using the rule base
|
MatchQuery |
resolveToQuery(MatchQuery inputQuery) |
MatchQuery |
resolveToQuery(MatchQuery inputQuery,
boolean materialise)
Resolve a given query using the rule base
|
public Reasoner(MindmapsGraph graph)
public void linkConceptTypes()
public QueryAnswers resolve(MatchQuery inputQuery, boolean materialise)
inputQuery - the query string to be expandedpublic QueryAnswers resolve(MatchQuery inputQuery)
public MatchQuery resolveToQuery(MatchQuery inputQuery, boolean materialise)
inputQuery - the query string to be expandedpublic MatchQuery resolveToQuery(MatchQuery inputQuery)
Copyright © 2016. All rights reserved.