translate: speed up some -G -D cases
When gf-guarentee works and produce a deterministic automaton, use it right away without comparing it with the automaton produced by the regular translation. This used to be the case for all -D scenarios except -G -D. Reported by Florian Renkin. * spot/twaalgos/translate.cc: Use the result of gf_guarantee_to_ba_maybe() or fg_safety_to_dca_maybe() whenever -D is used. * spot/twaalgos/postproc.cc: Call remove_unused_ap() in finalize(), to iron out some slight output differences. * tests/core/ltl2tgba2.test, tests/python/toparity.py: Lower expected results in the test cases. * tests/python/automata.ipynb, tests/core/prodor.test: Adjust to new order.
This commit is contained in:
parent
238a9ffc1d
commit
93d8f43285
6 changed files with 50 additions and 54 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (C) 2009-2020 Laboratoire de Recherche et Développement de
|
||||
# Copyright (C) 2009-2021 Laboratoire de Recherche et Développement de
|
||||
# l'Epita (LRDE).
|
||||
# Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
# département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||
|
|
@ -376,8 +376,8 @@ cat >formulas <<EOF
|
|||
GF((a & XXa) | (!a & XX!a)), 4,8, 4,8, 6,14, 7,14, 4,8
|
||||
GF((a & XXXa) | (!a & XXX!a)), 7,14, 8,16, 8,18, 15,30, 8,16
|
||||
GF(((a & Xb) | XXc) & Xd), 3,58, 4,64, 3,58, 5,80, 4,64
|
||||
GF((b | Fa) & (b R Xb)), 2,4, 2,4, 3,6, 3,12, 2,4
|
||||
G(F(a & Xa) & F(a & X!a)), 2,4, 2,4, 4,8, 4,8, 3,6
|
||||
GF((b | Fa) & (b R Xb)), 2,4, 2,4, 3,6, 3,6, 2,4
|
||||
G(F(a & Xa) & F(a & X!a)), 2,4, 2,4, 4,8, 4,8, 2,4
|
||||
G(!p0 & F(p1 & XG!p1)), 1,0, 1,0, 1,0, 1,0, 1,0
|
||||
FG(a | Fb), 3,15, 3,15, 3,15, 3,15, 1,4
|
||||
FG(a & Fb), 2,7, 2,7, 3,9, 3,9, 1,4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue