spot
0.8.1
|
00001 // Copyright (C) 2009, 2011 Laboratoire de Recherche et Développement de 00002 // 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_TGBABDDCOREDATA_HH 00025 # define SPOT_TGBA_TGBABDDCOREDATA_HH 00026 00027 #include <bdd.h> 00028 #include "bdddict.hh" 00029 00030 namespace spot 00031 { 00033 struct tgba_bdd_core_data 00034 { 00042 bdd relation; 00043 00077 bdd acceptance_conditions; 00078 00080 bdd acceptance_conditions_support; 00081 00089 bdd all_acceptance_conditions; 00090 00092 bdd now_set; 00094 bdd next_set; 00096 bdd nownext_set; 00099 bdd notnow_set; 00102 bdd notnext_set; 00105 bdd var_set; 00108 bdd notvar_set; 00111 bdd varandnext_set; 00114 bdd acc_set; 00117 bdd notacc_set; 00120 bdd negacc_set; 00121 00123 bdd_dict* dict; 00124 00128 tgba_bdd_core_data(bdd_dict* dict); 00129 00131 tgba_bdd_core_data(const tgba_bdd_core_data& copy); 00132 00136 tgba_bdd_core_data(const tgba_bdd_core_data& left, 00137 const tgba_bdd_core_data& right); 00138 00139 const tgba_bdd_core_data& operator= (const tgba_bdd_core_data& copy); 00140 00143 void declare_now_next(bdd now, bdd next); 00146 void declare_atomic_prop(bdd var); 00149 void declare_acceptance_condition(bdd prom); 00150 00153 void delete_unaccepting_scc(bdd init); 00154 00155 private: 00156 bdd infinitely_often(bdd s, bdd acc, bdd er); 00157 }; 00158 } 00159 00160 #endif // SPOT_TGBA_TGBABDDCOREDATA_HH