public class QueryExplanation extends Object implements Explanation
Base class for explanation classes.
| Constructor and Description |
|---|
QueryExplanation() |
| Modifier and Type | Method and Description |
|---|---|
Explanation |
childOf(ConceptMap ans) |
Set<ConceptMap> |
deductions() |
Set<ConceptMap> |
explicit() |
com.google.common.collect.ImmutableList<ConceptMap> |
getAnswers() |
ReasonerQuery |
getQuery() |
boolean |
isEmpty() |
boolean |
isJoinExplanation() |
boolean |
isLookupExplanation() |
boolean |
isRuleExplanation() |
Explanation |
setQuery(ReasonerQuery q) |
public Explanation setQuery(ReasonerQuery q)
setQuery in interface Explanationpublic Explanation childOf(ConceptMap ans)
childOf in interface Explanationpublic com.google.common.collect.ImmutableList<ConceptMap> getAnswers()
getAnswers in interface Explanationpublic Set<ConceptMap> explicit()
explicit in interface Explanationpublic Set<ConceptMap> deductions()
deductions in interface Explanationpublic boolean isLookupExplanation()
isLookupExplanation in interface Explanationpublic boolean isRuleExplanation()
isRuleExplanation in interface Explanationpublic boolean isJoinExplanation()
isJoinExplanation in interface Explanationpublic boolean isEmpty()
isEmpty in interface Explanationpublic ReasonerQuery getQuery()
getQuery in interface ExplanationCopyright © 2018 Grakn Labs Ltd. All rights reserved.