|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deri.iris.rules.stratification.LocalStratifier
public class LocalStratifier
A local stratification algorithm. This algorithm will 'split' rules and so will likely return more rules than were provided.
org.deri.iris.rules.IRuleStratifier#stratify()| Constructor Summary | |
|---|---|
LocalStratifier(boolean strict)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
isStrict()
Indicates if the stratifier is applying strict variable-constant substitutions only. |
List<List<IRule>> |
stratify(List<IRule> rules)
Stratify the rules, i.e. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LocalStratifier(boolean strict)
strict - true, if the stratifier is permitted to substitute variables with constants
when they appear in equality built-ins.
false, if the substitution may only occur when the built-in is an exact equality| Method Detail |
|---|
public boolean isStrict()
public List<List<IRule>> stratify(List<IRule> rules)
IRuleStratifier
stratify in interface IRuleStratifierrules - The collection of rules to stratify
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||