hoa: add two asserts
* src/tgbaalgos/hoa.cc: Here.
This commit is contained in:
parent
0b8b65f96f
commit
314993b201
1 changed files with 5 additions and 0 deletions
|
|
@ -131,6 +131,11 @@ namespace spot
|
||||||
is_deterministic = deterministic;
|
is_deterministic = deterministic;
|
||||||
is_complete = complete;
|
is_complete = complete;
|
||||||
has_state_acc = state_acc;
|
has_state_acc = state_acc;
|
||||||
|
|
||||||
|
// If the automaton declares that it is deterministic or
|
||||||
|
// state-based, make sure that it really is.
|
||||||
|
assert(!aut->is_deterministic() || deterministic);
|
||||||
|
assert(!aut->has_state_based_acc() || state_acc);
|
||||||
}
|
}
|
||||||
|
|
||||||
void number_all_ap()
|
void number_all_ap()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue