12#ifndef MCRL2_DATA_REPLACE_CONSTANTS_BY_VARIABLES_H
13#define MCRL2_DATA_REPLACE_CONSTANTS_BY_VARIABLES_H
27template <
template <
class>
class Builder>
30 typedef Builder<replace_constants_by_variables_builder<Builder>>
super;
35 std::unordered_map<data::data_expression, data::variable>
substitutions;
65 super::apply(result, x);
An application of a data expression to a number of arguments.
sort_expression sort() const
Returns the sort of the data expression.
Generic substitution function.
Rewriter that operates on data expressions.
Identifier generator that stores the identifiers of the context in a set. Using the operator()() and ...
add your file description here.
std::set< data::variable > find_free_variables(const data::data_expression &x)
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...
Replace each constant data application c by a fresh variable v, and add extend the substitution sigma...
std::unordered_map< data::data_expression, data::variable > substitutions
Builder< replace_constants_by_variables_builder< Builder > > super
bool is_constant(const data::data_expression &x) const
data::mutable_indexed_substitution & sigma
data::set_identifier_generator id_generator
void apply(T &result, const data::application &x)
replace_constants_by_variables_builder(const data::rewriter &r_, data::mutable_indexed_substitution<> &sigma_)