Template ltlast/ & ltlenv/ classes in internal/ & Add ELTL parser.
This commit is contained in:
parent
21c98c0a01
commit
543190f2bc
74 changed files with 4299 additions and 468 deletions
27
src/eltlenv/Makefile.am
Normal file
27
src/eltlenv/Makefile.am
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
## Copyright (C) 2003, 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.
|
||||
|
||||
eltlenvdir = $(pkgincludedir)/eltlenv
|
||||
|
||||
eltlenv_HEADERS = \
|
||||
defaultenv.hh \
|
||||
declenv.hh \
|
||||
environment.hh
|
||||
44
src/eltlenv/declenv.hh
Normal file
44
src/eltlenv/declenv.hh
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
// Copyright (C) 2008 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_ELTLENV_DECLENV_HH
|
||||
# define SPOT_ELTLENV_DECLENV_HH
|
||||
|
||||
# include "environment.hh"
|
||||
# include "internal/declenv.hh"
|
||||
|
||||
namespace spot
|
||||
{
|
||||
namespace eltl
|
||||
{
|
||||
|
||||
/// \brief A declarative environment.
|
||||
/// \ingroup eltl_environment
|
||||
///
|
||||
/// This environment recognizes all atomic propositions
|
||||
/// that have been previously declared. It will reject other.
|
||||
typedef spot::internal::declarative_environment<eltl_t>
|
||||
declarative_environment;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif // SPOT_ELTLENV_DECLENV_HH
|
||||
45
src/eltlenv/defaultenv.hh
Normal file
45
src/eltlenv/defaultenv.hh
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
// Copyright (C) 2008 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_ELTLENV_DEFAULTENV_HH
|
||||
# define SPOT_ELTLENV_DEFAULTENV_HH
|
||||
|
||||
# include "environment.hh"
|
||||
# include "internal/defaultenv.hh"
|
||||
|
||||
namespace spot
|
||||
{
|
||||
namespace eltl
|
||||
{
|
||||
|
||||
/// \brief A laxist environment.
|
||||
/// \ingroup eltl_environment
|
||||
///
|
||||
/// This environment recognizes all atomic propositions.
|
||||
///
|
||||
/// This is a singleton. Use default_environment::instance()
|
||||
/// to obtain the instance.
|
||||
typedef spot::internal::default_environment<eltl_t> default_environment;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif // SPOT_ELTLENV_DEFAULTENV_HH
|
||||
39
src/eltlenv/environment.hh
Normal file
39
src/eltlenv/environment.hh
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
// Copyright (C) 2008 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_ELTLENV_ENVIRONMENT_HH
|
||||
# define SPOT_ELTLENV_ENVIRONMENT_HH
|
||||
|
||||
# include "eltlast/formula.hh"
|
||||
# include "internal/environment.hh"
|
||||
|
||||
namespace spot
|
||||
{
|
||||
namespace eltl
|
||||
{
|
||||
/// \brief An environment that describes atomic propositions.
|
||||
/// \ingroup eltl_essential
|
||||
typedef spot::internal::environment<eltl_t> environment;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif // SPOT_ELTLENV_ENVIRONMENT_HH
|
||||
Loading…
Add table
Add a link
Reference in a new issue