spot  1.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
tgbasgba.hh
1 // Copyright (C) 2009, 2013 Laboratoire de Recherche et Développement
2 // de l'Epita (LRDE).
3 //
4 // This file is part of Spot, a model checking library.
5 //
6 // Spot is free software; you can redistribute it and/or modify it
7 // under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 3 of the License, or
9 // (at your option) any later version.
10 //
11 // Spot is distributed in the hope that it will be useful, but WITHOUT
12 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
14 // License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with this program. If not, see <http://www.gnu.org/licenses/>.
18 
19 #ifndef SPOT_TGBA_TGBASGBA_HH
20 # define SPOT_TGBA_TGBASGBA_HH
21 
22 #include "tgba.hh"
23 #include "misc/bddlt.hh"
24 
25 namespace spot
26 {
27 
35  class SPOT_API tgba_sgba_proxy : public tgba
36  {
37  public:
38  tgba_sgba_proxy(const tgba* a, bool no_zero_acc = true);
39 
40  virtual ~tgba_sgba_proxy();
41 
42  virtual state* get_init_state() const;
43 
44  virtual tgba_succ_iterator*
45  succ_iter(const state* local_state,
46  const state* global_state = 0,
47  const tgba* global_automaton = 0) const;
48 
49  virtual bdd_dict* get_dict() const;
50 
51  virtual std::string format_state(const state* state) const;
52 
53  virtual bdd all_acceptance_conditions() const;
54  virtual bdd neg_acceptance_conditions() const;
55 
57  bdd state_acceptance_conditions(const state* state) const;
58  protected:
59  virtual bdd compute_support_conditions(const state* state) const;
60  virtual bdd compute_support_variables(const state* state) const;
61 
62  private:
63  const tgba* a_;
64  // If the automaton has no acceptance condition,
65  // every state is accepting.
66  bool emulate_acc_cond_;
67  bdd acceptance_condition_;
68  // Disallow copy.
70  tgba_sgba_proxy& operator=(const tgba_sgba_proxy&);
71  };
72 
73 }
74 #endif // SPOT_TGBA_TGBASGBA_HH

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Sat Dec 6 2014 12:28:44 for spot by doxygen 1.8.4