spot  0.8.2
tgbabddconcretefactory.hh
Go to the documentation of this file.
00001 // Copyright (C) 2008 Laboratoire de Recherche et Développement
00002 // de l'Epita (LRDE).
00003 // Copyright (C) 2003, 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_TGBA_TGBABDDCONCRETEFACTORY_HH
00025 # define SPOT_TGBA_TGBABDDCONCRETEFACTORY_HH
00026 
00027 #include "misc/hash.hh"
00028 #include "ltlast/formula.hh"
00029 #include "tgbabddfactory.hh"
00030 
00031 namespace spot
00032 {
00034   class tgba_bdd_concrete_factory: public tgba_bdd_factory
00035   {
00036   public:
00037     tgba_bdd_concrete_factory(bdd_dict* dict);
00038 
00039     virtual ~tgba_bdd_concrete_factory();
00040 
00050     int create_state(const ltl::formula* f);
00051 
00056     int create_anonymous_state();
00057 
00066     int create_atomic_prop(const ltl::formula* f);
00067 
00079     void declare_acceptance_condition(bdd b, const ltl::formula* a);
00080 
00081     const tgba_bdd_core_data& get_core_data() const;
00082     bdd_dict* get_dict() const;
00083 
00085     void constrain_relation(bdd new_rel);
00086 
00092     void finish();
00093 
00094   private:
00095     tgba_bdd_core_data data_;   
00096 
00097     typedef Sgi::hash_map<const ltl::formula*, bdd,
00098                           ltl::formula_ptr_hash> acc_map_;
00099     acc_map_ acc_;              
00100   };
00101 
00102 }
00103 #endif // SPOT_TGBA_TGBABDDCONCRETEFACTORY_HH

Please comment this page and report errors about it on the RefDocComments page.
Generated on Thu Jan 19 2012 19:33:03 for spot by doxygen 1.7.6.1