public class InferenceRule extends Object
Class providing resolution and higher level facilities for rule objects.
| Constructor and Description |
|---|
InferenceRule(Rule rule,
GraknGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
Query |
getBody() |
AtomicQuery |
getHead() |
Atom |
getRuleConclusionAtom() |
void |
unify(Atom parentAtom)
make rule consistent variable-wise with the parent atom by means of unification
|
public InferenceRule(Rule rule, GraknGraph graph)
public Query getBody()
public AtomicQuery getHead()
public Atom getRuleConclusionAtom()
public void unify(Atom parentAtom)
parentAtom - atom the rule should be unified withCopyright © 2017 Grakn Labs Ltd. All rights reserved.