stutter check: cleanup and add test cases
* src/ltltest/ltlfilt.test: Add more tests. * src/ltltest/stutter.test: New test. * src/ltltest/Makefile.am: Adjust. * src/bin/ltlfilt.cc: Catch std::runtime_error. * src/tgba/tgbasl.hh (make_tgbasl): New function. * src/tgba/tgbagraph.hh (make_tgba_graph): Add another overload. * src/tgbaalgos/stutter_invariance.cc, src/tgbaalgos/stutter_invariance.hh: Take the algorithm version as an optional integer, and call getenv() only once. * bench/stutter/stutter_invariance_randomgraph.cc, bench/stutter/stutter_invariance_formulas.cc: Simplify using the above functions.
This commit is contained in:
parent
fcf6e25132
commit
f412fee6f3
10 changed files with 188 additions and 115 deletions
|
|
@ -450,6 +450,11 @@ namespace spot
|
|||
return std::make_shared<tgba_digraph>(dict);
|
||||
}
|
||||
|
||||
inline tgba_digraph_ptr make_tgba_digraph(const tgba_digraph_ptr& aut)
|
||||
{
|
||||
return std::make_shared<tgba_digraph>(aut);
|
||||
}
|
||||
|
||||
inline tgba_digraph_ptr make_tgba_digraph(const const_tgba_digraph_ptr& aut)
|
||||
{
|
||||
return std::make_shared<tgba_digraph>(aut);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue