simulation: Fix co-simulation and iterated simulations of BA automata
* src/tgbaalgos/simulation.hh, src/tgbaalgos/simulation.cc (simulation_sba, cosimulation_sba, iterated_simulations_sba): New function. Also speedup the existing functions by avoiding add_acceptince_conditions() and add_conditions(). Finally, use scc_filter_states() when dealing with degeneralized automata. * src/tgbaalgos/postproc.cc, src/tgbaalgos/postproc.hh (do_ba_simul): New method. Use it after degeneralization. * src/tgba/tgbaexplicit.hh (get_transition, get_state): New methods. * src/tgbatest/basimul.test: New file. * src/tgbatest/Makefile.am (TESTS): Add it. * NEWS: Introduce the new function and summarize the bug.
This commit is contained in:
parent
372790a489
commit
0c7c933805
8 changed files with 303 additions and 110 deletions
|
|
@ -91,6 +91,7 @@ namespace spot
|
|||
|
||||
protected:
|
||||
const tgba* do_simul(const tgba* input, int opt);
|
||||
const tgba* do_ba_simul(const tgba* input, int opt);
|
||||
const tgba* do_degen(const tgba* input);
|
||||
|
||||
output_type type_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue