|
| | pbes_property_map (const std::string &text) |
| | Constructor. The strings may appear in a random order, and not all of them need to be present.
|
| |
| | pbes_property_map (const pbes &p) |
| | Constructor Initializes the pbes_property_map with a linear process specification.
|
| |
| std::string | compare (const pbes_property_map &other) const |
| |
| 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.
|
| |
| | 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 | print (const propositional_variable &v) const |
| |
| std::string | compare_property (const std::string &property, const std::string &x, const std::string &y) const |
| |
| std::pair< std::size_t, std::size_t > | compute_equation_counts (const pbes &p) const |
| | Computes the number of mu and nu equations and returns them as a pair.
|
| |
| std::size_t | compute_block_nesting_depth (const pbes &p) const |
| |
| 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 |
| |
| std::string | print (const Container &v, typename atermpp::enable_if_container< Container >::type *=nullptr) const |
| |
| 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.
|
| |
| 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 |
| |
| 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 |
| | Default constructor for derived types.
|
| |
| void | parse_text (const std::string &text) |
| | Initializes the property map with text containing lines in KEY = VALUE format.
|
| |
Stores the following properties of a linear process specification:
| property | description | format |
| equation_count | The number of equation | NUMBER |
| mu_equation_count | The number of mu equations | NUMBER |
| nu_equation_count | The number of nu equations | NUMBER |
| block_nesting_depth | The number of mu/nu alternations | NUMBER |
| declared_free_variables | The declared free variables | PARAMLIST |
| 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 | PARAMLIST |
| used_free_variables_names | The names of the used free variables | NAME, ..., NAME |
| used_free_variable_count | The number of used free variables | NUMBER |
| binding_variables | The binding variables | NAME(PARAMLIST), ..., NAME(PARAMLIST) |
| binding_variable_names | The names of the binding variables | NAME, ..., NAME |
| occurring_variables | The occurring variables | NUMBER |
| occurring_variable_names | The names of the occurring variables | NAME(PARAMLIST), ..., NAME(PARAMLIST) |
where PARAMLIST is defined as NAME:SORT, ... ,NAME:SORT.
Definition at line 42 of file pbes_property_map.h.