12#ifndef MCRL2_PBES_TOOLS_PBESINFO_H
13#define MCRL2_PBES_TOOLS_PBESINFO_H
20namespace pbes_system {
22void pbesinfo(
const std::string& input_filename,
23 const std::string& input_file_message,
29 load_pbes(p, input_filename, file_format);
34 std::cout << input_file_message <<
"\n\n";
37 std::cout <<
"Number of equations: " << p.
equations().size() << std::endl;
40 std::cout <<
"Number of mu's: " << info[
"mu_equation_count"] << std::endl;
43 std::cout <<
"Number of nu's: " << info[
"nu_equation_count"] << std::endl;
46 std::cout <<
"Block nesting depth: " << info[
"block_nesting_depth"] << std::endl;
49 std::cout <<
"The PBES is closed: " << std::flush;
50 std::cout << (p.
is_closed() ?
"yes" :
"no ") << std::endl;
51 std::cout <<
"The PBES is well formed: " << std::flush;
52 std::cout << (p.
is_well_typed() ?
"yes" :
"no ") << std::endl;
57 std::cout <<
"Predicate variables:\n";
58 for (std::vector<pbes_equation>::const_iterator i = p.
equations().begin(); i != p.
equations().end(); ++i)
60 std::cout <<
core::pp(i->symbol()) <<
"." <<
pp(i->variable()) << std::endl;
Stores the following properties of a linear process specification:
parameterized boolean equation system
bool is_closed() const
True if the pbes is closed.
const std::vector< pbes_equation > & equations() const
Returns the equations.
bool is_well_typed() const
Checks if the PBES is well typed.
std::string pp(const identifier_string &x)
void load_pbes(pbes &pbes, std::istream &stream, utilities::file_format format, const std::string &source="")
Load a PBES from file.
void pbesinfo(const std::string &input_filename, const std::string &input_file_message, const utilities::file_format &file_format, bool opt_full)
std::string pp(const fixpoint_symbol &x)
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...
IO routines for boolean equation systems.
A property map containing properties of an LPS specification.