|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deri.iris.rules.stratification.LocalStratificationDecorator
public class LocalStratificationDecorator
A rule adaptor that decorates a rule with adornments for local stratification.
| Nested Class Summary | |
|---|---|
static class |
LocalStratificationDecorator.Adornment
An immutable adornment for a single term of a rule head. |
static class |
LocalStratificationDecorator.MatchType
Indication of how well a term (or rule head) matches another term (or rule head). |
| Constructor Summary | |
|---|---|
LocalStratificationDecorator(IRule rule,
List<LocalStratificationDecorator.Adornment> adornments)
Constructor. |
|
| Method Summary | |
|---|---|
List<LocalStratificationDecorator.Adornment> |
getAdornments()
Get the adornments for this rule. |
IRule |
getRule()
Get the decorated rule. |
LocalStratificationDecorator.MatchType |
match(ITuple tuple)
Indicate how well the given tuple (of constants and variables) matches the adornments for this rule. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LocalStratificationDecorator(IRule rule,
List<LocalStratificationDecorator.Adornment> adornments)
rule - The rule to decorate.adornments - The list of adornments.| Method Detail |
|---|
public LocalStratificationDecorator.MatchType match(ITuple tuple)
tuple - The tuple to compare with.
public IRule getRule()
public List<LocalStratificationDecorator.Adornment> getAdornments()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||