* src/misc/optionmap.cc, src/misc/optionmap.hh (option_map::get,

option_map::set): Handle default values.
(anonymous::to_int): Do not print anything.
* src/tgbaalgos/gv04.cc, src/tgbaalgos/gv04.hh,
src/tgbaalgos/tau03.cc, src/tgbaalgos/tau03.hh,
src/tgbaalgos/tau03opt.cc, src/tgbaalgos/tau03opt.hh,
src/tgbaalgos/ce.cc, src/tgbaalgos/ce.hh: Take an option_map in
the constructor.
* src/tgbaalgos/gtec.cc, src/tgbaalgos/gtec.hh: Likewise.  Handle
the "poprem", "group", and "shy" options via the option_map.
Supply a couvreur99() wrapper to the shy/non-shy variant.
* src/tgbatest/ltl2tgba.cc, src/tgbatest/randtgba.cc,
iface/gspn/ssp.cc: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2005-02-16 18:53:18 +00:00
parent 77888e9293
commit f3effb9da0
20 changed files with 274 additions and 203 deletions

View file

@ -744,6 +744,10 @@ main(int argc, char** argv)
assert(!"unknown output option");
}
spot::option_map o;
o.set("poprem", poprem);
o.set("group", couv_group);
spot::emptiness_check* ec = 0;
switch (echeck)
{
@ -751,11 +755,11 @@ main(int argc, char** argv)
break;
case Couvreur:
ec = new spot::couvreur99_check(a, poprem);
ec = new spot::couvreur99_check(a, o);
break;
case Couvreur2:
ec = new spot::couvreur99_check_shy(a, poprem, couv_group);
ec = new spot::couvreur99_check_shy(a, o);
break;
case MagicSearch: