|
std::string | print (const process::action_label &l) const |
|
std::string | print (const process::action &a) const |
|
std::string | print (const deadlock &x) const |
|
std::string | print (const multi_action &x) const |
|
std::string | print (const std::set< std::multiset< process::action_label > > &v) const |
|
std::string | compare_property (std::string property, std::string x, std::string y) const |
|
std::set< std::multiset< process::action_label > > | compute_used_multi_actions (const Specification &spec) const |
|
std::set< process::action_label > | compute_used_action_labels (const Specification &spec) const |
|
std::size_t | compute_tau_summand_count (const Specification &spec) const |
|
std::set< data::variable > | compute_used_free_variables (const Specification &spec) const |
|
template<typename Container > |
std::set< core::identifier_string > | names (const Container &v) const |
| Collects the names of the elements of the container. The name of element x is retrieved by x.name().
|
|
std::string | print (std::size_t n) const |
|
std::string | print (std::string s) const |
|
std::string | print (const core::identifier_string &s) const |
|
std::string | print (const data::variable &v) const |
|
template<typename Container > |
std::string | print (const Container &v, typename atermpp::enable_if_container< Container >::type *=nullptr) const |
|
template<typename Container > |
std::string | print (const Container &v, bool print_separators, typename atermpp::enable_if_container< Container >::type *=nullptr) const |
|
unsigned int | parse_unsigned_int (std::string const &text) const |
|
std::set< std::string > | parse_set_string (std::string const &text) const |
|
std::set< std::multiset< std::string > > | parse_set_multiset_string (std::string const &text) const |
|
std::string | compare (const std::string &property, unsigned int x, unsigned int y) const |
| Compares two integers, and returns a message if they are different. If if they are equal the empty string is returned.
|
|
template<typename T > |
std::string | compare (const std::string &property, const std::set< T > &x, const std::set< T > &y) const |
| Compares two sets and returns a string with the differences encountered. Elements present in the first one but not in the second are printed with a '+' in front of it, elements present in the seconde but not in the first one with a '-' in front of it. A value x of the type T is printed using print(x), so this operation must be defined. If no differences are found the empty string is returned.
|
|
std::string | compare (const data_property_map &other) const |
| Compares this property map with another property map. The function compare_property must be defined properly for all available properties.
|
|
std::string | print (std::size_t n) const |
|
std::string | print (std::string s) const |
|
std::string | print (const core::identifier_string &s) const |
|
std::string | print (const data::variable &v) const |
|
template<typename Container > |
std::string | print (const Container &v, typename atermpp::enable_if_container< Container >::type *=nullptr) const |
|
template<typename Container > |
std::string | print (const Container &v, bool print_separators, typename atermpp::enable_if_container< Container >::type *=nullptr) const |
|
unsigned int | parse_unsigned_int (std::string const &text) const |
|
std::set< std::string > | parse_set_string (std::string const &text) const |
|
std::set< std::multiset< std::string > > | parse_set_multiset_string (std::string const &text) const |
|
std::string | compare (const std::string &property, unsigned int x, unsigned int y) const |
| Compares two integers, and returns a message if they are different. If if they are equal the empty string is returned.
|
|
template<typename T > |
std::string | compare (const std::string &property, const std::set< T > &x, const std::set< T > &y) const |
| Compares two sets and returns a string with the differences encountered. Elements present in the first one but not in the second are printed with a '+' in front of it, elements present in the seconde but not in the first one with a '-' in front of it. A value x of the type T is printed using print(x), so this operation must be defined. If no differences are found the empty string is returned.
|
|
std::string | compare_property (const std::string &property, const std::string &, const std::string &) const |
| Compares two values x and y of a given property. This function should be redefined in derived classes.
|
|
unsigned int | max_key_length () const |
| Returns the maximum length of the property names.
|
|
std::string | align (const std::string &s, unsigned int n) const |
|
template<typename Container > |
std::set< core::identifier_string > | names (const Container &v) const |
| Collects the names of the elements of the container. The name of element x is retrieved by x.name().
|
|
| data_property_map () |
| Default constructor for derived types.
|
|
void | parse_text (const std::string &text) |
| Initializes the property map with text containing lines in KEY = VALUE format.
|
|
| data_property_map (const std::string &text) |
| The strings may appear in a random order, and not all of them need to be present.
|
|
std::string | to_string () const |
| Returns a string representation of the properties.
|
|
const std::map< std::string, std::string > & | data () const |
| Returns the stored properties.
|
|
std::string | operator[] (const std::string &key) const |
| Returns the value corresponding to key. Throws an exception if the key is not found.
|
|
std::string | compare (const data_property_map &other) const |
| Compares this property map with another property map. The function compare_property must be defined properly for all available properties.
|
|
template<typename Specification = specification>
class mcrl2::lps::detail::specification_property_map< Specification >
Stores the following properties of a linear process specification:
property | description | format |
action_summand_count | The number of action summands | NUMBER |
tau_summand_count | The number of tau summands | NUMBER |
delta_summand_count | The number of delta/deadlock summands | NUMBER |
declared_free_variables | The declared free variables | NAME:SORT; ... ; NAME:SORT |
declared_free_variable_names | The names of the declared free variables | NAME; ... ; NAME |
declared_variable_count | The number of declared free variables | NUMBER |
used_free_variables | The used free variables | NAME:SORT; ... ; NAME:SORT |
used_free_variables_names | The names of the used free variables | NAME; ... ; NAME |
used_free_variable_count | The number of used free variables | NUMBER |
process_parameters | The process parameters | NAME:SORT; ... ; NAME:SORT |
process_parameter_names | The names of the process parameters | NAME; ... ; NAME |
process_parameter_count | The number of process parameters | NUMBER |
declared_action_labels | The names of the declared action labels | NAME; ... ; NAME |
declared_action_label_count | The number of declared action labels | NUMBER |
used_action_labels | The names of the used action labels | NAME; ... ; NAME |
used_action_label_count | The number of used action labels | NUMBER |
used_multi_actions | The used multi-actions (sets of label names) | {NAME,...,NAME}; ... ; {NAME,...,NAME} |
used_multi_action_count | The number of used multi-actions | NUMBER |
Definition at line 52 of file specification_property_map.h.