| Modifier and Type | Field and Description |
|---|---|
protected Set<InferenceRule> |
Atom.applicableRules |
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<InferenceRule> |
Atom.getApplicableRules() |
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<InferenceRule> |
OntologicalAtom.getApplicableRules() |
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<InferenceRule> |
RuleCache.getApplicableRules(Atom atom) |
java.util.stream.Stream<Pair<InferenceRule,Unifier>> |
RuleCache.getRuleStream(Atom atom) |
| Modifier and Type | Method and Description |
|---|---|
InferenceRule |
RuleExplanation.getRule() |
| Constructor and Description |
|---|
RuleExplanation(ReasonerQuery q,
InferenceRule rl) |
| Modifier and Type | Method and Description |
|---|---|
InferenceRule |
InferenceRule.rewrite(Atom parentAtom)
rewrite the rule to a form with user defined variables
|
| Modifier and Type | Method and Description |
|---|---|
static Set<InferenceRule> |
RuleUtils.getDependentRules(ReasonerQueryImpl query) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
RuleUtils.subGraphHasRulesWithHeadSatisfyingBody(Set<InferenceRule> rules) |
static boolean |
RuleUtils.subGraphIsCyclical(Set<InferenceRule> rules) |
| Constructor and Description |
|---|
RuleState(InferenceRule rule,
ConceptMap sub,
Unifier unifier,
QueryStateBase parent,
Set<ReasonerAtomicQuery> visitedSubGoals,
SimpleQueryCache<ReasonerAtomicQuery> cache) |
Copyright © 2018 Grakn Labs Ltd. All rights reserved.