spot  1.0.1
tgbascc.hh
Go to the documentation of this file.
1 // Copyright (C) 2009 Laboratoire de recherche et développement de l'Epita.
2 //
3 // This file is part of Spot, a model checking library.
4 //
5 // Spot is free software; you can redistribute it and/or modify it
6 // under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // Spot is distributed in the hope that it will be useful, but WITHOUT
11 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
13 // License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 
18 #ifndef SPOT_TGBA_TGBASCC_HH
19 # define SPOT_TGBA_TGBASCC_HH
20 
21 #include "tgba.hh"
22 #include "tgbaalgos/scc.hh"
23 
24 namespace spot
25 {
26 
33  class tgba_scc : public tgba
34  {
35  public:
41  tgba_scc(const tgba* aut, bool show = false);
42  virtual ~tgba_scc();
43 
45  unsigned scc_of_state(const spot::state* s) const;
46 
52  virtual std::string format_state(const state* state) const;
53 
54  // The following methods simply delegate their work to the wrapped
55  // tgba.
56 
57  virtual state* get_init_state() const;
58  virtual tgba_succ_iterator*
59  succ_iter(const state* local_state,
60  const state* global_state = 0,
61  const tgba* global_automaton = 0) const;
62  virtual bdd_dict* get_dict() const;
63 
64  virtual std::string
66  virtual state* project_state(const state* s, const tgba* t) const;
67  virtual bdd all_acceptance_conditions() const;
68  virtual bdd neg_acceptance_conditions() const;
69 
70  virtual bdd compute_support_conditions(const state* state) const;
71  virtual bdd compute_support_variables(const state* state) const;
72 
73  protected:
74  const tgba* aut_; // The wrapped TGBA.
75  scc_map scc_map_; // SCC informations.
76  bool show_; // Wether to show future conditions
77  // in the output of format_state().
78  };
79 
80 }
81 
82 #endif // SPOT_TGBA_TGBASCC_HH

Please comment this page and report errors about it on the RefDocComments page.
Generated on Wed Jan 23 2013 15:00:01 for spot by doxygen 1.8.1.2