spot 2.12.2
degen.hh
1// -*- coding: utf-8 -*-
2// Copyright (C) by the Spot authors, see the AUTHORS file for details.
3//
4// This file is part of Spot, a model checking library.
5//
6// Spot is free software; you can redistribute it and/or modify it
7// under the terms of the GNU General Public License as published by
8// the Free Software Foundation; either version 3 of the License, or
9// (at your option) any later version.
10//
11// Spot is distributed in the hope that it will be useful, but WITHOUT
12// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
14// License for more details.
15//
16// You should have received a copy of the GNU General Public License
17// along with this program. If not, see <http://www.gnu.org/licenses/>.
18
19#pragma once
20
21#include <spot/twa/twagraph.hh>
22
23namespace spot
24{
25 class scc_info;
26
84 SPOT_API twa_graph_ptr
85 degeneralize(const const_twa_graph_ptr& a, bool use_z_lvl = true,
86 bool use_cust_acc_orders = false,
87 int use_lvl_cache = 1,
88 bool skip_levels = true,
89 bool ignaccsl = false,
90 bool remove_extra_scc = true);
91
92 SPOT_API twa_graph_ptr
93 degeneralize_tba(const const_twa_graph_ptr& a, bool use_z_lvl = true,
94 bool use_cust_acc_orders = false,
95 int use_lvl_cache = 1,
96 bool skip_levels = true,
97 bool ignaccsl = false,
98 bool remove_extra_scc = true);
100
135 SPOT_API twa_graph_ptr
136 partial_degeneralize(const const_twa_graph_ptr& a,
137 acc_cond::mark_t todegen);
138 SPOT_API twa_graph_ptr
139 partial_degeneralize(twa_graph_ptr a);
141
164 SPOT_API acc_cond::mark_t
165 is_partially_degeneralizable(const const_twa_graph_ptr& aut,
166 bool allow_inf = true, bool allow_fin = true,
167 const std::vector<acc_cond::mark_t>&
168 forbid = {});
169
186 SPOT_API std::vector<acc_cond::mark_t>
187 propagate_marks_vector(const const_twa_graph_ptr& aut,
188 const scc_info* si = nullptr);
189
190 SPOT_API void
191 propagate_marks_here(twa_graph_ptr& aut,
192 const scc_info* si = nullptr);
194}
Compute an SCC map and gather assorted information.
Definition: sccinfo.hh:449
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:26
acc_cond::mark_t is_partially_degeneralizable(const const_twa_graph_ptr &aut, bool allow_inf=true, bool allow_fin=true, const std::vector< acc_cond::mark_t > &forbid={})
Is the automaton partially degeneralizable?
An acceptance mark.
Definition: acc.hh:84

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.4