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.
This commit is contained in:
parent
bfbe5b448b
commit
b09ef5bea9
4 changed files with 7 additions and 2 deletions
|
|
@ -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_;
|
||||
};
|
||||
/// @}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue