spot 2.3.1

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

- File List

All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
kripke.hh
1 // -*- coding: utf-8 -*-
2 // Copyright (C) 2009, 2010, 2013, 2014, 2016 Laboratoire de Recherche
3 // 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/kripke/fairkripke.hh>
23
24 namespace spot
25 {
26
43 class SPOT_API kripke_succ_iterator : public twa_succ_iterator
44 {
45 public:
50 kripke_succ_iterator(const bdd& cond)
51 : cond_(cond)
52 {
53 }
54
55 void recycle(const bdd& cond)
56 {
57 cond_ = cond;
58 }
59
60 virtual ~kripke_succ_iterator();
61
62 virtual bdd cond() const override;
63 virtual acc_cond::mark_t acc() const override;
64 protected:
65 bdd cond_;
66 };
67
90 class SPOT_API kripke: public fair_kripke
91 {
92 public:
93 kripke(const bdd_dict_ptr& d)
94 : fair_kripke(d)
95 {
96 }
97
98 virtual ~kripke();
99
100 virtual
101 acc_cond::mark_t state_acceptance_mark(const state*) const override;
102 };
103
104 typedef std::shared_ptr<kripke> kripke_ptr;
105 typedef std::shared_ptr<const kripke> const_kripke_ptr;
106 }
spot
Definition: graph.hh:33
spot::fair_kripke
Interface for a Fair Kripke structure.
Definition: fairkripke.hh:87
spot::kripke
Interface for a Kripke structure.
Definition: kripke.hh:90
spot::state
Abstract class for states.
Definition: twa.hh:50
spot::kripke_succ_iterator
Iterator code for Kripke structure.
Definition: kripke.hh:43
spot::kripke_succ_iterator::kripke_succ_iterator
kripke_succ_iterator(const bdd &cond)
Constructor.
Definition: kripke.hh:50
spot::twa_succ_iterator
Iterate over the successors of a state.
Definition: twa.hh:397
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.