mCRL2
Loading...
Searching...
No Matches
test_utility.h
Go to the documentation of this file.
1// Author(s): Wieger Wesselink
2// Copyright: see the accompanying file COPYING.
3//
4// Distributed under the Boost Software License, Version 1.0.
5// (See accompanying file LICENSE_1_0.txt or copy at
6// http://www.boost.org/LICENSE_1_0.txt)
7//
10
11#ifndef MCRL2_PBES_DETAIL_TEST_UTILITY_H
12#define MCRL2_PBES_DETAIL_TEST_UTILITY_H
13
14#include "mcrl2/pbes/pbes.h"
15
16namespace mcrl2
17{
18
19namespace pbes_system
20{
21
22namespace detail
23{
24
28data::variable nat(const std::string& name)
29{
31}
32
36data::variable pos(const std::string& name)
37{
39}
40
44data::variable bool_(const std::string& name)
45{
47}
48
53propositional_variable propvar(const std::string& name, const data::variable_list& parameters)
54{
55 return propositional_variable(core::identifier_string(name), parameters);
56}
57
63{
65}
66
67} // namespace detail
68
69} // namespace pbes_system
70
71} // namespace mcrl2
72
73#endif // MCRL2_PBES_DETAIL_TEST_UTILITY_H
Term containing a string.
\brief A data variable
Definition variable.h:28
\brief A propositional variable instantiation
\brief A propositional variable declaration
const basic_sort & bool_()
Constructor for sort expression Bool.
Definition bool.h:44
const basic_sort & nat()
Constructor for sort expression Nat.
Definition nat1.h:46
const basic_sort & pos()
Constructor for sort expression Pos.
Definition pos1.h:45
data::variable pos(const std::string &name)
Returns a data variable of type Pos with a given name.
propositional_variable_instantiation propvarinst(const std::string &name, const data::data_expression_list &parameters)
Returns a propositional variable instantiation with the given name and parameters.
data::variable bool_(const std::string &name)
Returns a data variable of type Bool with a given name.
propositional_variable propvar(const std::string &name, const data::variable_list &parameters)
Returns a propositional variable declaration with the given name and parameters.
data::variable nat(const std::string &name)
Returns a data variable of type Nat with a given name.
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...
Definition indexed_set.h:72
The class pbes.