Introduce an emptiness-check interface, and modify the existing
algorithms to conform to it, uniformly. This will unfortunately break third-party code that were using these algorithms. * src/tgbaalgos/emptiness.cc, src/tgbaalgos/emptiness.hh: New files. * src/tgbaalgos/Makefile.am: New files. * src/tgbaalgos/magic.cc, src/tgbaalgos/magic.hh: Adjust to conform to the new emptiness-check interface. * src/tgbaalgos/gtec/ce.cc, src/tgbaalgos/gtec/ce.hh, src/tgbaalgos/gtec/gtec.cc, src/tgbaalgos/gtec/gtec.hh, src/tgbaalgos/gtec/status.cc, src/tgbaalgos/gtec/status.hh: Likewise. The classes have been renamed are as following emptiness_check -> couvreur99_check emptiness_check_shy -> couvreur99_check_shy counter_example -> couvreur99_check_result * src/tgbatest/ltl2tgba.cc, iface/gspn/ltlgspn.cc, iface/gspn/ssp.hh, iface/gspn/ssp.cc: Adjust to renaming and new interface.
This commit is contained in:
parent
7010a02cd9
commit
6c815004c4
16 changed files with 523 additions and 300 deletions
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
namespace spot
|
||||
{
|
||||
emptiness_check_status::emptiness_check_status
|
||||
couvreur99_check_status::couvreur99_check_status
|
||||
(const tgba* aut,
|
||||
const numbered_state_heap_factory* nshf)
|
||||
: aut(aut),
|
||||
|
|
@ -32,13 +32,13 @@ namespace spot
|
|||
{
|
||||
}
|
||||
|
||||
emptiness_check_status::~emptiness_check_status()
|
||||
couvreur99_check_status::~couvreur99_check_status()
|
||||
{
|
||||
delete h;
|
||||
}
|
||||
|
||||
void
|
||||
emptiness_check_status::print_stats(std::ostream& os) const
|
||||
couvreur99_check_status::print_stats(std::ostream& os) const
|
||||
{
|
||||
os << h->size() << " unique states visited" << std::endl;
|
||||
os << root.size()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue