spot  1.99.3
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
tgtaexplicit.hh
1 // -*- coding: utf-8 -*-
2 // Copyright (C) 2010, 2011, 2012, 2013, 2014 Laboratoire de Recherche
3 // et Développement de l'Epita (LRDE).
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 MERCHANta_explicitBILITY
14 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
15 // License for more deta_explicitils.
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 "misc/hash.hh"
23 #include <list>
24 #include "twa/twa.hh"
25 #include <set>
26 #include "ltlast/formula.hh"
27 #include <cassert>
28 #include "misc/bddlt.hh"
29 #include "taexplicit.hh"
30 #include "tgta.hh"
31 
32 namespace spot
33 {
34 
37  class SPOT_API tgta_explicit : public tgta
38  {
39  public:
40  tgta_explicit(const const_twa_ptr& tgba,
41  unsigned n_acc,
42  state_ta_explicit* artificial_initial_state);
43 
44  // tgba interface
45  virtual spot::state* get_init_state() const;
46 
47  virtual twa_succ_iterator*
48  succ_iter(const spot::state* local_state) const;
49 
50  virtual bdd_dict_ptr
51  get_dict() const;
52 
53  const_ta_explicit_ptr get_ta() const { return ta_; }
54  ta_explicit_ptr get_ta() { return ta_; }
55 
56  virtual std::string format_state(const spot::state* s) const;
57 
58  virtual twa_succ_iterator*
59  succ_iter_by_changeset(const spot::state* s, bdd change_set) const;
60  protected:
61  virtual bdd compute_support_conditions(const spot::state* state) const;
62 
63  ta_explicit_ptr ta_;
64  };
65 
66  typedef std::shared_ptr<tgta_explicit> tgta_explicit_ptr;
67  typedef std::shared_ptr<const tgta_explicit> const_tgta_explicit_ptr;
68 
69  inline tgta_explicit_ptr make_tgta_explicit(const const_twa_ptr& tgba,
70  unsigned n_acc,
72  artificial_initial_state = 0)
73  {
74  return std::make_shared<tgta_explicit>(tgba, n_acc,
75  artificial_initial_state);
76  }
77 }
Definition: public.hh:31
LTL formula interface.
Abstract class for states.
Definition: twa.hh:40
Iterate over the successors of a state.
Definition: twa.hh:329
Definition: tgtaexplicit.hh:37
Definition: taexplicit.hh:132
A Transition-based Generalized Testing Automaton (TGTA).
Definition: tgta.hh:59

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Wed Aug 26 2015 08:42:37 for spot by doxygen 1.8.8