|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deri.iris.rules.stratification.LocalStratificationDecorator.Adornment
public static class LocalStratificationDecorator.Adornment
An immutable adornment for a single term of a rule head.
| Constructor Summary | |
|---|---|
LocalStratificationDecorator.Adornment()
|
|
| Method Summary | |
|---|---|
LocalStratificationDecorator.Adornment |
addNegatedConstant(ITerm constantTerm)
Indicate that the rule will never produce 'constantTerm' values in the term decorated with this adornment. |
List<ITerm> |
getNegatedConstants()
Get the negated constants (if any) that this adornment represents. |
ITerm |
getPositiveConstant()
Get the positive constant (if any) that this adornment represents. |
LocalStratificationDecorator.MatchType |
match(ITerm termFromNegatedSubgoal)
Find how well a term (from a dependant rule's negated sub-goal) matches the term decorated with this adornment. |
LocalStratificationDecorator.Adornment |
setConstantTerm(ITerm constantTerm)
Indicate that the rule will ONLY produce 'constantTerm' values in the term decorated with this adornment. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LocalStratificationDecorator.Adornment()
| Method Detail |
|---|
public LocalStratificationDecorator.MatchType match(ITerm termFromNegatedSubgoal)
termFromNegatedSubgoal - The 'interesting' negated sub goal from some rule
public LocalStratificationDecorator.Adornment addNegatedConstant(ITerm constantTerm)
constantTerm - The constant term.
public LocalStratificationDecorator.Adornment setConstantTerm(ITerm constantTerm)
constantTerm - The constant term.
public String toString()
toString in class Objectpublic List<ITerm> getNegatedConstants()
public ITerm getPositiveConstant()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||