mCRL2
Loading...
Searching...
No Matches
lps_command.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//
9/// \file mcrl2/lps/detail/lps_command.h
10/// \brief add your file description here.
11
12#ifndef MCRL2_LPS_DETAIL_LPS_COMMAND_H
13#define MCRL2_LPS_DETAIL_LPS_COMMAND_H
14
15#include "mcrl2/data/rewriter.h"
16#include "mcrl2/lps/io.h"
17#include "mcrl2/utilities/detail/command.h"
18
19namespace mcrl2 {
20
21namespace lps {
22
23namespace detail {
24
26{
28
29 lps_command(const std::string& name,
30 const std::string& input_filename,
31 const std::string& output_filename,
32 const std::vector<std::string>& options
33 )
35 {}
36
37 void execute()
38 {
39 lps::load_lps(lpsspec, input_filename);
40 }
41};
42
43/// \brief PBES command that uses a rewrite strategy
45{
47
48 lps_rewriter_command(const std::string& name,
49 const std::string& input_filename,
50 const std::string& output_filename,
51 const std::vector<std::string>& options,
52 data::rewrite_strategy strategy_)
54 strategy(strategy_)
55 {}
56};
57
58} // namespace detail
59
60} // namespace lps
61
62} // namespace mcrl2
63
64#endif // MCRL2_LPS_DETAIL_LPS_COMMAND_H
Linear process specification.
Namespace for all data library functionality.
Definition data.cpp:22
rewrite_strategy
The strategy of the rewriter.
The main namespace for the LPS library.
Definition constelm.h:21
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...
lps_command(const std::string &name, const std::string &input_filename, const std::string &output_filename, const std::vector< std::string > &options)
Definition lps_command.h:29
PBES command that uses a rewrite strategy.
Definition lps_command.h:45
lps_rewriter_command(const std::string &name, const std::string &input_filename, const std::string &output_filename, const std::vector< std::string > &options, data::rewrite_strategy strategy_)
Definition lps_command.h:48
std::size_t operator()(const atermpp::detail::reference_aterm< T > &t) const