spot 2.11.6.dev
Loading...
Searching...
No Matches
genem.hh
1// -*- coding: utf-8 -*-
2// Copyright (C) 2017-2022 Laboratoire de Recherche et Developpement
3// de l'Epita (LRDE).
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/twaalgos/emptiness.hh>
23#include <spot/twaalgos/sccinfo.hh>
24#include <spot/misc/bitvect.hh>
25
26namespace spot
27{
35 SPOT_API bool
36 generic_emptiness_check(const const_twa_graph_ptr& aut);
37
45 SPOT_API twa_run_ptr
46 generic_accepting_run(const const_twa_graph_ptr& aut);
47
52 SPOT_API bool
53 generic_emptiness_check_for_scc(const scc_info& si, unsigned scc);
54
62 SPOT_API bool
64 const acc_cond& forced_acc);
65
66#ifndef SWIG
80 SPOT_API bool
82 const acc_cond& forced_acc,
83 const bitvect& keep,
84 std::function<void(const scc_info&,
85 unsigned)> callback);
86#endif
87
110 SPOT_API void
111 generic_emptiness_check_select_version(const char* emversion = nullptr);
112
128 SPOT_API bool
129 accepting_transitions_scc(const scc_info &si, unsigned scc,
130 const acc_cond aut_acc,
131 acc_cond::mark_t removed_colors,
132 std::vector<bool>& accepting_transitions,
133 const bitvect& kept);
134
140 SPOT_API std::vector<bool>
141 accepting_transitions(const const_twa_graph_ptr aut, acc_cond cond);
142
143}
An acceptance condition.
Definition acc.hh:62
A bit vector.
Definition bitvect.hh:52
Compute an SCC map and gather assorted information.
Definition sccinfo.hh:443
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)
std::vector< bool > accepting_transitions(const const_twa_graph_ptr aut, acc_cond cond)
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.
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:27
An acceptance mark.
Definition acc.hh:85

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