simulation: try pulling marks instead of pushing them for sbacc input
Suggested by František Blahoudek. * spot/twaalgos/simulation.cc: When doing forward simulation with state-based acceptance as input but transition-based acceptance as output, pull acceptance marks on incoming edges instead of pushing them to outgoing edges. * tests/core/dra2dba.test, tests/core/exclusive-tgba.test, tests/core/ltlcrossce.test, tests/core/satmin3.test, tests/core/sim3.test, tests/python/satmin.ipynb: Adjust test cases. * NEWS: Mention the change.
This commit is contained in:
parent
e191a0341b
commit
8959eabad6
8 changed files with 588 additions and 474 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#! /bin/sh
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (C) 2015, 2016, 2018 Laboratoire de Recherche et Développement de
|
||||
# l'Epita (LRDE).
|
||||
# Copyright (C) 2015-2016, 2018-2019 Laboratoire de Recherche et
|
||||
# Développement de l'Epita (LRDE).
|
||||
#
|
||||
# This file is part of Spot, a model checking library.
|
||||
#
|
||||
|
|
@ -166,13 +166,13 @@ diff out2 expected-simpl
|
|||
test "6,50,14" = `ltl2tgba -B -f 'F(Ga | (GFb <-> GFc))' --stats='%s,%t,%e'`
|
||||
test "6,24,12" = `ltl2tgba -B -f 'F(Ga | (GFb <-> GFc))' |
|
||||
autfilt --exclusive-ap=a,b,c --stats='%s,%t,%e'`
|
||||
test "5,22,10" = `ltl2tgba -B -f 'F(Ga | (GFb <-> GFc))' |
|
||||
test "4,18,8" = `ltl2tgba -B -f 'F(Ga | (GFb <-> GFc))' |
|
||||
autfilt --small --exclusive-ap=a,b,c --stats='%s,%t,%e' --ap=3`
|
||||
# The final automaton has 3 atomic propositions before
|
||||
# simplifications, but only 2 after that.
|
||||
ltl2tgba -B -f 'F(Ga | (GFb <-> GFc))' |
|
||||
autfilt --small --exclusive-ap=a,b,c --simplify-ex --ap=3 > out
|
||||
test "5,21,10" = `autfilt out --stats='%s,%t,%e' --ap=2`
|
||||
test "4,17,8" = `autfilt out --stats='%s,%t,%e' --ap=2`
|
||||
|
||||
|
||||
# Issue #363.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue