Commit b09ef5be authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

postproc: disable WDBA-minimization on request

* src/tgbaalgos/postproc.cc, src/tgbaalgos/postproc.hh:
Implement the wdba-minimize option.
* src/bin/spot-x.cc (wdba-minimize): Document.
* src/bin/man/spot-x.x: Update references.
parent bfbe5b44
......@@ -18,7 +18,7 @@ Describes the WDBA-minimization algorithm implemented in Spot.
2.
Tomáš Babiak, Thomas Badie, Alexandre Duret-Lutz, Mojmír Křetínský,
Jan Strejček: Compositional Approach to Suspension and Other
Improvements to LTL Translation. Proceedings of SPIN'13. LNCS XXXX.
Improvements to LTL Translation. Proceedings of SPIN'13. LNCS 7976.
Describes the compositional suspension, the simulation-based
reductions, and the SCC-based simplifications.
......@@ -26,3 +26,4 @@ reductions, and the SCC-based simplifications.
[SEE ALSO]
.BR ltl2tgba (1)
.BR ltl2tgta (1)
.BR dstar2tgba (1)
......@@ -90,6 +90,8 @@ on the Büchi automaton (i.e., after degeneralization has been performed). \
Set to 1 to use only direct simulation. Set to 2 to use only reverse \
simulation. Set to 3 to iterate both direct and reverse simulations. \
The default is 3 in --high mode, and 0 otherwise.") },
{ DOC("wdba-minimize", "Set to 0 to disable WDBA-minimization. \
Enabled by default.") },
{ 0, 0, 0, 0, 0, 0 }
};
......
......@@ -59,6 +59,7 @@ namespace spot
if (dtgba_sat_minimize_ == -1 && dtgba_sat_minimize_acc_ >= 0)
dtgba_sat_minimize_ = 0;
state_based_ = opt->get("state-based", 0);
wdba_minimize_ = opt->get("wdba-minimize", 1);
}
}
......@@ -200,7 +201,7 @@ namespace spot
// (Small,Low) is the only configuration where we do not run
// WDBA-minimization.
if (pref_ != Small || level_ != Low)
if ((pref_ != Small || level_ != Low) && wdba_minimize_)
{
bool reject_bigger = (pref_ == Small) && (level_ == Medium);
dba = minimize_obligation(a, f, 0, reject_bigger);
......
......@@ -110,6 +110,7 @@ namespace spot
int dtgba_sat_minimize_;
int dtgba_sat_minimize_acc_;
bool state_based_;
bool wdba_minimize_;
};
/// @}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment