Package | Description |
---|---|
com.articulate.sigma.semRewrite |
Modifier and Type | Field and Description |
---|---|
java.util.ArrayList<Rule> |
RuleSet.rules |
Modifier and Type | Method and Description |
---|---|
Rule |
Rule.deepCopy() |
static Rule |
Rule.parse(Lexer lex)
We won't know whether it's a fact or a rule until we read the
first token, so the first token for LHS will always be already
in st.sval
|
static Rule |
Rule.parseString(java.lang.String s) |
Modifier and Type | Method and Description |
---|---|
static void |
SemRewriteRuleCheck.isRuleSubsumedByRuleSet(Rule r,
RuleSet rs,
java.util.ArrayList<java.lang.Integer> getSubsumedRules,
java.util.ArrayList<java.lang.Integer> subsumerRules)
get all the Rules in Ruleset that would be subsumed or subsums the rule r
should pass in the arraylist as result space
|
Modifier and Type | Method and Description |
---|---|
static void |
SemRewriteRuleCheck.printRuleSetTree(java.util.ArrayList<Rule> rset,
java.util.Map<java.lang.Integer,java.util.HashSet<java.lang.Integer>> links)
//TODO
|