mCRL2
Loading...
Searching...
No Matches
fixpoint_symbol.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_PBES_FIXPOINT_SYMBOL_H
13#define MCRL2_PBES_FIXPOINT_SYMBOL_H
14
16
17namespace mcrl2
18{
19
20namespace pbes_system
21{
22
23//--- start generated class fixpoint_symbol ---//
26{
27 public:
30 : atermpp::aterm(core::detail::default_values::FixPoint)
31 {}
32
35 explicit fixpoint_symbol(const atermpp::aterm& term)
36 : atermpp::aterm(term)
37 {
39 }
40
42 fixpoint_symbol(const fixpoint_symbol&) noexcept = default;
43 fixpoint_symbol(fixpoint_symbol&&) noexcept = default;
44 fixpoint_symbol& operator=(const fixpoint_symbol&) noexcept = default;
45 fixpoint_symbol& operator=(fixpoint_symbol&&) noexcept = default;
46//--- start user section fixpoint_symbol ---//
50 {
52 }
53
57 {
59 }
60
63 bool is_mu() const
64 {
66 }
67
70 bool is_nu() const
71 {
73 }
74//--- end user section fixpoint_symbol ---//
75};
76
79
81typedef std::vector<fixpoint_symbol> fixpoint_symbol_vector;
82
83// prototype declaration
84std::string pp(const fixpoint_symbol& x);
85
90inline
91std::ostream& operator<<(std::ostream& out, const fixpoint_symbol& x)
92{
93 return out << pbes_system::pp(x);
94}
95
98{
99 t1.swap(t2);
100}
101//--- end generated class fixpoint_symbol ---//
102
103} // namespace pbes_system
104
105} // namespace mcrl2
106
107#endif // MCRL2_PBES_FIXPOINT_SYMBOL_H
aterm()
Default constructor.
Definition aterm.h:48
const function_symbol & function() const
Returns the function symbol belonging to an aterm.
Definition aterm.h:144
A list of aterm objects.
Definition aterm_list.h:24
void swap(unprotected_aterm_core &t) noexcept
Swaps this term with its argument.
Definition aterm_core.h:152
static fixpoint_symbol nu()
Returns the nu symbol.
fixpoint_symbol()
\brief Default constructor X3.
fixpoint_symbol(const fixpoint_symbol &) noexcept=default
Move semantics.
bool is_nu() const
Returns true if the symbol is nu.
bool is_mu() const
Returns true if the symbol is mu.
fixpoint_symbol(fixpoint_symbol &&) noexcept=default
static fixpoint_symbol mu()
Returns the mu symbol.
fixpoint_symbol(const atermpp::aterm &term)
The class data_specification.
The main namespace for the aterm++ library.
Definition algorithm.h:21
bool check_rule_FixPoint(const Term &t)
const atermpp::function_symbol & function_symbol_Mu()
const atermpp::function_symbol & function_symbol_Nu()
atermpp::term_list< fixpoint_symbol > fixpoint_symbol_list
\brief list of fixpoint_symbols
std::vector< fixpoint_symbol > fixpoint_symbol_vector
\brief vector of fixpoint_symbols
std::ostream & operator<<(std::ostream &os, const absinthe_strategy strategy)
void swap(fixpoint_symbol &t1, fixpoint_symbol &t2)
\brief swap overload
std::string pp(const fixpoint_symbol &x)
Definition pbes.cpp:37
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...
Definition indexed_set.h:72
static const atermpp::function_symbol Nu
static const atermpp::function_symbol Mu