spot 2.2.2

- Main Page
- Related Pages
- Modules
- Classes
- Files

- File List

All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
fairkripke.hh
1 // -*- coding: utf-8 -*-
2 // Copyright (C) 2009, 2010, 2013, 2014, 2015, 2016 Laboratoire de
3 // Recherche et Developpement 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/twa.hh>
23 #include <spot/kripke/fwd.hh>
24
27
28 namespace spot
29 {
46 class SPOT_API fair_kripke_succ_iterator : public twa_succ_iterator
47 {
48 public:
54 fair_kripke_succ_iterator(const bdd& cond, acc_cond::mark_t acc_cond);
55 virtual ~fair_kripke_succ_iterator();
56
57 virtual bdd cond() const override;
58 virtual acc_cond::mark_t acc() const override;
59 protected:
60 bdd cond_;
61 acc_cond::mark_t acc_cond_;
62 };
63
87 class SPOT_API fair_kripke: public twa
88 {
89 public:
90 fair_kripke(const bdd_dict_ptr& d)
91 : twa(d)
92 {
93 }
94
98 virtual bdd state_condition(const state* s) const = 0;
99
101 virtual acc_cond::mark_t
102 state_acceptance_mark(const state* s) const = 0;
103 };
104 }
spot
Definition: graph.hh:32
spot::fair_kripke_succ_iterator
Iterator code for a Fair Kripke structure.
Definition: fairkripke.hh:46
spot::fair_kripke
Interface for a Fair Kripke structure.
Definition: fairkripke.hh:87
spot::twa
A Transition-based ω-Automaton.
Definition: twa.hh:621
spot::state
Abstract class for states.
Definition: twa.hh:50
spot::twa_succ_iterator
Iterate over the successors of a state.
Definition: twa.hh:397
spot::acc_cond
Definition: acc.hh:31
spot::acc_cond::mark_t
Definition: acc.hh:34

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.