|
mCRL2
|
Component for selecting a subset of equations that are actually used in an encompassing specification. More...
#include <selection.h>
Public Member Functions | |
| bool | operator() (const data::function_symbol &f) const |
| Check whether the symbol is used. | |
| bool | operator() (const data_equation &e) const |
| Check whether data equation relates to used symbols, and therefore is important. | |
| void | add_function_symbols (const data_expression &t) |
| used_data_equation_selector () | |
| default constructor | |
| template<typename Range > | |
| used_data_equation_selector (data_specification const &data_spec, Range const &context) | |
| context is a range of function symbols | |
| used_data_equation_selector (const data_specification &specification, const std::set< function_symbol > &function_symbols, const std::set< data::variable > &global_variables, const bool do_not_remove_function_symbols) | |
| used_data_equation_selector (const data_specification &) | |
| select all equations | |
Protected Member Functions | |
| void | add_data_specification_symbols (const data_specification &specification) |
Private Member Functions | |
| void | add_symbol (const function_symbol &f) |
| template<typename Range > | |
| void | add_symbols (Range const &r) |
Private Attributes | |
| std::set< function_symbol > | m_used_symbols |
| bool | add_all |
Component for selecting a subset of equations that are actually used in an encompassing specification.
This component can be used with the constructor of data::rewriter derived classes to select a smaller set of equations that are used as rewrite rules. This limited set of rewrite rules should be enough for the purpose of rewriting objects that occur in the encompassing specification (the context).
Definition at line 35 of file selection.h.
|
inline |
default constructor
Definition at line 151 of file selection.h.
|
inline |
context is a range of function symbols
Definition at line 157 of file selection.h.
|
inline |
Definition at line 164 of file selection.h.
|
inline |
select all equations
Definition at line 181 of file selection.h.
|
inlineprotected |
Definition at line 55 of file selection.h.
|
inline |
Definition at line 145 of file selection.h.
|
inlineprivate |
Definition at line 43 of file selection.h.
|
inlineprivate |
Definition at line 49 of file selection.h.
|
inline |
Check whether the symbol is used.
Definition at line 121 of file selection.h.
|
inline |
Check whether data equation relates to used symbols, and therefore is important.
Definition at line 131 of file selection.h.
|
private |
Definition at line 41 of file selection.h.
|
private |
Definition at line 39 of file selection.h.