spot  0.9.2
bfssteps.hh
Go to the documentation of this file.
1 // Copyright (C) 2011 Laboratoire de Recherche et Developpement de
2 // l'Epita (LRDE).
3 // Copyright (C) 2004, 2005 Laboratoire d'Informatique de Paris 6 (LIP6),
4 // département Systèmes Répartis Coopératifs (SRC), Université Pierre
5 // 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 2 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 Spot; see the file COPYING. If not, write to the Free
21 // Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
22 // 02111-1307, USA.
23 
24 #ifndef SPOT_TGBAALGOS_BFSSTEPS_HH
25 # define SPOT_TGBAALGOS_BFSSTEPS_HH
26 
27 #include <map>
28 #include "tgba/state.hh"
29 #include "emptiness.hh"
30 
31 namespace spot
32 {
43  class bfs_steps
44  {
45  public:
46  bfs_steps(const tgba* a);
47  virtual ~bfs_steps();
48 
54  const state* search(const state* start, tgba_run::steps& l);
55 
72  virtual const state* filter(const state* s) = 0;
73 
88  virtual bool match(tgba_run::step& step, const state* dest) = 0;
89 
96  virtual void finalize(const std::map<const state*, tgba_run::step,
97  state_ptr_less_than>& father,
98  const tgba_run::step& s,
99  const state* start,
100  tgba_run::steps& l);
101 
102  protected:
103  const tgba* a_;
104  };
105 
106 
107 }
108 
109 #endif // SPOT_TGBAALGOS_BFSSTEPS_HH

Please comment this page and report errors about it on the RefDocComments page.
Generated on Mon Jul 2 2012 17:35:47 for spot by doxygen 1.8.1.1