* src/tgbaalgos/emptiness_stats.hh: Make sure depth() >= 0.
* src/tgbaalgos/gtec/gtec.hh (couvreur99_check, couvreur99_check_shy): Add the poprem option. * src/tgbaalgos/gtec/gtec.cc: Implement it. * src/tgbaalgos/gtec/sccstack.cc, src/tgbaalgos/gtec/sccstack.hh (scc_stack::rem, scc_stack::clear_rem, scc_stack::connected_component::rem): New. * src/tgbatest/ltl2tgba.cc, src/tgbatest/randtgba.cc: Add rem variants.
This commit is contained in:
parent
b1800e382c
commit
5fb5b68407
9 changed files with 206 additions and 46 deletions
|
|
@ -22,6 +22,8 @@
|
|||
#ifndef SPOT_TGBAALGOS_EMPTINESS_STATS_HH
|
||||
# define SPOT_TGBAALGOS_EMPTINESS_STATS_HH
|
||||
|
||||
#include <cassert>
|
||||
|
||||
namespace spot
|
||||
{
|
||||
|
||||
|
|
@ -42,7 +44,7 @@ namespace spot
|
|||
}
|
||||
|
||||
void
|
||||
set_states(int n)
|
||||
set_states(unsigned n)
|
||||
{
|
||||
states_ = n;
|
||||
}
|
||||
|
|
@ -60,7 +62,7 @@ namespace spot
|
|||
}
|
||||
|
||||
void
|
||||
inc_depth(int n = 1)
|
||||
inc_depth(unsigned n = 1)
|
||||
{
|
||||
depth_ += n;
|
||||
if (depth_ > max_depth_)
|
||||
|
|
@ -68,8 +70,9 @@ namespace spot
|
|||
}
|
||||
|
||||
void
|
||||
dec_depth(int n = 1)
|
||||
dec_depth(unsigned n = 1)
|
||||
{
|
||||
assert(depth_ >= n);
|
||||
depth_ -= n;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue