mCRL2
Loading...
Searching...
No Matches
tools.h
Go to the documentation of this file.
1// Author(s): Wieger Wesselink
2// Copyright: see the accompanying file COPYING or copy at
3// https://github.com/mCRL2org/mCRL2/blob/master/COPYING
4//
5// Distributed under the Boost Software License, Version 1.0.
6// (See accompanying file LICENSE_1_0.txt or copy at
7// http://www.boost.org/LICENSE_1_0.txt)
8//
11
12#ifndef MCRL2_LPS_TOOLS_H
13#define MCRL2_LPS_TOOLS_H
14
15#include "mcrl2/core/print.h"
18#include "mcrl2/data/rewriter.h"
19
20namespace mcrl2 {
21
22namespace lps {
23
24void lpsbinary(const std::string& input_filename,
25 const std::string& output_filename,
26 const std::string& parameter_selection);
27
28void lpsconstelm(const std::string& input_filename,
29 const std::string& output_filename,
30 data::rewriter::strategy rewrite_strategy,
31 bool instantiate_free_variables,
32 bool ignore_conditions,
35 );
36
37void lpsinfo(const std::string& input_filename,
38 const std::string& input_file_message
39 );
40
41bool lpsinvelm(const std::string& input_filename,
42 const std::string& output_filename,
43 const std::string& invariant_filename,
44 const std::string& dot_file_name,
45 data::rewriter::strategy rewrite_strategy,
47 const bool no_check,
48 const bool no_elimination,
49 const bool simplify_all,
50 const bool all_violations,
51 const bool counter_example,
52 const bool path_eliminator,
53 const bool apply_induction,
54 const int time_limit
55 );
56
57void lpsparelm(const std::string& input_filename,
58 const std::string& output_filename
59 );
60
61void lpspp(const std::string& input_filename,
62 const std::string& output_filename,
63 bool print_summand_numbers,
65 );
66
67void lpsrewr(const std::string& input_filename,
68 const std::string& output_filename,
69 const data::rewriter::strategy rewrite_strategy,
70 const lps::lps_rewriter_type rewriter_type
71 );
72
73void lpssumelm(const std::string& input_filename,
74 const std::string& output_filename,
75 const bool decluster);
76
77void lpssuminst(const std::string& input_filename,
78 const std::string& output_filename,
79 const data::rewriter::strategy rewrite_strategy,
80 const std::string& sorts_string,
81 const bool finite_sorts_only,
82 const bool tau_summands_only);
83
84void lpsuntime(const std::string& input_filename,
85 const std::string& output_filename,
86 const bool add_invariants,
87 const bool apply_fourier_motzkin,
88 const data::rewriter::strategy rewrite_strategy);
89
90void txt2lps(const std::string& input_filename,
91 const std::string& output_filename
92 );
93
94} // namespace lps
95
96} // namespace mcrl2
97
98#endif // MCRL2_LPS_TOOLS_H
rewrite_strategy strategy
The rewrite strategies of the rewriter.
Definition rewriter.h:44
Functions for pretty printing ATerms.
The class rewriter.
add your file description here.
print_format_type
print_format_type represents the available pretty print formats
smt_solver_type
The enumeration type smt_solver_type enumerates all available SMT solvers.
Definition solver_type.h:27
void lpspp(const std::string &input_filename, const std::string &output_filename, bool print_summand_numbers, core::print_format_type format)
Definition tools.cpp:171
void lpssumelm(const std::string &input_filename, const std::string &output_filename, const bool decluster)
Definition tools.cpp:246
void txt2lps(const std::string &input_filename, const std::string &output_filename)
Definition tools.cpp:310
void lpsuntime(const std::string &input_filename, const std::string &output_filename, const bool add_invariants, const bool apply_fourier_motzkin, const data::rewriter::strategy rewrite_strategy)
Definition tools.cpp:296
void lpssuminst(const std::string &input_filename, const std::string &output_filename, const data::rewriter::strategy rewrite_strategy, const std::string &sorts_string, const bool finite_sorts_only, const bool tau_summands_only)
Definition tools.cpp:259
bool lpsinvelm(const std::string &input_filename, const std::string &output_filename, const std::string &invariant_filename, const std::string &dot_file_name, data::rewriter::strategy rewrite_strategy, data::detail::smt_solver_type solver_type, const bool no_check, const bool no_elimination, const bool simplify_all, const bool all_violations, const bool counter_example, const bool path_eliminator, const bool apply_induction, const int time_limit)
Definition tools.cpp:86
void lpsparelm(const std::string &input_filename, const std::string &output_filename)
Definition tools.cpp:161
void lpsbinary(const std::string &input_filename, const std::string &output_filename, const std::string &parameter_selection)
Definition tools.cpp:31
lps_rewriter_type
An enumerated type for the available lps rewriters.
void lpsconstelm(const std::string &input_filename, const std::string &output_filename, data::rewriter::strategy rewrite_strategy, bool instantiate_free_variables, bool ignore_conditions, bool remove_trivial_summands, bool remove_singleton_sorts)
Definition tools.cpp:43
void remove_singleton_sorts(Specification &spec)
Removes parameters with a singleton sort from a linear process specification.
Definition remove.h:211
void lpsrewr(const std::string &input_filename, const std::string &output_filename, const data::rewriter::strategy rewrite_strategy, const lps::lps_rewriter_type rewriter_type)
Definition tools.cpp:213
void lpsinfo(const std::string &input_filename, const std::string &input_file_message)
Definition tools.cpp:75
void remove_trivial_summands(Specification &spec)
Removes summands with condition equal to false from a linear process specification.
Definition remove.h:199
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...
Definition indexed_set.h:72
Enumeration for the types of solvers.