Include file:
#include "mcrl2/lps/action_rename.h"
Action rename specifications.
mcrl2::lps::
action_rename
(const action_rename_specification &action_rename_spec, const lps::stochastic_specification &lps_old_spec)¶Rename the actions in a linear specification using a given action_rename_spec.
The actions in a linear specification are renamed according to a given action rename specification. Note that the rules are applied in the order they appear in the specification. This yield quite elaborate conditions in the resulting lps, as a latter rule can only be applied if an earlier rule is not applicable. Note also that there is always a default summand, where the action is not renamed. Using sum elimination and rewriting a substantial reduction of the conditions that are generated can be obtained, often allowing many summands to be removed.
Parameters:
Returns: The lps_old_spec where all actions have been renamed according to action_rename_spec.
mcrl2::lps::
action_rename
(const std::regex &matching_regex, const std::string &replacing_fmt, const stochastic_specification &lps_old_spec)¶Rename actions in given specification based on a regular expression and a string that specifies how the replacement should be formatted.
mcrl2::lps::
action_rename_rule_to_aterm
(const action_rename_rule &rule)¶mcrl2::lps::
action_rename_specification_to_aterm
(const action_rename_specification &spec)¶mcrl2::lps::detail::
rename_action_label
(const process::action_label &act, const std::regex &matching_regex, const std::string &replacing_fmt)¶std::
operator<<
(std::ostream &out, const mcrl2::lps::action_rename_rule &r)¶Output an action_rename_rule to ostream.
Parameters:
Returns: The output stream
std::
operator<<
(std::ostream &out, const mcrl2::lps::action_rename_specification &s)¶Output a action_rename_rule to ostream.
Parameters:
Returns: The output stream