to_parity: improve remove_false_transitions
* spot/twaalgos/toparity.hh (remove_false_transitions): Keep it private. * spot/twaalgos/toparity.cc (remove_false_transitions): Do not clone automata without false transitions, simplify the loops, and preserve all properties.
This commit is contained in:
parent
1db319267f
commit
0a95314dca
2 changed files with 18 additions and 16 deletions
|
|
@ -77,10 +77,6 @@ namespace spot
|
|||
to_parity(const twa_graph_ptr &aut,
|
||||
const to_parity_options options = to_parity_options());
|
||||
|
||||
SPOT_API twa_graph_ptr
|
||||
remove_false_transitions(const twa_graph_ptr a);
|
||||
|
||||
|
||||
/// \ingroup twa_acc_transform
|
||||
/// \brief Take an automaton with any acceptance condition and return an
|
||||
/// equivalent parity automaton.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue