Class Redundancy
java.lang.Object
fr.inria.rules.integraal.redundancy.Redundancy
Static methods to compute redundancy properties between rules
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanequivalentRules(FORule r1, FORule r2) test whether two FORule are semantically equivalentstatic booleanisRuleIsomorphism(FORule r1, FORule r2) Tests if two rules are equals up to variable renaming
Each rule is seen as a simple conjunction implies conjunction.static booleanruleConsequence(RuleBase rb, FORule r) Uses backward chaining to determine whether a FORule is a logical consequence of a RuleBase
-
Method Details
-
isRuleIsomorphism
-
ruleConsequence
-
equivalentRules
-