mCRL2
|
Substitution that stores the assignments as a sequence of variables and a sequence of expressions. It supports function composition efficiently. This is done by simply concatenating the variables and expressions of the two substitutions. As a result, evaluating the substitution becomes more expensive. More...
#include <enumerator_substitution.h>
Public Types | |
typedef data::variable | variable_type |
type used to represent variables | |
typedef data::data_expression | expression_type |
type used to represent expressions | |
Public Member Functions | |
enumerator_substitution ()=default | |
enumerator_substitution (data::variable_list variables_, data::data_expression_list expressions_) | |
data::data_expression | operator() (const data::variable &v) const |
void | add_assignment (const data::variable &v, const data::data_expression &e) |
void | revert () |
std::string | to_string () const |
Public Attributes | |
data::variable_list | variables |
data::data_expression_list | expressions |
Substitution that stores the assignments as a sequence of variables and a sequence of expressions. It supports function composition efficiently. This is done by simply concatenating the variables and expressions of the two substitutions. As a result, evaluating the substitution becomes more expensive.
Definition at line 100 of file enumerator_substitution.h.
type used to represent expressions
Definition at line 106 of file enumerator_substitution.h.
type used to represent variables
Definition at line 103 of file enumerator_substitution.h.
|
default |
|
inline |
Definition at line 113 of file enumerator_substitution.h.
|
inline |
Definition at line 128 of file enumerator_substitution.h.
|
inline |
Definition at line 120 of file enumerator_substitution.h.
|
inline |
Definition at line 135 of file enumerator_substitution.h.
|
inline |
Definition at line 141 of file enumerator_substitution.h.
data::data_expression_list mcrl2::data::enumerator_substitution::expressions |
Definition at line 109 of file enumerator_substitution.h.
data::variable_list mcrl2::data::enumerator_substitution::variables |
Definition at line 108 of file enumerator_substitution.h.