mCRL2
Loading...
Searching...
No Matches
translate_regular_formulas.h
Go to the documentation of this file.
1// Author(s): Aad Mathijssen
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_MODAL_FORMULA_TRANSLATE_REGULAR_FORMULAS_H
13#define MCRL2_MODAL_FORMULA_TRANSLATE_REGULAR_FORMULAS_H
14
16
17namespace mcrl2 {
18
19namespace regular_formulas {
20
21namespace detail {
22
31
32} // namespace detail
33
34} // namespace regular_formulas
35
36namespace state_formulas {
37
40inline
42{
44 if (result == atermpp::aterm())
45 {
46 throw mcrl2::runtime_error("regular formula translation error");
47 }
48 return state_formula(result);
49}
50
51} // namespace state_formulas
52
53} // namespace mcrl2
54
55#endif // MCRL2_MODAL_FORMULA_TRANSLATE_REGULAR_FORMULAS_H
Standard exception class for reporting runtime errors.
Definition exception.h:27
mcrl2::state_formulas::state_formula translate_reg_frms(const mcrl2::state_formulas::state_formula &state_frm)
Translate regular formulas in terms of state and action formulas.
state_formula translate_regular_formulas(const state_formula &x)
Translates regular formulas appearing in f into action formulas.
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...
Definition indexed_set.h:72
Add your file description here.