Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

graphvisitor.hh

Go to the documentation of this file.
00001 // Copyright (C) 2004  Laboratoire d'Informatique de Paris 6 (LIP6),
00002 // département Systèmes Répartis Coopératifs (SRC), Université Pierre
00003 // et Marie Curie.
00004 //
00005 // This file is part of the Spot tutorial. Spot is a model checking 
00006 // library.
00007 //
00008 // Spot is free software; you can redistribute it and/or modify it
00009 // under the terms of the GNU General Public License as published by
00010 // the Free Software Foundation; either version 2 of the License, or
00011 // (at your option) any later version.
00012 //
00013 // Spot is distributed in the hope that it will be useful, but WITHOUT
00014 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
00015 // or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
00016 // License for more details.
00017 //
00018 // You should have received a copy of the GNU General Public License
00019 // along with Spot; see the file COPYING.  If not, write to the Free
00020 // Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00021 // 02111-1307, USA.
00022 
00023 #ifndef MARKING_GRAPH_VISITOR_HH
00024 #define MARKING_GRAPH_VISITOR_HH
00025 
00026 #include "tgbaalgos/reachiter.hh"
00027 #include "pntgba.hh"
00028 #include "tgba/state.hh"
00029 #include "tgba/succiter.hh"
00030 
00033 class marking_graph_visitor
00034     : public spot::tgba_reachable_iterator_breadth_first {
00035 
00036 public:
00044   marking_graph_visitor(const pn_tgba* n);
00045 
00056   void process_state(const spot::state* s, int n, spot::tgba_succ_iterator* si);
00057 
00069   void process_link(int in, int out, const spot::tgba_succ_iterator* si);
00070   
00071 private:
00073   const pn_tgba* net;
00074 };
00075 
00076 #endif

Please comment this page and report errors about it on the RefDocComments page.
Generated on Mon Jan 31 15:17:13 2005 for checkpn by doxygen 1.4.0