* src/ltltest/inf.cc, src/ltltest/inf.test: Rename as ...

* src/ltltest/syntimpl.cc, src/ltltest/syntimpl.test: ... these.
* src/ltltest/Makefile.am: Adjust.
* src/ltlvisit/forminf.cc: Rename as...
* src/ltlvisit/syntimpl.cc: ... this.
* src/ltlvisit/syntimpl.hh: New file with definitions extracted
from ...
* src/ltlvisit/reducform.hh: ... this one.
* src/ltlvisit/Makefile.am, src/ltlvisit/reducform.cc: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2004-06-01 20:43:00 +00:00
parent 121a55c48f
commit 6e3fd873ba
10 changed files with 149 additions and 116 deletions

View file

@ -34,6 +34,7 @@ ltlvisit_HEADERS = \
nenoform.hh \
postfix.hh \
reducform.hh \
syntimpl.hh \
tostring.hh \
tunabbrev.hh
@ -44,11 +45,11 @@ libltlvisit_la_SOURCES = \
destroy.cc \
dotty.cc \
dump.cc \
forminf.cc \
length.cc \
lunabbrev.cc \
nenoform.cc \
postfix.cc \
reducform.cc \
syntimpl.cc \
tostring.cc \
tunabbrev.cc

View file

@ -20,6 +20,7 @@
// 02111-1307, USA.
#include "reducform.hh"
#include "syntimpl.hh"
#include "ltlast/allnodes.hh"
#include <cassert>

View file

@ -56,16 +56,6 @@ namespace spot
/// Basic rewritings.
formula* basic_reduce(const formula* f);
/// \brief Syntactic implication.
bool syntactic_implication(const formula* f1, const formula* f2);
/// \brief Syntactic implication.
///
/// If right==false, true if !f1 < f2, false otherwise.
/// If right==true, true if f1 < !f2, false otherwise.
bool syntactic_implication_neg(const formula* f1, const formula* f2,
bool right);
/// \brief Check whether a formula is eventual.
///
/// FIXME: Describe what eventual formulae are. Cite paper.

View file

@ -19,7 +19,7 @@
// Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
#include "reducform.hh"
#include "syntimpl.hh"
#include "ltlast/allnodes.hh"
#include <cassert>

45
src/ltlvisit/syntimpl.hh Normal file
View file

@ -0,0 +1,45 @@
// 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_SYNTIMPL_HH
# define SPOT_LTLVISIT_SYNTIMPL_HH
#include "ltlast/formula.hh"
namespace spot
{
namespace ltl
{
// FIXME: Cite paper.
/// \brief Syntactic implication.
bool syntactic_implication(const formula* f1, const formula* f2);
/// \brief Syntactic implication.
///
/// If right==false, true if !f1 < f2, false otherwise.
/// If right==true, true if f1 < !f2, false otherwise.
bool syntactic_implication_neg(const formula* f1, const formula* f2,
bool right);
}
}
#endif // SPOT_LTLVISIT_SYNTIMPL_HH