spot
0.9.1
|
00001 // Copyright (C) 2011 Laboratoire de Recherche et Développement 00002 // de l'Epita (LRDE). 00003 // Copyright (C) 2003, 2004, 2006 Laboratoire d'Informatique de Paris 00004 // 6 (LIP6), département Systèmes Répartis Coopératifs (SRC), 00005 // Université Pierre 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_TGBABDDCONCRETE_HH 00025 # define SPOT_TGBA_TGBABDDCONCRETE_HH 00026 00027 #include "tgba.hh" 00028 #include "statebdd.hh" 00029 #include "tgbabddfactory.hh" 00030 #include "succiterconcrete.hh" 00031 00032 namespace spot 00033 { 00036 class tgba_bdd_concrete: public tgba 00037 { 00038 public: 00042 tgba_bdd_concrete(const tgba_bdd_factory& fact); 00043 00045 tgba_bdd_concrete(const tgba_bdd_factory& fact, bdd init); 00046 00047 virtual ~tgba_bdd_concrete(); 00048 00050 virtual void set_init_state(bdd s); 00051 00052 virtual state_bdd* get_init_state() const; 00053 00063 bdd get_init_bdd() const; 00064 00065 virtual tgba_succ_iterator_concrete* 00066 succ_iter(const state* local_state, 00067 const state* global_state = 0, 00068 const tgba* global_automaton = 0) const; 00069 00070 virtual std::string format_state(const state* state) const; 00071 00072 virtual bdd_dict* get_dict() const; 00073 00079 const tgba_bdd_core_data& get_core_data() const; 00080 00081 virtual bdd all_acceptance_conditions() const; 00082 virtual bdd neg_acceptance_conditions() const; 00083 00086 void delete_unaccepting_scc(); 00087 00088 protected: 00089 virtual bdd compute_support_conditions(const state* state) const; 00090 virtual bdd compute_support_variables(const state* state) const; 00091 00092 tgba_bdd_core_data data_; 00093 bdd init_; 00094 private: 00095 // Disallow copy. 00096 tgba_bdd_concrete(const tgba_bdd_concrete&); 00097 tgba_bdd_concrete& operator=(const tgba_bdd_concrete&); 00098 }; 00099 } 00100 00101 #endif // SPOT_TGBA_TGBABDDCONCRETE_HH