public class RuleExplanation extends QueryExplanation
Explanation class for rule application.
| Constructor and Description |
|---|
RuleExplanation(ReasonerQuery q,
InferenceRule rl) |
| Modifier and Type | Method and Description |
|---|---|
Explanation |
childOf(ConceptMap ans) |
InferenceRule |
getRule() |
boolean |
isRuleExplanation() |
Explanation |
setQuery(ReasonerQuery q) |
deductions, explicit, getAnswers, getQuery, isEmpty, isJoinExplanation, isLookupExplanationpublic RuleExplanation(ReasonerQuery q, InferenceRule rl)
public Explanation setQuery(ReasonerQuery q)
setQuery in interface ExplanationsetQuery in class QueryExplanationpublic Explanation childOf(ConceptMap ans)
childOf in interface ExplanationchildOf in class QueryExplanationpublic boolean isRuleExplanation()
isRuleExplanation in interface ExplanationisRuleExplanation in class QueryExplanationpublic InferenceRule getRule()
Copyright © 2018 Grakn Labs Ltd. All rights reserved.