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

gspn/eesrg.hh

Go to the documentation of this file.
00001 // Copyright (C) 2003, 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 Spot, a model checking library.
00006 //
00007 // Spot is free software; you can redistribute it and/or modify it
00008 // under the terms of the GNU General Public License as published by
00009 // the Free Software Foundation; either version 2 of the License, or
00010 // (at your option) any later version.
00011 //
00012 // Spot is distributed in the hope that it will be useful, but WITHOUT
00013 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
00014 // or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
00015 // License for more details.
00016 //
00017 // You should have received a copy of the GNU General Public License
00018 // along with Spot; see the file COPYING.  If not, write to the Free
00019 // Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00020 // 02111-1307, USA.
00021 
00022 #ifndef SPOT_IFACE_GSPN_EESRG_HH
00023 # define SPOT_IFACE_GSPN_EESRG_HH
00024 
00025 // Do not include gspnlib.h here, or it will polute the user's
00026 // namespace with internal C symbols.
00027 
00028 # include <string>
00029 # include "tgba/tgba.hh"
00030 # include "common.hh"
00031 
00032 namespace spot
00033 {
00034 
00035   class gspn_eesrg_interface
00036   {
00037   public:
00038     gspn_eesrg_interface(int argc, char **argv);
00039     ~gspn_eesrg_interface();
00040     // FIXME: I think we should have
00041     // tgba* get_automata();
00042   };
00043 
00044 
00046   struct tgba_gspn_eesrg_private_;
00047 
00048   class tgba_gspn_eesrg: public tgba
00049   {
00050   public:
00051     tgba_gspn_eesrg(bdd_dict* dict, const gspn_environment& env,
00052                     const tgba* operand);
00053     tgba_gspn_eesrg(const tgba_gspn_eesrg& other);
00054     tgba_gspn_eesrg& operator=(const tgba_gspn_eesrg& other);
00055     virtual ~tgba_gspn_eesrg();
00056     virtual state* get_init_state() const;
00057     virtual tgba_succ_iterator*
00058     succ_iter(const state* local_state,
00059               const state* global_state = 0,
00060               const tgba* global_automaton = 0) const;
00061     virtual bdd_dict* get_dict() const;
00062     virtual std::string format_state(const state* state) const;
00063     virtual state* project_state(const state* s, const tgba* t) const;
00064     virtual bdd all_acceptance_conditions() const;
00065     virtual bdd neg_acceptance_conditions() const;
00066   protected:
00067     virtual bdd compute_support_conditions(const spot::state* state) const;
00068     virtual bdd compute_support_variables(const spot::state* state) const;
00069   private:
00070     tgba_gspn_eesrg_private_* data_;
00071   };
00072 
00073 }
00074 
00075 #endif // SPOT_IFACE_GSPN_EESRG_GSPN_EESRG_HH

Generated on Tue Jan 13 18:18:21 2004 for spot by doxygen 1.3.5