spot  1.2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
tgba.hh
1 // Copyright (C) 2009, 2011, 2013 Laboratoire de Recherche et
2 // Développement 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 3 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 this program. If not, see <http://www.gnu.org/licenses/>.
21 
22 #ifndef SPOT_TGBA_TGBA_HH
23 # define SPOT_TGBA_TGBA_HH
24 
25 #include "state.hh"
26 #include "succiter.hh"
27 #include "bdddict.hh"
28 
29 namespace spot
30 {
40 
43 
67  class SPOT_API tgba
68  {
69  protected:
70  tgba();
71 
72  public:
73  virtual ~tgba();
74 
80  virtual state* get_init_state() const = 0;
81 
106  virtual tgba_succ_iterator*
107  succ_iter(const state* local_state,
108  const state* global_state = 0,
109  const tgba* global_automaton = 0) const = 0;
110 
124  bdd support_conditions(const state* state) const;
125 
138  bdd support_variables(const state* state) const;
139 
147  virtual bdd_dict* get_dict() const = 0;
148 
153  virtual std::string format_state(const state* state) const = 0;
154 
171  virtual std::string
172  transition_annotation(const tgba_succ_iterator* t) const;
173 
187  virtual state* project_state(const state* s, const tgba* t) const;
188 
197  virtual bdd all_acceptance_conditions() const = 0;
198 
200  virtual unsigned int number_of_acceptance_conditions() const;
201 
212  virtual bdd neg_acceptance_conditions() const = 0;
213 
214  protected:
216  virtual bdd compute_support_conditions(const state* state) const = 0;
218  virtual bdd compute_support_variables(const state* state) const = 0;
219  protected:
220  mutable const state* last_support_conditions_input_;
221  mutable const state* last_support_variables_input_;
222  private:
223  mutable bdd last_support_conditions_output_;
224  mutable bdd last_support_variables_output_;
225  mutable int num_acc_;
226  };
227 
230 
233 
236 
239 
242 
245 
248 
251 }
252 
253 #endif // SPOT_TGBA_TGBA_HH

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Thu May 15 2014 11:04:11 for spot by doxygen 1.8.4