Skip to content
Snippets Groups Projects
Commit cbaacf58 authored by Jonas Blatt's avatar Jonas Blatt :ant:
Browse files

Update Partial Reduction Verifier for more precise finding of combinations

parent 506b22c1
Branches
Tags
No related merge requests found
......@@ -74,14 +74,18 @@ public class PartialReductionVerifier extends AbstractVerifier {
boolean found = false;
boolean comb = true;
// 1. Is subsumption?
if (!hasCombination && currentRuleValue.getBoundary()
if ((!hasCombination || subsumptionRule == currentRuleValue.getVDmnRule())
&& currentRuleValue
.getBoundary()
.checkWith(SUBSUMES, currentRuleValueNext.getBoundary())) {
if (subsumptionRule == null || subsumptionRule == currentRuleValue.getVDmnRule()) {
subsumptionRule = currentRuleValue.getVDmnRule();
found = true;
}
}
if (!hasCombination && currentRuleValueNext.getBoundary()
if ((!hasCombination || subsumptionRule == currentRuleValueNext.getVDmnRule())
&& currentRuleValueNext
.getBoundary()
.checkWith(SUBSUMES, currentRuleValue.getBoundary())) {
if (subsumptionRule == null || subsumptionRule == currentRuleValueNext.getVDmnRule()) {
subsumptionRule = currentRuleValueNext.getVDmnRule();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment