rewrite explicit Kripke structures and their parser
Fixes #4 and fixes #5. * NEWS: Mention the change. * src/kripkeparse/: Delete. * README, src/Makefile.am, configure.ac: Adjust. * src/kripke/kripkeexplicit.cc, src/kripke/kripkeexplicit.hh, src/kripke/kripkeprint.cc, src/kripke/kripkeprint.hh: Delete. * src/kripke/kripkegraph.hh: New file. * src/kripke/Makefile.am: Adjust. * src/parseaut/parseaut.yy, src/parseaut/public.hh: Add an option to read kripke structures. * src/tests/bad_parsing.test: Delete. * src/tests/Makefile.am: Adjust. * src/tests/kripke.test, src/tests/parse_print_test.cc: Rewrite. * src/tests/ikwiad.cc, src/tests/parseaut.test, iface/ltsmin/modelcheck.cc, wrap/python/spot_impl.i: Adjust.
This commit is contained in:
parent
073d154540
commit
afbaa54d92
27 changed files with 670 additions and 1472 deletions
|
|
@ -28,8 +28,8 @@
|
|||
#include "misc/timer.hh"
|
||||
#include "misc/memusage.hh"
|
||||
#include <cstring>
|
||||
#include "kripke/kripkeexplicit.hh"
|
||||
#include "kripke/kripkeprint.hh"
|
||||
#include "kripke/kripkegraph.hh"
|
||||
#include "twaalgos/hoa.hh"
|
||||
|
||||
static void
|
||||
syntax(char* prog)
|
||||
|
|
@ -236,7 +236,7 @@ checked_main(int argc, char **argv)
|
|||
if (output == Kripke)
|
||||
{
|
||||
tm.start("kripke output");
|
||||
spot::kripke_save_reachable_renumbered(std::cout, model);
|
||||
spot::print_hoa(std::cout, model, "k");
|
||||
tm.stop("kripke output");
|
||||
goto safe_exit;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue