spot
0.8.3
|
00001 // Copyright (C) 2009, 2010 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_SABA_SABA_HH 00022 # define SPOT_SABA_SABA_HH 00023 00024 #include "sabastate.hh" 00025 #include "sabasucciter.hh" 00026 #include <tgba/bdddict.hh> 00027 00028 namespace spot 00029 { 00037 00040 00053 class saba 00054 { 00055 protected: 00056 saba(); 00057 00058 public: 00059 virtual ~saba(); 00060 00066 virtual saba_state* get_init_state() const = 0; 00067 00079 virtual saba_succ_iterator* 00080 succ_iter(const saba_state* local_state) const = 0; 00081 00089 virtual bdd_dict* get_dict() const = 0; 00090 00095 virtual std::string format_state(const saba_state* state) const = 0; 00096 00105 virtual bdd all_acceptance_conditions() const = 0; 00106 00108 virtual unsigned int number_of_acceptance_conditions() const; 00109 private: 00110 mutable int num_acc_; 00111 }; 00112 00113 } // end namespace spot. 00114 00115 00116 #endif // SPOT_SABA_SABA_HH