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:
Alexandre Duret-Lutz 2013-08-21 17:53:01 +02:00
parent bfbe5b448b
commit b09ef5bea9
4 changed files with 7 additions and 2 deletions

View file

@ -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);

View file

@ -110,6 +110,7 @@ namespace spot
int dtgba_sat_minimize_;
int dtgba_sat_minimize_acc_;
bool state_based_;
bool wdba_minimize_;
};
/// @}
}