|
mCRL2
|
#include <pbessolve_algorithm.h>
Public Member Functions | |
| pbessolve_tool (const std::string &toolname) | |
| void | check_param_match (const mcrl2::data::variable_list Xparams, const mcrl2::data::variable_list X_hatparams) |
| Sanity checks for guessing the redundant parameters between two PBESs. | |
| std::set< int > | get_param_difference (const mcrl2::data::variable_list Xparams, const mcrl2::data::variable_list X_hatparams) |
| Returns the difference between two lists of pbes equation parameters. | |
| std::unordered_map< std::string, std::set< int > > | construct_R (pbes_system::pbes first, pbes_system::pbes second) |
Compares two PBESs to guess, for each equation sigma X(d: D) = ..., which parameters in d: D are redundant in X. Records the position of a parameter d in R[X] when d is a param of X in the second pbes, but not in the first one. | |
| template<typename PbesInstAlgorithm , typename PbesInstAlgorithmCE > | |
| void | run_algorithm (pbes_system::pbes &pbesspec, const data::mutable_map_substitution<> &sigma) |
| bool | run () override |
Public Member Functions inherited from mcrl2::utilities::tools::parallel_tool< rewriter_tool< pbes_input_tool< input_tool > > > | |
| parallel_tool (const std::string &name, const std::string &author, const std::string &what_is, const std::string &tool_description, std::string known_issues="") | |
| Constructor. | |
| std::size_t | number_of_threads () const |
| Returns the number of threads in this tool. | |
Public Member Functions inherited from mcrl2::data::tools::rewriter_tool< pbes_input_tool< input_tool > > | |
| rewriter_tool (const std::string &name, const std::string &author, const std::string &what_is, const std::string &tool_description, std::string known_issues="") | |
| Constructor. | |
| data::rewrite_strategy | rewrite_strategy () const |
| Returns the rewrite strategy. | |
| data::rewriter | create_rewriter (const data::data_specification &data_spec=data::data_specification()) |
| Creates a data rewriter as specified on the command line. | |
Public Member Functions inherited from mcrl2::pbes_system::tools::pbes_input_tool< input_tool > | |
| pbes_input_tool (const std::string &name, const std::string &author, const std::string &what_is, const std::string &tool_description, std::string known_issues="") | |
| Constructor. | |
| ~pbes_input_tool () override=default | |
| Destructor. | |
| utilities::file_format | pbes_input_format () const |
| Returns the input file format. | |
Protected Types | |
| using | super = parallel_tool< rewriter_tool< pbes_input_tool< input_tool > > > |
Protected Member Functions | |
| void | add_options (utilities::interface_description &desc) override |
| void | parse_options (const utilities::command_line_parser &parser) override |
| std::set< utilities::file_format > | available_input_formats () const override |
| Returns the file formats that are available for this tool. Override this method to change the standard behavior. | |
Protected Member Functions inherited from mcrl2::utilities::tools::parallel_tool< rewriter_tool< pbes_input_tool< input_tool > > > | |
| void | add_options (utilities::interface_description &desc) override |
| Add the –threads option to an interface description. | |
| void | parse_options (const utilities::command_line_parser &parser) override |
| Parse non-standard options. | |
Protected Member Functions inherited from mcrl2::data::tools::rewriter_tool< pbes_input_tool< input_tool > > | |
| void | add_options (utilities::interface_description &desc, bool suppress_jittyp) |
| Add options to an interface description. Also includes rewriter options. | |
| void | add_options (utilities::interface_description &desc) override |
| Add options to an interface description. Also includes rewriter options. | |
| void | parse_options (const utilities::command_line_parser &parser) override |
| Parse non-standard options. | |
Protected Member Functions inherited from mcrl2::pbes_system::tools::pbes_input_tool< input_tool > | |
| virtual std::set< utilities::file_format > | available_input_formats () const |
| Returns the file formats that are available for this tool. Override this method to change the standard behavior. | |
| virtual utilities::file_format | default_input_format () const |
| Returns the default file format. Override this method to change the standard behavior. | |
| void | add_options (utilities::interface_description &desc) override |
| Add options to an interface description. Also includes input format options. | |
| void | parse_options (const utilities::command_line_parser &parser) override |
| Parse non-standard options. | |
Protected Attributes | |
| pbessolve_options | options |
| int | m_short_strategy = 0 |
| partial_solve_strategy | m_long_strategy = partial_solve_strategy::none |
| std::string | lpsfile |
| std::string | ltsfile |
| std::string | evidence_file |
| std::string | original_pbes_file |
Protected Attributes inherited from mcrl2::utilities::tools::parallel_tool< rewriter_tool< pbes_input_tool< input_tool > > > | |
| std::size_t | m_number_of_threads |
| The number of threads in the parallel tool. | |
Protected Attributes inherited from mcrl2::data::tools::rewriter_tool< pbes_input_tool< input_tool > > | |
| data::rewrite_strategy | m_rewrite_strategy |
| The data rewriter strategy. | |
| std::size_t | m_qlimit |
| The limit on the number of rewriting steps in quantifiers. By default 10;. | |
Protected Attributes inherited from mcrl2::pbes_system::tools::pbes_input_tool< input_tool > | |
| utilities::file_format | m_pbes_input_format |
| The type of the pbes input format. | |
Definition at line 146 of file pbessolve_algorithm.h.
|
protected |
Definition at line 150 of file pbessolve_algorithm.h.
|
inline |
Definition at line 301 of file pbessolve_algorithm.h.
|
inlineoverrideprotected |
Definition at line 160 of file pbessolve_algorithm.h.
|
inlineoverrideprotectedvirtual |
Returns the file formats that are available for this tool. Override this method to change the standard behavior.
Reimplemented from mcrl2::pbes_system::tools::pbes_input_tool< input_tool >.
Definition at line 295 of file pbessolve_algorithm.h.
|
inline |
Sanity checks for guessing the redundant parameters between two PBESs.
| Xparams | A list of parameters of a pbes equation X. |
| X_hatparams | A list of parameters of a pbes equation X_hat. |
Definition at line 316 of file pbessolve_algorithm.h.
|
inline |
Compares two PBESs to guess, for each equation sigma X(d: D) = ..., which parameters in d: D are redundant in X. Records the position of a parameter d in R[X] when d is a param of X in the second pbes, but not in the first one.
| first | A pbes. |
| second | The version of the first pbes before pbesparelm. |
second to positions of parameters that are redundant in X. Definition at line 362 of file pbessolve_algorithm.h.
|
inline |
Returns the difference between two lists of pbes equation parameters.
| Xparams | A list of parameters of a pbes equation X. |
| X_hatparams | A list of parameters of a pbes equation X_hat. |
Definition at line 337 of file pbessolve_algorithm.h.
|
inlineoverrideprotected |
Definition at line 238 of file pbessolve_algorithm.h.
|
inlineoverride |
Definition at line 487 of file pbessolve_algorithm.h.
|
inline |
Definition at line 389 of file pbessolve_algorithm.h.
|
protected |
Definition at line 157 of file pbessolve_algorithm.h.
|
protected |
Definition at line 155 of file pbessolve_algorithm.h.
|
protected |
Definition at line 156 of file pbessolve_algorithm.h.
|
protected |
Definition at line 154 of file pbessolve_algorithm.h.
|
protected |
Definition at line 153 of file pbessolve_algorithm.h.
|
protected |
Definition at line 152 of file pbessolve_algorithm.h.
|
protected |
Definition at line 158 of file pbessolve_algorithm.h.