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

Update Partial Reduction Verifier for more precise finding of combinations

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