Commit e2e51a90 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

Honor forcetacc for HOA output as well.

Suggested by Yann Thierry-Mieg.
parent d2097277
Pipeline #26761 passed with stage
in 2 minutes and 31 seconds
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# Copyright (C) 2018-2020 Laboratoire de Recherche et Développement de
# Copyright (C) 2018-2021 Laboratoire de Recherche et Développement de
# l'Epita.
#
# This application is free software; you can redistribute it and/or
......@@ -545,7 +545,8 @@ def translate(ltlformula, method='GET'):
res['edges'] = aut.num_edges()
res['det'] = spot.is_deterministic(aut)
res['automaton_hoa'] = aut.to_str('hoa')
res['automaton_hoa'] = aut.to_str('hoa',
't' if 'forcetacc' in args_o else '')
if aut.is_sba() or aut.acc().is_t():
res['automaton_spin'] = aut.to_str('spin')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment