spot  1.2.1a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
lbtt_dfs.hh
1 // Copyright (C) 2012 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_FASTTGBAALGOS_LBTT_DFS_HH
20 # define SPOT_FASTTGBAALGOS_LBTT_DFS_HH
21 
22 #include <iosfwd>
23 #include <sstream>
24 #include "generic_dfs.hh"
25 
26 namespace spot
27 {
31  class lbtt_dfs : public generic_dfs
32  {
33  public:
34  lbtt_dfs(const fasttgba* a);
35 
36  virtual ~lbtt_dfs();
37 
38  virtual bool want_state(const fasttgba_state* s) const;
39 
40  virtual void start();
41 
42  virtual void end();
43 
44  virtual void process_state(const fasttgba_state* s, int n,
46 
47  virtual void process_link(const fasttgba_state* in_s, int in,
48  const fasttgba_state* out_s, int out,
49  const fasttgba_succ_iterator* si);
50 
51  protected:
52  int nb_states;
53  int nb_transitions;
54  std::ostringstream oss;
55  };
56 }
57 
58 #endif // SPOT_FASTTGBAALGOS_LBTT_DFS_HH
Definition: fasttgba.hh:33
This class act as an interface for all classes.
Definition: fasttgba_state.hh:30
Definition: lbtt_dfs.hh:31
Iterate over the successors of a state.
Definition: fasttgba_succ_iterator.hh:35
Definition: generic_dfs.hh:28

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Tue Jan 21 2014 16:52:01 for spot by doxygen 1.8.5