- 03 Jan, 2015 4 commits
-
-
Alexandre Duret-Lutz authored
* src/tgba/tgba.hh: Declare a prop_set to specify the types. * src/tgba/tgbagraph.hh: Use prop_set for all copy constructors. * iface/ltsmin/ltsmin.cc, src/bin/autfilt.cc, src/bin/randaut.cc, src/tgbaalgos/are_isomorphic.cc, src/tgbaalgos/closure.cc, src/tgbaalgos/complete.cc, src/tgbaalgos/degen.cc, src/tgbaalgos/dotty.cc, src/tgbaalgos/dtgbacomp.cc, src/tgbaalgos/dupexp.cc, src/tgbaalgos/dupexp.hh, src/tgbaalgos/sccfilter.cc, src/tgbaalgos/simulation.cc, src/tgbaalgos/stutterize.cc, src/tgbatest/checkpsl.cc, src/tgbatest/emptchk.cc, src/tgbatest/ltl2tgba.cc, wrap/python/spot.i,src/graphtest/tgbagraph.test: Adjust all uses.
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/dotty.cc: Specialize for tgba_digraph_ptr. * src/tgba/tgbagraph.hh, src/tgbaalgos/dupexp.cc: Copy properties by default when cloning an automaton. * src/tgbatest/det.test, src/tgbatest/dstar.test, src/tgbatest/ltl2tgba.test, src/tgbatest/monitor.test, src/tgbatest/neverclaimread.test, src/tgbatest/tgbaread.test: Adjust tests.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/dotty.cc, src/tgbaalgos/dotty.hh: Add an options parameter. * src/bin/randaut.cc, src/bin/autfilt.cc, src/bin/dstar2tgba.cc, src/bin/ltl2tgba.cc, wrap/python/ajax/spot.in: Use it. * src/tgbatest/det.test, src/tgbatest/dstar.test, src/tgbatest/ltl2tgba.cc, src/tgbatest/monitor.test, src/tgbatest/neverclaimread.test, src/tgbatest/tgbaread.test, src/graphtest/tgbagraph.test: Adjust because automata are now output horizontally. * NEWS: Mention the change.
-
- 23 Dec, 2014 1 commit
-
-
Alexandre Duret-Lutz authored
-
- 17 Dec, 2014 7 commits
-
-
Alexandre Duret-Lutz authored
-
Thibaud Michaud authored
* src/bin/autfilt.cc: add option --uniq. * src/bin/randaut.cc: add option --uniq. * src/tgbatest/uniq.test: Test it.
-
Thibaud Michaud authored
* src/bin/autfilt.cc: Use isomorphism_checker. * src/tgbaalgos/are_isomorphic.cc, src/tgbaalgos/are_isomorphic.hh: Wrap are_isomorphic inside a class to keep the canonic version of the first automaton between two calls, and use a more efficient algorithm in case both automata are deterministic. * src/tgbatest/isomorph.test: Add tests for deterministic automata.
-
Thibaud Michaud authored
* src/tgbaalgos/are_isomorphic.cc, src/tgbaalgos/are_isomorphic.hh, src/bin/autfilt.cc: are_isomorphic now uses canonicalize. It returns a bool, because the mapping cannot be deduced easily from the canonicalized automaton. * src/graph/graph.hh: Add equality operator to trans_storage_t for easy comparison of transition vectors. * src/tgba/tgbagraph.hh: Add equality operator to tgba_graph_trans_data and to tgba_digraph. * src/tgbaalgos/canonicalize.cc, src/tgbaalgos/canonicalize.hh: New files. * src/tgbaalgos/Makefile.am: Add them. * src/tgbatest/isomorph.test: Test them.
-
Alexandre Duret-Lutz authored
* src/bin/autfilt.cc: Support %w. * src/tgbatest/readsave.test: Test it.
-
Alexandre Duret-Lutz authored
* src/bin/autfilt.cc: Add these new options. * src/tgbaalgos/stutterize.cc, src/tgbaalgos/stutterize.hh: Make it possible to call sl() and sl2() without passing the set of atomic propositions. * src/tgbatest/stutter.test: New file. * src/tgbatest/Makefile.am: Add it.
-
Alexandre Duret-Lutz authored
* src/tgba/tgbagraph.cc (merge_transition): Do it. * src/tgbatest/readsave.test: Test it. * src/bin/autfilt.cc: Fix statistics about the original automaton when using --stats or --name.
-
- 16 Dec, 2014 3 commits
-
-
Alexandre Duret-Lutz authored
* src/bin/autfilt.cc: Add these new options. * src/tgbatest/readsave.test: Test them.
-
Alexandre Duret-Lutz authored
* src/bin/autfilt.cc: Implement this new option. * src/tgbatest/readsave.test: Test it.
-
Alexandre Duret-Lutz authored
* src/bin/autfilt.cc: Here. * src/tgbaalgos/stats.cc: Do not segfault if format is nullptr. * src/tgbatest/readsave.test: Exercise --name, %M, and %m.
-
- 15 Dec, 2014 2 commits
-
-
Alexandre Duret-Lutz authored
* src/bin/autfilt.cc: Add a --count option. * src/tgbatest/randaut.test: Test autfilt's --count and --states.
-
Alexandre Duret-Lutz authored
* src/bin/autfilt.cc: Add a --states=RANGE option. * src/bin/common_range.cc, src/bin/common_range.hh: Generalize range_parse to allow an optional upper bound.
-
- 11 Dec, 2014 7 commits
-
-
Alexandre Duret-Lutz authored
* src/hoaparse/hoaparse.yy: forward the error messages from lbt_parse(). * src/hoaparse/hoascan.ll: Minor cleanups. * src/tgbatest/lbttparse.test: Test it.
-
Alexandre Duret-Lutz authored
* src/ltlparse/ltlscan.ll: Skip comments. * src/ltltest/ltlfilt.test: Test this. * NEWS: Mention it.
-
Alexandre Duret-Lutz authored
* src/bin/autfilt.cc: Here. * src/tgbatest/hoaparse.test: More tests.
-
Alexandre Duret-Lutz authored
* src/bin/autfilt.cc: Add support for %L. * src/tgbatest/hoaparse.test: Test it.
-
Alexandre Duret-Lutz authored
the existing -q/--quiet option is renamed to --ignore-errors * src/bin/ltlfilt.cc: Adjust option. * src/bin/common_output.cc, src/bin/common_output.hh: Add a quiet_output. * bench/dtgbasat/prepare.sh: Rename -q to --ignore-errors.. * src/ltltest/remove_x.test: Use -q. * NEWS: Mention this change.
-
Alexandre Duret-Lutz authored
* src/bin/autfilt.cc: Add option. * src/tgbatest/det.test: Test it.
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/are_isomorphic.cc: inline is_isomorphism() into are_isomorphic() so that the reference vector is only sorted once, and both vectors are only allocated once.
-
- 10 Dec, 2014 10 commits
-
-
Alexandre Duret-Lutz authored
This is probably the worse grammar I wrote: the LBTT format is designed to be scanned with scanf, and very inconvenient to parse with bison/flex. Here the scanner basically has to emulate a parser to classify the different INTs as tokens with different types. * src/hoaparse/hoaparse.yy, src/hoaparse/hoascan.ll: Add rules for LBTT. * src/hoaparse/parsedecl.hh: Add a way to reset the parser between each automata. * src/tgbatest/hoaparse.test, src/tgbatest/lbttparse.test: Add more tests.
-
Alexandre Duret-Lutz authored
* src/priv/accmap.hh, src/tgbaalgos/lbtt.cc, src/tgbaalgos/lbtt.hh, src/tgbaparse/public.hh, src/tgbaparse/tgbaparse.yy, src/tgbatest/ltl2tgba.cc, src/tgbatest/tgbaread.cc: Do not pass any environment parameter to parse acceptance sets. This is not used anymore since we moved to int-labeled acceptance sets.
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/are_isomorphic.cc (is_isomorphism): Do not copy trans_storage_t elements as they contain more than what we use. Remap the states of a1 before the sort, not during the sort. (are_trivially_different): Also catch the case where the number of acceptance sets are different. * src/tgbaalgos/are_isomorphic.hh: Improve doxygen.
-
Alexandre Duret-Lutz authored
* src/bin/autfilt.cc: Do not use -I for --are-isomorphic. Fix --help. * src/tgbatest/isomorph.test: Adjust to use --are-isomorphic, and speed it up 5-fold.
-
* src/tgbaalgos/are_isomorphic.cc: Here.
-
* src/bin/autfilt.cc: Here.
-
* src/bin/autfilt.cc: Return with exit code 1 if no match found. * src/tgbaalgos/are_isomorphic.cc,src/tgbatest/degenlskip.test src/tgbatest/explpro2.test,src/tgbatest/explpro3.test src/tgbatest/explpro4.test,src/tgbatest/explprod.test src/tgbatest/neverclaimread.test, src/tgbatest/readsave.test src/tgbatest/tripprod.test: Use exit status to check for output emptiness instead of 'test -n'. * src/tgbatest/isomorph.test: Simplify test.
-
* src/tgbatest/degenlskip.test, src/tgbatest/explpro2.test src/tgbatest/explpro3.test, src/tgbatest/explpro4.test src/tgbatest/explprod.test, src/tgbatest/neverclaimread.test src/tgbatest/tripprod.test, src/tgbatest/readsave.test: Here.
-
* src/bin/autfilt.cc: Here. * src/tgbaalgos/are_isomorphic.cc, src/tgbaalgos/are_isomorphic.hh: Here.
-
And add the corresponding --isomorphic=FILENAME option to autfilt. * src/tgbaalgos/are_isomorphic.cc, src/tgbaalgos/are_isomorphic.hh: New. * src/tgbaalgos/Makefile.am: Add it. * src/bin/autfilt.cc: Add --isomorphic option. * src/tgbatest/isomorph.test: Test it. * src/tgbatest/Makefile.am: Add it.
-
- 09 Dec, 2014 2 commits
-
-
Alexandre Duret-Lutz authored
* src/tgba/tgba.hh, src/tgba/tgba.cc (set_named_prop): Add a template version. (get_named_prop): Hide the old version, and supply a template version that casts. * src/bin/ltlcross.cc, src/hoaparse/hoaparse.yy, src/tgbaalgos/hoa.cc, src/tgbaalgos/product.cc: Adjust usage.
-
Alexandre Duret-Lutz authored
* src/hoaparse/hoaparse.yy: Store the automaton name. * src/tgbaalgos/hoa.cc: Output it if it exists. * src/tgbatest/hoaparse.test: Adjust tests.
-
- 08 Dec, 2014 3 commits
-
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/hoa.cc: Here.
-
Alexandre Duret-Lutz authored
* src/bin/randaut.cc: Fix memory leak. * src/bin/autfilt.cc: Add a --merge-transitions option. * src/tgbatest/readsave.test: Rewrite using randaut and autfilt.
-
Alexandre Duret-Lutz authored
This fixes #6. * src/graph/graph.hh: Rename the old transitions() as transition_vector(), and implement a new transitions() that iterates only on non-dead transitions. * src/tgba/tgbagraph.hh, src/tgba/tgbagraph.cc, src/graph/ngraph.hh: Adjust wrappers. * src/hoaparse/hoaparse.yy, src/tgbaalgos/complete.cc, src/tgbaalgos/dtbasat.cc, src/tgbaalgos/dtgbasat.cc, src/tgbaalgos/randomize.cc, src/tgbaalgos/safety.cc: Adjust calls.
-
- 07 Dec, 2014 1 commit
-
-
Alexandre Duret-Lutz authored
* src/bin/autfilt.cc: Implement the --product option. * src/tgbatest/explprod.cc, src/tgbatest/tripprod.cc: Delete. * src/tgbatest/Makefile.am: Adjust. * src/tgbatest/explpro2.test, src/tgbatest/explpro3.test, src/tgbatest/explpro4.test, src/tgbatest/explprod.test, src/tgbatest/tripprod.test: Rewrite using autfilt --product.
-