bfssteps.hh

Go to the documentation of this file.
00001 // Copyright (C) 2011 Laboratoire de Recherche et Developpement de
00002 // l'Epita (LRDE).
00003 // Copyright (C) 2004, 2005  Laboratoire d'Informatique de Paris 6 (LIP6),
00004 // département Systèmes Répartis Coopératifs (SRC), Université Pierre
00005 // et Marie Curie.
00006 //
00007 // This file is part of Spot, a model checking library.
00008 //
00009 // Spot is free software; you can redistribute it and/or modify it
00010 // under the terms of the GNU General Public License as published by
00011 // the Free Software Foundation; either version 2 of the License, or
00012 // (at your option) any later version.
00013 //
00014 // Spot is distributed in the hope that it will be useful, but WITHOUT
00015 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
00016 // or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
00017 // License for more details.
00018 //
00019 // You should have received a copy of the GNU General Public License
00020 // along with Spot; see the file COPYING.  If not, write to the Free
00021 // Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00022 // 02111-1307, USA.
00023 
00024 #ifndef SPOT_TGBAALGOS_BFSSTEPS_HH
00025 # define SPOT_TGBAALGOS_BFSSTEPS_HH
00026 
00027 #include <map>
00028 #include "tgba/state.hh"
00029 #include "emptiness.hh"
00030 
00031 namespace spot
00032 {
00043   class bfs_steps
00044   {
00045   public:
00046     bfs_steps(const tgba* a);
00047     virtual ~bfs_steps();
00048 
00054     const state* search(const state* start, tgba_run::steps& l);
00055 
00072     virtual const state* filter(const state* s) = 0;
00073 
00088     virtual bool match(tgba_run::step& step, const state* dest) = 0;
00089 
00096     virtual void finalize(const std::map<const state*, tgba_run::step,
00097                                          state_ptr_less_than>& father,
00098                           const tgba_run::step& s,
00099                           const state* start,
00100                           tgba_run::steps& l);
00101 
00102   protected:
00103     const tgba* a_;             
00104   };
00105 
00106 
00107 }
00108 
00109 #endif // SPOT_TGBAALGOS_BFSSTEPS_HH

Please comment this page and report errors about it on the RefDocComments page.
Generated on Mon Feb 7 2011 14:29:29 for spot by doxygen 1.7.1