spot 2.12.2
stutter.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
24
25namespace spot
26{
33 SPOT_API twa_graph_ptr
34 sl(const_twa_graph_ptr aut);
35
46 SPOT_API twa_graph_ptr
47 sl2_inplace(twa_graph_ptr aut);
48
49 SPOT_API twa_graph_ptr
50 sl2(const_twa_graph_ptr aut);
52
65 SPOT_API twa_graph_ptr
66 closure_inplace(twa_graph_ptr aut);
67
68 SPOT_API twa_graph_ptr
69 closure(const_twa_graph_ptr aut);
71
90 SPOT_API bool
91 is_stutter_invariant(formula f, twa_graph_ptr aut_f = nullptr);
92
106 SPOT_API bool
107 is_stutter_invariant(twa_graph_ptr aut_f,
108 const_twa_graph_ptr aut_nf = nullptr,
109 int algo = 0);
110
132 SPOT_API trival
133 check_stutter_invariance(twa_graph_ptr aut_f,
134 formula f = nullptr,
135 bool do_not_determinize = false,
136 bool find_counterexamples = false);
137
138
150 SPOT_API std::vector<bool>
151 stutter_invariant_states(const_twa_graph_ptr pos,
152 const_twa_graph_ptr neg = nullptr);
153
154 SPOT_API std::vector<bool>
155 stutter_invariant_states(const_twa_graph_ptr pos, formula f_pos);
157
175 SPOT_API void
177 formula f_pos, unsigned color = 0);
178 SPOT_API void
180 const_twa_graph_ptr neg = nullptr,
181 unsigned color = 0);
183
196 SPOT_API std::vector<bdd>
197 stutter_invariant_letters(const_twa_graph_ptr pos,
198 const_twa_graph_ptr neg = nullptr);
199
200 SPOT_API std::vector<bdd>
201 stutter_invariant_letters(const_twa_graph_ptr pos, formula f_pos);
203
204
219 SPOT_API int
221 const std::vector<bool>& sistates);
222
238 SPOT_API std::vector<bool>
240 (twa_graph_ptr aut, const std::vector<bool>& sistates);
241
242}
Main class for temporal logic formula.
Definition: formula.hh:732
A class implementing Kleene's three-valued logic.
Definition: trival.hh:33
trival check_stutter_invariance(twa_graph_ptr aut_f, formula f=nullptr, bool do_not_determinize=false, bool find_counterexamples=false)
Check whether aut is stutter-invariant.
twa_graph_ptr closure(const_twa_graph_ptr aut)
Close the automaton by allowing duplicate letter removal.
std::vector< bool > make_stutter_invariant_forward_closed_inplace(twa_graph_ptr aut, const std::vector< bool > &sistates)
Change the automaton so its set of stutter-invariant state is forward-closed.
int is_stutter_invariant_forward_closed(twa_graph_ptr aut, const std::vector< bool > &sistates)
Test if the set of stutter-invariant states is forward-closed.
std::vector< bdd > stutter_invariant_letters(const_twa_graph_ptr pos, const_twa_graph_ptr neg=nullptr)
Determinate the letters with which each state is stutter-invariant.
twa_graph_ptr sl(const_twa_graph_ptr aut)
Close the automaton by allowing letters to be duplicated.
void highlight_stutter_invariant_states(twa_graph_ptr pos, formula f_pos, unsigned color=0)
Highlight the states of pos that are stutter-invariant.
bool is_stutter_invariant(formula f, twa_graph_ptr aut_f=nullptr)
Check if a formula is stutter invariant.
twa_graph_ptr sl2(const_twa_graph_ptr aut)
Close the automaton by allowing letters to be duplicated.
std::vector< bool > stutter_invariant_states(const_twa_graph_ptr pos, const_twa_graph_ptr neg=nullptr)
Determinate the states that are stutter-invariant in pos.
twa_graph_ptr sl2_inplace(twa_graph_ptr aut)
Close the automaton by allowing letters to be duplicated.
twa_graph_ptr closure_inplace(twa_graph_ptr aut)
Close the automaton by allowing duplicate letter removal.
Definition: automata.hh:26

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