Include file:
#include "mcrl2/pbes/substitutions.h
mcrl2::pbes_system::propositional_variable_substitution::
assignment
¶Wrapper class for internal storage and substitution updates using operator()
mcrl2::pbes_system::propositional_variable_substitution::assignment::
m_map
¶mcrl2::pbes_system::propositional_variable_substitution::assignment::
m_variable
¶assignment
(const propositional_variable &v, map_type &m)¶Constructor.
Parameters:
v a variable.
m a mapping of variables to expressions.
operator=
(const pbes_expression &e)Assigns expression on the right-hand side.
Parameters:
e the expression to associate to the variable for the owning substitution object template<typenameE,typenameV>voidexample(Vconst&v,Econst&e){substitution<E,V>s;//substitutions[v]=e;assert(s(v)==e);