mCRL2
Loading...
Searching...
No Matches
pbesparelm.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_PBES_TOOLS_PBESPARELM_H
13#define MCRL2_PBES_TOOLS_PBESPARELM_H
14
15#include "mcrl2/pbes/io.h"
16#include "mcrl2/pbes/parelm.h"
17
18namespace mcrl2 {
19
20namespace pbes_system {
21
22void pbesparelm(const std::string& input_filename,
23 const std::string& output_filename,
24 const utilities::file_format& input_format,
25 const utilities::file_format& output_format
26 )
27{
28 // load the pbes
29 pbes p;
30 load_pbes(p, input_filename, input_format);
31
32 parelm(p);
33
34 // save the result
35 save_pbes(p, output_filename, output_format);
36}
37
38} // namespace pbes_system
39
40} // namespace mcrl2
41
42#endif // MCRL2_PBES_TOOLS_PBESPARELM_H
parameterized boolean equation system
Definition pbes.h:58
void load_pbes(pbes &pbes, std::istream &stream, utilities::file_format format, const std::string &source="")
Load a PBES from file.
Definition io.cpp:82
void save_pbes(const pbes &pbes, std::ostream &stream, utilities::file_format format=utilities::file_format())
Save a PBES in the format specified.
Definition io.cpp:49
void pbesparelm(const std::string &input_filename, const std::string &output_filename, const utilities::file_format &input_format, const utilities::file_format &output_format)
Definition pbesparelm.h:22
void parelm(pbes &p)
Apply the parelm algorithm.
Definition parelm.h:309
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...
Definition indexed_set.h:72
IO routines for boolean equation systems.
The parelm algorithm.