public class Rule extends Object
Title: Rule
Description:
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
| Constructor and Description |
|---|
Rule(aterm.ATermAppl name,
Collection<? extends RuleAtom> head,
Collection<? extends RuleAtom> body) |
Rule(aterm.ATermAppl name,
Collection<? extends RuleAtom> head,
Collection<? extends RuleAtom> body,
Set<aterm.ATermAppl> explanation) |
Rule(Collection<? extends RuleAtom> head,
Collection<? extends RuleAtom> body) |
Rule(Collection<? extends RuleAtom> head,
Collection<? extends RuleAtom> body,
Set<aterm.ATermAppl> explanation) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Collection<? extends RuleAtom> |
getBody() |
Set<aterm.ATermAppl> |
getExplanation(RulesToATermTranslator translator) |
Collection<? extends RuleAtom> |
getHead() |
aterm.ATermAppl |
getName() |
int |
hashCode() |
String |
toString() |
public Rule(Collection<? extends RuleAtom> head, Collection<? extends RuleAtom> body)
public Rule(Collection<? extends RuleAtom> head, Collection<? extends RuleAtom> body, Set<aterm.ATermAppl> explanation)
public Rule(aterm.ATermAppl name,
Collection<? extends RuleAtom> head,
Collection<? extends RuleAtom> body)
public Rule(aterm.ATermAppl name,
Collection<? extends RuleAtom> head,
Collection<? extends RuleAtom> body,
Set<aterm.ATermAppl> explanation)
public Set<aterm.ATermAppl> getExplanation(RulesToATermTranslator translator)
public Collection<? extends RuleAtom> getBody()
public Collection<? extends RuleAtom> getHead()
public aterm.ATermAppl getName()
Copyright © 2019. All rights reserved.