* tgbaalgos/emptiness_stats.hh (unsigned_statistics): New base

class for ec_statistics and ars_statistics.
(acss_statistics): Inherit from ars_statistics.
* tgbaalgos/emptiness.cc, tgbaalgos/emptiness.hh:
(emptiness_check::statistics, emptiness_check_result::statistics):
New methods.
* tgbatest/randtgba.cc: Adjust to use the above.
* tgbaalgos/gv04.cc, tgbaalgos/ndfs_result.hxx, tgbaalgos/gtec/ce.cc,
tgbaalgos/gtec/ce.hh: Do not inherit from ars_statistics if
acss_statistics is used.
This commit is contained in:
Alexandre Duret-Lutz 2005-02-03 17:37:11 +00:00
parent ad9eec60f1
commit 9c2c3926c7
9 changed files with 135 additions and 50 deletions

View file

@ -31,8 +31,7 @@ namespace spot
/// Compute a counter example from a spot::couvreur99_check_status
class couvreur99_check_result:
public emptiness_check_result,
public acss_statistics,
public ars_statistics
public acss_statistics
{
public:
couvreur99_check_result(const couvreur99_check_status* ecs);
@ -41,7 +40,7 @@ namespace spot
void print_stats(std::ostream& os) const;
virtual int acss_states() const;
virtual unsigned acss_states() const;
protected:
/// Called by accepting_run() to find a cycle which traverses all