spot 2.11.6.dev
Loading...
Searching...
No Matches
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
28namespace spot
29{
47 {
48 public:
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}
An acceptance condition.
Definition acc.hh:62
Iterator code for a Fair Kripke structure.
Definition fairkripke.hh:47
virtual bdd cond() const override
Get the condition on the edge leading to this successor.
fair_kripke_succ_iterator(const bdd &cond, acc_cond::mark_t acc_cond)
Constructor.
virtual acc_cond::mark_t acc() const override
Get the acceptance mark of the edge leading to this successor.
Interface for a Fair Kripke structure.
Definition fairkripke.hh:88
virtual acc_cond::mark_t state_acceptance_mark(const state *s) const =0
The acceptance mark that labels state s.
virtual bdd state_condition(const state *s) const =0
The condition that label the state s.
Abstract class for states.
Definition twa.hh:51
Iterate over the successors of a state.
Definition twa.hh:398
A Transition-based ω-Automaton.
Definition twa.hh:623
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