12#ifndef MCRL2_MODAL_FORMULA_STATE_FORMULA_RENAME_H
13#define MCRL2_MODAL_FORMULA_STATE_FORMULA_RENAME_H
20namespace state_formulas
25template <
typename IdentifierGenerator>
38 std::deque<std::pair<core::identifier_string, core::identifier_string> >
replacements;
69 for (std::deque<std::pair<core::identifier_string, core::identifier_string> >::iterator i =
replacements.begin(); i !=
replacements.end(); ++i)
71 if (i->first == x.
name())
110template <
typename IdentifierGenerator>
121template <
typename IdentifierGenerator>
148 std::map<core::identifier_string, core::identifier_string>::iterator i =
generated_identifiers.find(x);
153 std::string name =
generator(std::string(x));
Term containing a string.
const core::identifier_string & name() const
const sort_expression & sort() const
Identifier generator that generates names consisting of a prefix followed by a number....
void add_identifier(const std::string &id)
Adds the strings in the range [first, last) to the context.
atermpp::aterm_string identifier_string
String type of the LPS library. Identifier strings are represented internally as ATerms.
void make_variable(atermpp::aterm &t, const ARGUMENTS &... args)
bool contains(const atermpp::indexed_set< Key, ThreadSafe, Hash, Equals, Allocator, KeyTable > &c, const typename atermpp::indexed_set< Key, ThreadSafe, Hash, Equals, Allocator, KeyTable >::key_type &v, const std::size_t thread_index=0)
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...