00001 // Copyright (C) 2009 Laboratoire de Recherche et Développement 00002 // de l'Epita (LRDE). 00003 // Copyright (C) 2004 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_EVTGBA_EVTGBA_HH 00025 # define SPOT_EVTGBA_EVTGBA_HH 00026 00027 #include "tgba/state.hh" 00028 #include "evtgbaiter.hh" 00029 00030 namespace spot 00031 { 00032 // FIXME: doc me 00033 class evtgba 00034 { 00035 protected: 00036 evtgba(); 00037 00038 public: 00039 virtual ~evtgba(); 00040 00041 virtual evtgba_iterator* init_iter() const = 0; 00042 virtual evtgba_iterator* succ_iter(const state* s) const = 0; 00043 virtual evtgba_iterator* pred_iter(const state* s) const = 0; 00044 00049 virtual std::string format_state(const state* state) const = 0; 00050 00051 virtual std::string format_label(const symbol* symbol) const; 00052 virtual std::string format_acceptance_condition(const symbol* symbol) const; 00053 virtual std::string 00054 format_acceptance_conditions(const symbol_set& symset) const; 00055 00064 virtual const symbol_set& all_acceptance_conditions() const = 0; 00065 00066 virtual const symbol_set& alphabet() const = 0; 00067 }; 00068 00069 } 00070 00071 #endif // SPOT_EVTGBA_EVTGBA_HH