spot  0.9.2
tgba.hh
Go to the documentation of this file.
1 // Copyright (C) 2009, 2011 Laboratoire de Recherche et Développement
2 // de l'Epita (LRDE).
3 // Copyright (C) 2003, 2004, 2005 Laboratoire d'Informatique de
4 // Paris 6 (LIP6), département Systèmes Répartis Coopératifs (SRC),
5 // Université Pierre et Marie Curie.
6 //
7 // This file is part of Spot, a model checking library.
8 //
9 // Spot is free software; you can redistribute it and/or modify it
10 // under the terms of the GNU General Public License as published by
11 // the Free Software Foundation; either version 2 of the License, or
12 // (at your option) any later version.
13 //
14 // Spot is distributed in the hope that it will be useful, but WITHOUT
15 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
17 // License for more details.
18 //
19 // You should have received a copy of the GNU General Public License
20 // along with Spot; see the file COPYING. If not, write to the Free
21 // Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
22 // 02111-1307, USA.
23 
24 #ifndef SPOT_TGBA_TGBA_HH
25 # define SPOT_TGBA_TGBA_HH
26 
27 #include "state.hh"
28 #include "succiter.hh"
29 #include "bdddict.hh"
30 
31 namespace spot
32 {
42 
45 
69  class tgba
70  {
71  protected:
72  tgba();
73 
74  public:
75  virtual ~tgba();
76 
82  virtual state* get_init_state() const = 0;
83 
108  virtual tgba_succ_iterator*
109  succ_iter(const state* local_state,
110  const state* global_state = 0,
111  const tgba* global_automaton = 0) const = 0;
112 
126  bdd support_conditions(const state* state) const;
127 
140  bdd support_variables(const state* state) const;
141 
149  virtual bdd_dict* get_dict() const = 0;
150 
155  virtual std::string format_state(const state* state) const = 0;
156 
173  virtual std::string
175 
189  virtual state* project_state(const state* s, const tgba* t) const;
190 
199  virtual bdd all_acceptance_conditions() const = 0;
200 
202  virtual unsigned int number_of_acceptance_conditions() const;
203 
214  virtual bdd neg_acceptance_conditions() const = 0;
215 
216  protected:
218  virtual bdd compute_support_conditions(const state* state) const = 0;
220  virtual bdd compute_support_variables(const state* state) const = 0;
221  protected:
222  mutable const state* last_support_conditions_input_;
223  mutable const state* last_support_variables_input_;
224  private:
227  mutable int num_acc_;
228  };
229 
232 
235 
238 
241 
244 
247 
250 
253 }
254 
255 #endif // SPOT_TGBA_TGBA_HH

Please comment this page and report errors about it on the RefDocComments page.
Generated on Mon Jul 2 2012 17:35:47 for spot by doxygen 1.8.1.1