* src/tgbaalgos/emptinesscheck.cc (emptiness_check::print_stats):

New function.
* src/tgbaalgos/emptinesscheck.hh (emptiness_check::print_stats):
Likewise.
* iface/gspn/ltlgspn.cc (main) <Couvreur>: Call print_stats().
* iface/gspn/ltleesrg.cc (main): Likewise.
This commit is contained in:
Alexandre Duret-Lutz 2004-01-09 10:56:56 +00:00
parent 4732d165db
commit 7a54e04800
5 changed files with 35 additions and 3 deletions

View file

@ -633,4 +633,17 @@ namespace spot
// forming a cycle.
complete_cycle(scc, start, suffix.back());
}
void
emptiness_check::print_stats(std::ostream& os) const
{
os << h.size() << " unique states visited" << std::endl;
os << suffix.size() << " states in suffix" << std::endl;
os << period.size() << " states in period" << std::endl;
os << root.size()
<< " strongly connected components in search stack"
<< std::endl;
}
}