mCRL2
Loading...
Searching...
No Matches
undefined.h
Go to the documentation of this file.
1// Author(s): Wieger Wesselink
2// Copyright: see the accompanying file COPYING or copy at
3// https://github.com/mCRL2org/mCRL2/blob/master/COPYING
4//
5// Distributed under the Boost Software License, Version 1.0.
6// (See accompanying file LICENSE_1_0.txt or copy at
7// http://www.boost.org/LICENSE_1_0.txt)
8//
11
12#ifndef MCRL2_DATA_UNDEFINED_H
13#define MCRL2_DATA_UNDEFINED_H
14
15#ifdef MCRL2_ENABLE_MACHINENUMBERS
16#include "mcrl2/data/real64.h"
17#else
18#include "mcrl2/data/real.h"
19#endif
20
21namespace mcrl2 {
22
23namespace data {
24
26inline
27constexpr std::size_t undefined_index()
28{
29 return std::size_t(-1);
30}
31
33inline
35{
36 static data::variable v("@undefined_variable", data::sort_expression());
37 return v;
38}
39
41inline
43{
44 static data::variable v("@undefined_real_variable", data::sort_real::real_());
45 return v;
46}
47
49inline
51{
52 static data::basic_sort v("@undefined_sort_expression");
53 return v;
54}
55
57inline
59{
60 static data::variable v("@undefined_data_expression", data::sort_expression());
61 return v;
62}
63
65inline
67{
68 static data::variable r("@undefined_real", data::sort_real::real_());
69 return r;
70}
71
72} // namespace data
73
74} // namespace mcrl2
75
76#endif // MCRL2_DATA_UNDEFINED_H
\brief A basic sort
Definition basic_sort.h:26
\brief A sort expression
\brief A data variable
Definition variable.h:28
const basic_sort & real_()
Constructor for sort expression Real.
Definition real1.h:48
constexpr std::size_t undefined_index()
Returns an index that corresponds to 'undefined'.
Definition undefined.h:27
const data::data_expression & undefined_real()
Returns a data expression of type Real that corresponds to 'undefined'.
Definition undefined.h:66
const data::variable & undefined_variable()
Returns a data variable that corresponds to 'undefined'.
Definition undefined.h:34
const data::variable & undefined_real_variable()
Returns a data variable that corresponds to 'undefined'.
Definition undefined.h:42
const data::data_expression & undefined_data_expression()
Returns a data expression that corresponds to 'undefined'.
Definition undefined.h:58
const data::sort_expression & undefined_sort_expression()
Returns a sort expression that corresponds to 'undefined'.
Definition undefined.h:50
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...
Definition indexed_set.h:72
The standard sort real_.