tgbasgba.hh

Go to the documentation of this file.
00001 // Copyright (C) 2009 Laboratoire de Recherche et Développement
00002 // de l'Epita (LRDE).
00003 //
00004 // This file is part of Spot, a model checking library.
00005 //
00006 // Spot is free software; you can redistribute it and/or modify it
00007 // under the terms of the GNU General Public License as published by
00008 // the Free Software Foundation; either version 2 of the License, or
00009 // (at your option) any later version.
00010 //
00011 // Spot is distributed in the hope that it will be useful, but WITHOUT
00012 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
00013 // or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
00014 // License for more details.
00015 //
00016 // You should have received a copy of the GNU General Public License
00017 // along with Spot; see the file COPYING.  If not, write to the Free
00018 // Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00019 // 02111-1307, USA.
00020 
00021 #ifndef SPOT_TGBA_TGBASGBA_HH
00022 # define SPOT_TGBA_TGBASGBA_HH
00023 
00024 #include "tgba.hh"
00025 #include "misc/bddlt.hh"
00026 
00027 namespace spot
00028 {
00029 
00037   class tgba_sgba_proxy : public tgba
00038   {
00039   public:
00040     tgba_sgba_proxy(const tgba* a, bool no_zero_acc = true);
00041 
00042     virtual ~tgba_sgba_proxy();
00043 
00044     virtual state* get_init_state() const;
00045 
00046     virtual tgba_succ_iterator*
00047     succ_iter(const state* local_state,
00048               const state* global_state = 0,
00049               const tgba* global_automaton = 0) const;
00050 
00051     virtual bdd_dict* get_dict() const;
00052 
00053     virtual std::string format_state(const state* state) const;
00054 
00055     virtual bdd all_acceptance_conditions() const;
00056     virtual bdd neg_acceptance_conditions() const;
00057 
00059     bdd state_acceptance_conditions(const state* state) const;
00060   protected:
00061     virtual bdd compute_support_conditions(const state* state) const;
00062     virtual bdd compute_support_variables(const state* state) const;
00063 
00064   private:
00065     const tgba* a_;
00066     // If the automaton has no acceptance condition,
00067     // every state is accepting.
00068     bool emulate_acc_cond_;
00069     bdd acceptance_condition_;
00070     // Disallow copy.
00071     tgba_sgba_proxy(const tgba_sgba_proxy&);
00072     tgba_sgba_proxy& operator=(const tgba_sgba_proxy&);
00073   };
00074 
00075 }
00076 #endif // SPOT_TGBA_TGBASGBA_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