public class RulesToReteTranslator extends Object
Title: Rules To Rete Translator
Description: Translates from the rules package rule objects to the rete package rules.
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
| Constructor and Description |
|---|
RulesToReteTranslator(ABox abox) |
| Modifier and Type | Method and Description |
|---|---|
TermTuple |
translateAtom(RuleAtom atom,
DependencySet ds)
Translates a rule atom into a rete triple.
|
Pair<aterm.ATermAppl,DependencySet> |
translateAtomObject(AtomObject obj)
Return a pair of a term, and a dependency set.
|
List<TermTuple> |
translateAtoms(Collection<? extends RuleAtom> atoms,
DependencySet ds)
Translates a list of rule atoms into rete triples.
|
Rule |
translateRule(Rule rule)
Translates a rule.Rule to a rete.Rule.
|
public RulesToReteTranslator(ABox abox)
public TermTuple translateAtom(RuleAtom atom, DependencySet ds)
public Pair<aterm.ATermAppl,DependencySet> translateAtomObject(AtomObject obj)
public List<TermTuple> translateAtoms(Collection<? extends RuleAtom> atoms, DependencySet ds)
Copyright © 2013. All Rights Reserved.