mCRL2
Loading...
Searching...
No Matches
sort_expression_assignment.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_SUBSTITUTIONS_SORT_EXPRESSION_ASSIGNMENT_H
13#define MCRL2_DATA_SUBSTITUTIONS_SORT_EXPRESSION_ASSIGNMENT_H
14
17
18namespace mcrl2 {
19
20namespace data {
21
24{
27
30
32 : lhs(lhs_),
33 rhs(rhs_)
34 {}
35
37 {
38 if (x == lhs)
39 {
40 return rhs;
41 }
42 return x;
43 }
44};
45
46
47} // namespace data
48
49} // namespace mcrl2
50
51#endif // MCRL2_DATA_SUBSTITUTIONS_SORT_EXPRESSION_ASSIGNMENT_H
\brief A sort expression
add your file description here.
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...
Definition indexed_set.h:72
Substitution that maps a sort expression to a sort expression.
sort_expression_assignment(const sort_expression &lhs_, const sort_expression &rhs_)
const sort_expression & operator()(const sort_expression &x) const
add your file description here.