mCRL2
Loading...
Searching...
No Matches
data_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_DATA_EXPRESSION_ASSIGNMENT_H
13#define MCRL2_DATA_SUBSTITUTIONS_DATA_EXPRESSION_ASSIGNMENT_H
14
17
18namespace mcrl2 {
19
20namespace data {
21
24{
29
32
34 : lhs(lhs_),
35 rhs(rhs_)
36 {}
37
39 {
40 if (x == lhs)
41 {
42 return rhs;
43 }
44 return x;
45 }
46};
47
48} // namespace data
49
50} // namespace mcrl2
51
52#endif // MCRL2_DATA_SUBSTITUTIONS_DATA_EXPRESSION_ASSIGNMENT_H
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 data expression to a data expression.
const data_expression & operator()(const data_expression &x) const
data_expression_assignment(const data_expression &lhs_, const data_expression &rhs_)
add your file description here.