* src/ltlvisit/basicreduce.hh: New file, extracted from ...

* src/ltlvisit/reducform.hh: ... here.
* src/ltlvisit/basereduc.cc: Rename as ...
* src/ltlvisit/basicreduce.cc: ... this, to match the function name.
* src/ltlvisit/Makefile.am (ltlvisit_HEADERS, libltlvisit_la_SOURCES):
Adjust filenames.
* src/ltlvisit/reducform.cc: Adjust includes.
This commit is contained in:
Alexandre Duret-Lutz 2004-06-22 22:27:53 +00:00
parent a57c619ed5
commit 47e9ac108f
6 changed files with 58 additions and 17 deletions

View file

@ -0,0 +1,41 @@
// Copyright (C) 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
// et Marie Curie.
//
// This file is part of Spot, a model checking library.
//
// Spot is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// Spot is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
// License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Spot; see the file COPYING. If not, write to the Free
// Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
#ifndef SPOT_LTLVISIT_BASICREDUCE_HH
# define SPOT_LTLVISIT_BASICREDUCE_HH
#include "ltlast/formula.hh"
namespace spot
{
namespace ltl
{
/// Basic rewritings.
formula* basic_reduce(const formula* f);
/// Whether a formula starts with GF.
bool is_GF(const formula* f);
/// Whether a formula starts with FG.
bool is_FG(const formula* f);
}
}
#endif // SPOT_LTLVISIT_BASICREDUCE_HH