mCRL2
Loading...
Searching...
No Matches
summand.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_LPS_SUMMAND_H
13#define MCRL2_LPS_SUMMAND_H
14
15#include "mcrl2/data/real.h"
16
17namespace mcrl2
18{
19
20namespace lps
21{
22
25{
26 protected:
29
32
33 public:
36 {}
37
42 {}
43
47 {
49 }
50
54 {
56 }
57
61 {
62 return m_condition;
63 }
64
68 {
69 return m_condition;
70 }
71
73 void swap(summand_base& other)
74 {
75 using std::swap;
78 }
79};
80
81} // namespace lps
82
83} // namespace mcrl2
84
85#endif // MCRL2_LPS_SUMMAND_H
Base class for LPS summands.
Definition summand.h:25
const data::data_expression & condition() const
Returns the condition expression.
Definition summand.h:60
const data::variable_list & summation_variables() const
Returns the sequence of summation variables.
Definition summand.h:53
void swap(summand_base &other)
Swaps the contents.
Definition summand.h:73
data::variable_list m_summation_variables
The summation variables of the summand.
Definition summand.h:28
data::data_expression & condition()
Returns the condition expression.
Definition summand.h:67
summand_base()
Constructor.
Definition summand.h:35
data::data_expression m_condition
The condition of the summand.
Definition summand.h:31
data::variable_list & summation_variables()
Returns the sequence of summation variables.
Definition summand.h:46
summand_base(const data::variable_list &summation_variables, const data::data_expression &condition)
Constructor.
Definition summand.h:39
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...
Definition indexed_set.h:72
void swap(atermpp::unprotected_aterm_core &t1, atermpp::unprotected_aterm_core &t2) noexcept
Swaps two aterms.
Definition aterm.h:462
The standard sort real_.