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