public class RuleState extends QueryStateBase
Resolution state corresponding to a rule application.
| Constructor and Description |
|---|
RuleState(InferenceRule rule,
Answer sub,
Unifier unifier,
QueryStateBase parent,
Set<ReasonerAtomicQuery> visitedSubGoals,
QueryCache<ReasonerAtomicQuery> cache) |
| Modifier and Type | Method and Description |
|---|---|
ResolutionState |
generateSubGoal() |
getUnifiergetSubstitution, isAnswerState, isTopStatepublic RuleState(InferenceRule rule, Answer sub, Unifier unifier, QueryStateBase parent, Set<ReasonerAtomicQuery> visitedSubGoals, QueryCache<ReasonerAtomicQuery> cache)
public ResolutionState generateSubGoal()
generateSubGoal in class ResolutionStateCopyright © 2018 Grakn Labs Ltd. All rights reserved.