* iface/gspn/ltleesrg.cc: Emptinesscheck the full product, not

the control automaton.
This commit is contained in:
Alexandre Duret-Lutz 2004-01-06 10:12:00 +00:00
parent 4341a7553e
commit 23f1a6f2c6
2 changed files with 6 additions and 3 deletions

View file

@ -1,5 +1,8 @@
2004-01-06 Alexandre Duret-Lutz <adl@src.lip6.fr> 2004-01-06 Alexandre Duret-Lutz <adl@src.lip6.fr>
* iface/gspn/ltleesrg.cc: Emptinesscheck the full product, not
the control automaton.
* iface/gspn/eesrg.cc (tgba_gspn_eesrg::project_state): New method. * iface/gspn/eesrg.cc (tgba_gspn_eesrg::project_state): New method.
* iface/gspn/eesrg.hh: Likewise. * iface/gspn/eesrg.hh: Likewise.

View file

@ -1,4 +1,4 @@
// Copyright (C) 2003 Laboratoire d'Informatique de Paris 6 (LIP6), // Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
// département Systèmes Répartis Coopératifs (SRC), Université Pierre // département Systèmes Répartis Coopératifs (SRC), Université Pierre
// et Marie Curie. // et Marie Curie.
// //
@ -69,12 +69,12 @@ main(int argc, char **argv)
{ {
spot::tgba_gspn_eesrg a(dict, env, prod); spot::tgba_gspn_eesrg a(dict, env, prod);
spot::emptiness_check ec(prod); spot::emptiness_check ec(&a);
bool res = ec.check(); bool res = ec.check();
if (!res) if (!res)
{ {
ec.counter_example(); ec.counter_example();
ec.print_result(std::cout, prod); ec.print_result(std::cout, &a);
exit(1); exit(1);
} }
else else