tgbaparse: Return a tgba_digraph.
* src/tgbaparse/parsedecl.hh, src/tgbaparse/public.hh, src/tgbaparse/tgbaparse.yy: Adjust to return a tgba_digraph. * src/priv/accmap.hh: New file to help creating acceptance conditions from strings. * src/priv/Makefile.am: Add accmap.hh * src/tgba/tgbagraph.hh (tgba_digraph::named_t): New typedef. * wrap/python/spot.i: Declare that tgba_digraph inherits from tgba. * src/tgbatest/complementation.cc, src/tgbatest/explpro2.test, src/tgbatest/explpro3.test, src/tgbatest/explpro4.test, src/tgbatest/explprod.cc, src/tgbatest/explprod.test, src/tgbatest/ltl2tgba.cc, src/tgbatest/maskacc.cc, src/tgbatest/maskacc.test, src/tgbatest/mixprod.cc, src/tgbatest/powerset.cc, src/tgbatest/randtgba.test, src/tgbatest/readsave.test, src/tgbatest/tgbaread.cc, src/tgbatest/tgbaread.test, src/tgbatest/tripprod.cc, src/tgbatest/tripprod.test: Adjust to the change.
This commit is contained in:
parent
c0b28dc9c8
commit
4170080c35
24 changed files with 277 additions and 159 deletions
|
|
@ -1,9 +1,10 @@
|
|||
#!/bin/sh
|
||||
# Copyright (C) 2008, 2009, 2013 Laboratoire de Recherche et
|
||||
# Développement de l'Epita (LRDE).
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (C) 2008, 2009, 2013, 2014 Laboratoire de Recherche et
|
||||
# Développement de l'Epita (LRDE).
|
||||
# Copyright (C) 2003, 2004, 2005 Laboratoire d'Informatique de
|
||||
# Paris 6 (LIP6), département Systèmes Répartis Coopératifs (SRC),
|
||||
# Université Pierre et Marie Curie.
|
||||
# Paris 6 (LIP6), département Systèmes Répartis Coopératifs (SRC),
|
||||
# Université Pierre et Marie Curie.
|
||||
#
|
||||
# This file is part of Spot, a model checking library.
|
||||
#
|
||||
|
|
@ -41,9 +42,9 @@ EOF
|
|||
|
||||
cat >expected <<EOF
|
||||
acc = "p3" "p2" "p1";
|
||||
"s1 * s1", "s3 * s2", "a & b", "p2" "p1";
|
||||
"s1 * s1", "s2 * s2", "b", "p2" "p1";
|
||||
"s2 * s2", "s3 * s1", "a & c", "p3" "p1";
|
||||
"0 * 0", "1 * 1", "a & b", "p2" "p1";
|
||||
"0 * 0", "2 * 1", "b", "p2" "p1";
|
||||
"2 * 1", "1 * 0", "a & c", "p3" "p1";
|
||||
EOF
|
||||
|
||||
run 0 ../explprod input1 input2 | tee stdout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue