spot
0.9.1
|
00001 // -*- coding: utf-8 -*- 00002 // Copyright (C) 2010, 2011, 2012 Laboratoire de Recherche et 00003 // Développement de l'Epita (LRDE). 00004 // Copyright (C) 2004, 2006 Laboratoire d'Informatique de Paris 6 00005 // (LIP6), département Systèmes Répartis Coopératifs (SRC), Université 00006 // Pierre et Marie Curie. 00007 // 00008 // This file is part of Spot, a model checking library. 00009 // 00010 // Spot is free software; you can redistribute it and/or modify it 00011 // under the terms of the GNU General Public License as published by 00012 // the Free Software Foundation; either version 2 of the License, or 00013 // (at your option) any later version. 00014 // 00015 // Spot is distributed in the hope that it will be useful, but WITHOUT 00016 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 00017 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 00018 // License for more details. 00019 // 00020 // You should have received a copy of the GNU General Public License 00021 // along with Spot; see the file COPYING. If not, write to the Free 00022 // Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 00023 // 02111-1307, USA. 00024 00025 #ifndef SPOT_LTLVISIT_REDUCE_HH 00026 # define SPOT_LTLVISIT_REDUCE_HH 00027 00028 #include "ltlast/formula.hh" 00029 #include "ltlast/visitor.hh" 00030 00031 #if __GNUC__ 00032 #ifndef SKIP_DEPRECATED_WARNING 00033 #warning This file and its functions are deprecated. \ 00034 The functionality moved to ltlvisit/simplify.hh 00035 #endif 00036 #endif 00037 00038 namespace spot 00039 { 00040 namespace ltl 00041 { 00042 00045 00047 enum reduce_options 00048 { 00050 Reduce_None = 0, 00052 Reduce_Basics = 1, 00054 Reduce_Syntactic_Implications = 2, 00056 Reduce_Eventuality_And_Universality = 4, 00058 Reduce_Containment_Checks = 8, 00060 Reduce_Containment_Checks_Stronger = 16, 00062 Reduce_All = -1U 00063 }; 00064 00073 #if __GNUC__ 00074 const formula* 00075 reduce(const formula* f, int opt = Reduce_All) __attribute__ ((deprecated)); 00076 #else 00077 const formula* reduce(const formula* f, int opt = Reduce_All); 00078 #endif 00079 00080 00104 #if __GNUC__ 00105 bool is_eventual(const formula* f) __attribute__ ((deprecated)); 00106 #else 00107 bool is_eventual(const formula* f); 00108 #endif 00109 00133 #if __GNUC__ 00134 bool is_universal(const formula* f) __attribute__ ((deprecated)); 00135 #else 00136 bool is_universal(const formula* f); 00137 #endif 00138 } 00139 } 00140 00141 #endif // SPOT_LTLVISIT_REDUCE_HH