spot  2.12.1
genem.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/twaalgos/emptiness.hh>
22 #include <spot/twaalgos/sccinfo.hh>
23 #include <spot/misc/bitvect.hh>
24 
25 namespace spot
26 {
34  SPOT_API bool
35  generic_emptiness_check(const const_twa_graph_ptr& aut);
36 
44  SPOT_API twa_run_ptr
45  generic_accepting_run(const const_twa_graph_ptr& aut);
46 
51  SPOT_API bool
52  generic_emptiness_check_for_scc(const scc_info& si, unsigned scc);
53 
61  SPOT_API bool
62  generic_emptiness_check_for_scc(const scc_info& si, unsigned scc,
63  const acc_cond& forced_acc);
64 
65 #ifndef SWIG
79  SPOT_API bool
80  maximal_accepting_loops_for_scc(const scc_info& si, unsigned scc,
81  const acc_cond& forced_acc,
82  const bitvect& keep,
83  std::function<void(const scc_info&,
84  unsigned)> callback);
85 #endif
86 
109  SPOT_API void
110  generic_emptiness_check_select_version(const char* emversion = nullptr);
111 
127  SPOT_API bool
128  accepting_transitions_scc(const scc_info &si, unsigned scc,
129  const acc_cond aut_acc,
130  acc_cond::mark_t removed_colors,
131  std::vector<bool>& accepting_transitions,
132  const bitvect& kept);
133 
139  SPOT_API std::vector<bool>
140  accepting_transitions(const const_twa_graph_ptr aut, acc_cond cond);
141 
142 }
An acceptance condition.
Definition: acc.hh:61
A bit vector.
Definition: bitvect.hh:51
Compute an SCC map and gather assorted information.
Definition: sccinfo.hh:449
void generic_emptiness_check_select_version(const char *emversion=nullptr)
bool accepting_transitions_scc(const scc_info &si, unsigned scc, const acc_cond aut_acc, acc_cond::mark_t removed_colors, std::vector< bool > &accepting_transitions, const bitvect &kept)
bool generic_emptiness_check_for_scc(const scc_info &si, unsigned scc)
Emptiness check of one SCC, for any acceptance condition.
twa_run_ptr generic_accepting_run(const const_twa_graph_ptr &aut)
Accepting run search in an automaton, for any acceptance condition.
bool generic_emptiness_check(const const_twa_graph_ptr &aut)
Emptiness check of an automaton, for any acceptance condition.
std::vector< bool > accepting_transitions(const const_twa_graph_ptr aut, acc_cond cond)
bool maximal_accepting_loops_for_scc(const scc_info &si, unsigned scc, const acc_cond &forced_acc, const bitvect &keep, std::function< void(const scc_info &, unsigned)> callback)
Compute set of maximal accepting loops in one SCC, for any acceptance condition.
Definition: automata.hh:26
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.1