|
mCRL2
|
Algorithm class for the computation of the local and global control flow graphs. More...
#include <stategraph_algorithm.h>
Public Member Functions | |
| void | simplify (stategraph_pbes &p) const |
| const std::map< core::identifier_string, std::vector< bool > > & | get_GCFP () const |
| void | compute_control_flow_parameters () |
| template<typename T > | |
| std::string | print_control_flow_parameters (const std::string &msg, T &is_CFP) |
| std::string | print_LCFP () |
| std::string | print_GCFP () |
| template<typename Map > | |
| bool | is_undefined (const Map &m, const typename Map::key_type &key) const |
| template<typename Map > | |
| bool | is_mapped_to (const Map &m, const typename Map::key_type &key, const typename Map::mapped_type &value) const |
| bool | maps_to_and_is_GFCP (const std::map< std::size_t, std::size_t > &m, std::size_t value, const core::identifier_string &X) |
| void | compute_local_control_flow_parameters () |
| void | compute_global_control_flow_parameters () |
| bool | is_LCFP_parameter (const core::identifier_string &X, std::size_t i) const |
| bool | is_GCFP_parameter (const core::identifier_string &X, std::size_t i) const |
| bool | is_global_control_flow_parameter (const core::identifier_string &X, std::size_t i) const |
| void | relate_GCFP_vertices (const core::identifier_string &X, std::size_t n, const core::identifier_string &Y, std::size_t m) |
| std::string | print_cfp (const core::identifier_string &X, std::size_t i) const |
| std::string | log_related_parameters (const core::identifier_string &X, std::size_t n, const core::identifier_string &Y, std::size_t m, const predicate_variable &Ye, const std::string &reason="") const |
| void | compute_related_GCFP_parameters () |
| bool | is_valid_connected_component (const std::set< std::size_t > &component) const |
| std::string | print_connected_component (const std::set< std::size_t > &component) const |
| void | print_connected_components () const |
| std::set< std::size_t > | compute_connected_component (std::size_t i, std::vector< bool > &done) const |
| void | compute_connected_components () |
| void | remove_invalid_connected_components () |
| bool | is_not_only_copied (const core::identifier_string &X, std::size_t m) const |
| bool | has_only_copied_CFPs (const std::set< std::size_t > &component) const |
| void | remove_only_copy_components () |
| const std::vector< bool > & | is_GCFP (const core::identifier_string &X) const |
| std::set< data::variable > | control_flow_parameters (const core::identifier_string &X) const |
| std::vector< std::size_t > | control_flow_parameter_indices (const core::identifier_string &X) const |
| std::string | print_data_parameters (const core::identifier_string &X, const std::set< std::size_t > &I) const |
| void | set_parameters (const stategraph_pbes &p) |
| void | print_final_control_flow_parameters () const |
| stategraph_algorithm (const pbes &p, const pbesstategraph_options &options) | |
| Constructor. | |
| virtual | ~stategraph_algorithm ()=default |
| Destructor. | |
| const std::vector< std::set< std::size_t > > & | connected_components () const |
| Returns the connected components of the global control flow graph. | |
| std::string | print (const GCFP_vertex &u) const |
| std::set< data::data_expression > | compute_connected_component_values (const std::set< std::size_t > &component) |
| Computes the values that the CFPs in component can attain. | |
| void | compute_connected_component_values () |
| std::vector< data::data_expression > | compute_values (const core::identifier_string &X, std::size_t j) const |
| void | run () |
| virtual void | execute_preprocessing () |
| virtual void | execute_core () |
| virtual void | execute_postprocessing () |
| const stategraph_pbes & | get_pbes () const |
| const GCFP_graph & | GCFP () const |
| std::vector< local_control_flow_graph > & | local_graphs () |
| const std::vector< local_control_flow_graph > & | local_graphs () const |
Protected Member Functions | |
| std::set< data::variable > | FV (const data::data_expression &x) const |
| void | start_timer (const std::string &msg) const |
| void | finish_timer (const std::string &msg) const |
Protected Attributes | |
| stategraph_pbes | m_pbes |
| data::rewriter | m_datar |
| pbesstategraph_options | m_options |
| std::map< core::identifier_string, std::vector< bool > > | m_is_LCFP |
| std::map< core::identifier_string, std::vector< bool > > | m_is_GCFP |
| GCFP_graph | m_GCFP_graph |
| std::vector< std::set< std::size_t > > | m_connected_components |
| std::vector< std::set< data::data_expression > > | m_connected_components_values |
| std::vector< local_control_flow_graph > | m_local_control_flow_graphs |
Algorithm class for the computation of the local and global control flow graphs.
Definition at line 37 of file stategraph_algorithm.h.
|
inline |
Constructor.
Definition at line 747 of file stategraph_algorithm.h.
|
virtualdefault |
Destructor.
|
inline |
Definition at line 494 of file stategraph_algorithm.h.
|
inline |
Definition at line 832 of file stategraph_algorithm.h.
|
inline |
Computes the values that the CFPs in component can attain.
Definition at line 771 of file stategraph_algorithm.h.
|
inline |
Definition at line 521 of file stategraph_algorithm.h.
|
inline |
Definition at line 106 of file stategraph_algorithm.h.
|
inline |
Definition at line 248 of file stategraph_algorithm.h.
|
inline |
Definition at line 183 of file stategraph_algorithm.h.
|
inline |
Definition at line 393 of file stategraph_algorithm.h.
|
inline |
Definition at line 844 of file stategraph_algorithm.h.
|
inline |
Returns the connected components of the global control flow graph.
Definition at line 758 of file stategraph_algorithm.h.
|
inline |
Definition at line 633 of file stategraph_algorithm.h.
|
inline |
Definition at line 616 of file stategraph_algorithm.h.
|
inlinevirtual |
Reimplemented in mcrl2::pbes_system::detail::stategraph_global_algorithm, mcrl2::pbes_system::detail::global_reset_variables_algorithm, and mcrl2::pbes_system::detail::stategraph_local_algorithm.
Definition at line 884 of file stategraph_algorithm.h.
|
inlinevirtual |
Reimplemented in mcrl2::pbes_system::detail::lpsstategraph_algorithm, and mcrl2::pbes_system::detail::local_reset_variables_algorithm.
Definition at line 885 of file stategraph_algorithm.h.
|
inlinevirtual |
Definition at line 867 of file stategraph_algorithm.h.
|
inlineprotected |
Definition at line 97 of file stategraph_algorithm.h.
|
inlineprotected |
Definition at line 84 of file stategraph_algorithm.h.
|
inline |
Definition at line 892 of file stategraph_algorithm.h.
|
inline |
Definition at line 53 of file stategraph_algorithm.h.
|
inline |
Definition at line 887 of file stategraph_algorithm.h.
|
inline |
Definition at line 582 of file stategraph_algorithm.h.
|
inline |
Definition at line 608 of file stategraph_algorithm.h.
|
inline |
Definition at line 339 of file stategraph_algorithm.h.
|
inline |
Definition at line 348 of file stategraph_algorithm.h.
|
inline |
Definition at line 330 of file stategraph_algorithm.h.
|
inline |
Definition at line 165 of file stategraph_algorithm.h.
|
inline |
Definition at line 554 of file stategraph_algorithm.h.
|
inline |
Definition at line 158 of file stategraph_algorithm.h.
|
inline |
Definition at line 450 of file stategraph_algorithm.h.
|
inline |
Definition at line 897 of file stategraph_algorithm.h.
|
inline |
Definition at line 902 of file stategraph_algorithm.h.
|
inline |
Definition at line 375 of file stategraph_algorithm.h.
|
inline |
Definition at line 171 of file stategraph_algorithm.h.
|
inline |
Definition at line 763 of file stategraph_algorithm.h.
|
inline |
Definition at line 366 of file stategraph_algorithm.h.
|
inline |
Definition at line 465 of file stategraph_algorithm.h.
|
inline |
Definition at line 485 of file stategraph_algorithm.h.
|
inline |
Definition at line 126 of file stategraph_algorithm.h.
|
inline |
Definition at line 648 of file stategraph_algorithm.h.
|
inline |
Definition at line 707 of file stategraph_algorithm.h.
|
inline |
Definition at line 151 of file stategraph_algorithm.h.
|
inline |
Definition at line 146 of file stategraph_algorithm.h.
|
inline |
Definition at line 358 of file stategraph_algorithm.h.
|
inline |
Definition at line 542 of file stategraph_algorithm.h.
|
inline |
Definition at line 598 of file stategraph_algorithm.h.
|
inline |
Definition at line 860 of file stategraph_algorithm.h.
|
inline |
Definition at line 660 of file stategraph_algorithm.h.
|
inline |
Definition at line 41 of file stategraph_algorithm.h.
|
inlineprotected |
Definition at line 89 of file stategraph_algorithm.h.
|
protected |
Definition at line 75 of file stategraph_algorithm.h.
|
protected |
Definition at line 78 of file stategraph_algorithm.h.
|
protected |
Definition at line 60 of file stategraph_algorithm.h.
|
protected |
Definition at line 72 of file stategraph_algorithm.h.
|
protected |
Definition at line 69 of file stategraph_algorithm.h.
|
protected |
Definition at line 66 of file stategraph_algorithm.h.
|
protected |
Definition at line 81 of file stategraph_algorithm.h.
|
protected |
Definition at line 63 of file stategraph_algorithm.h.
|
protected |
Definition at line 57 of file stategraph_algorithm.h.