00001 // Copyright (C) 2003, 2004, 2006 Laboratoire d'Informatique de 00002 // Paris 6 (LIP6), département Systèmes Répartis Coopératifs (SRC), 00003 // Université Pierre et Marie Curie. 00004 // 00005 // This file is part of Spot, a model checking library. 00006 // 00007 // Spot is free software; you can redistribute it and/or modify it 00008 // under the terms of the GNU General Public License as published by 00009 // the Free Software Foundation; either version 2 of the License, or 00010 // (at your option) any later version. 00011 // 00012 // Spot is distributed in the hope that it will be useful, but WITHOUT 00013 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 00014 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 00015 // License for more details. 00016 // 00017 // You should have received a copy of the GNU General Public License 00018 // along with Spot; see the file COPYING. If not, write to the Free 00019 // Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 00020 // 02111-1307, USA. 00021 00022 #ifndef SPOT_IFACE_GSPN_SSP_HH 00023 # define SPOT_IFACE_GSPN_SSP_HH 00024 00025 // Do not include gspnlib.h here, or it will polute the user's 00026 // namespace with internal C symbols. 00027 00028 # include <string> 00029 # include "tgba/tgba.hh" 00030 # include "common.hh" 00031 # include "tgbaalgos/gtec/gtec.hh" 00032 # include "tgbaalgos/gtec/ce.hh" 00033 # include "ltlenv/declenv.hh" 00034 00035 namespace spot 00036 { 00037 00038 class gspn_ssp_interface 00039 { 00040 public: 00041 gspn_ssp_interface(int argc, char **argv, 00042 bdd_dict* dict, const ltl::declarative_environment& env, 00043 bool inclusion = false, 00044 bool doublehash = true); 00045 ~gspn_ssp_interface(); 00046 tgba* automaton(const tgba* operand) const; 00047 private: 00048 bdd_dict* dict_; 00049 const ltl::declarative_environment& env_; 00050 }; 00051 00055 couvreur99_check* couvreur99_check_ssp_semi(const tgba* ssp_automata); 00056 couvreur99_check* couvreur99_check_ssp_shy_semi(const tgba* ssp_automata); 00057 couvreur99_check* couvreur99_check_ssp_shy(const tgba* ssp_automata, 00058 bool stack_inclusion = true); 00059 00061 00062 // I rewrote couvreur99_check_result today, and it no longer use 00063 // connected_component_ssp_factory. So this cannot work anymore. 00064 // -- adl 2004-12-10. 00065 // couvreur99_check_result* 00066 // counter_example_ssp(const couvreur99_check_status* status); 00067 } 00068 00069 #endif // SPOT_IFACE_GSPN_SSP_GSPN_SSP_HH