spot  2.11.3
degen.hh
1 // -*- coding: utf-8 -*-
2 // Copyright (C) 2012-2015, 2017-2020, 2022 Laboratoire de
3 // Recherche et Développement de l'Epita.
4 //
5 // This file is part of Spot, a model checking library.
6 //
7 // Spot is free software; you can redistribute it and/or modify it
8 // under the terms of the GNU General Public License as published by
9 // the Free Software Foundation; either version 3 of the License, or
10 // (at your option) any later version.
11 //
12 // Spot is distributed in the hope that it will be useful, but WITHOUT
13 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
15 // License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with this program. If not, see <http://www.gnu.org/licenses/>.
19 
20 #pragma once
21 
22 #include <spot/twa/twagraph.hh>
23 
24 namespace spot
25 {
26  class scc_info;
27 
85  SPOT_API twa_graph_ptr
86  degeneralize(const const_twa_graph_ptr& a, bool use_z_lvl = true,
87  bool use_cust_acc_orders = false,
88  int use_lvl_cache = 1,
89  bool skip_levels = true,
90  bool ignaccsl = false,
91  bool remove_extra_scc = true);
92 
93  SPOT_API twa_graph_ptr
94  degeneralize_tba(const const_twa_graph_ptr& a, bool use_z_lvl = true,
95  bool use_cust_acc_orders = false,
96  int use_lvl_cache = 1,
97  bool skip_levels = true,
98  bool ignaccsl = false,
99  bool remove_extra_scc = true);
101 
136  SPOT_API twa_graph_ptr
137  partial_degeneralize(const const_twa_graph_ptr& a,
138  acc_cond::mark_t todegen);
139  SPOT_API twa_graph_ptr
140  partial_degeneralize(twa_graph_ptr a);
142 
162  SPOT_API acc_cond::mark_t
163  is_partially_degeneralizable(const const_twa_graph_ptr& aut,
164  bool allow_inf = true,
165  bool allow_fin = true,
166  std::vector<acc_cond::mark_t> forbid = {});
167 
184  SPOT_API std::vector<acc_cond::mark_t>
185  propagate_marks_vector(const const_twa_graph_ptr& aut,
186  const scc_info* si = nullptr);
187 
188  SPOT_API void
189  propagate_marks_here(twa_graph_ptr& aut,
190  const scc_info* si = nullptr);
192 }
Compute an SCC map and gather assorted information.
Definition: sccinfo.hh:443
twa_graph_ptr partial_degeneralize(const const_twa_graph_ptr &a, acc_cond::mark_t todegen)
@}
twa_graph_ptr degeneralize(const const_twa_graph_ptr &a, bool use_z_lvl=true, bool use_cust_acc_orders=false, int use_lvl_cache=1, bool skip_levels=true, bool ignaccsl=false, bool remove_extra_scc=true)
Degeneralize a generalized (co)Büchi automaton into an equivalent (co)Büchi automaton.
void propagate_marks_here(twa_graph_ptr &aut, const scc_info *si=nullptr)
Propagate marks around the automaton.
std::vector< acc_cond::mark_t > propagate_marks_vector(const const_twa_graph_ptr &aut, const scc_info *si=nullptr)
Propagate marks around the automaton.
Definition: automata.hh:27
acc_cond::mark_t is_partially_degeneralizable(const const_twa_graph_ptr &aut, bool allow_inf=true, bool allow_fin=true, std::vector< acc_cond::mark_t > forbid={})
Is the automaton partially degeneralizable?
An acceptance mark.
Definition: acc.hh:90

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Fri Feb 27 2015 10:00:07 for spot by doxygen 1.9.1