mCRL2
Loading...
Searching...
No Matches
algorithms.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_MODAL_FORMULA_ALGORITHMS_H
13#define MCRL2_MODAL_FORMULA_ALGORITHMS_H
14
17
18namespace mcrl2 {
19
20namespace state_formulas {
21
22namespace algorithms {
23
25// spec may be updated as the data implementation of the state formula
26// may cause internal names to change.
31state_formula parse_state_formula(std::istream& in, lps::stochastic_specification& spec, const bool formula_is_quantitative);
32
34// spec may be updated as the data implementation of the state formula
35// may cause internal names to change.
40state_formula parse_state_formula(const std::string& formula_text, lps::stochastic_specification& spec, const bool formula_is_quantitative);
41
43state_formula_specification parse_state_formula_specification(std::istream& in, const bool formula_is_quantitative);
44
46state_formula_specification parse_state_formula_specification(const std::string& text, const bool formula_is_quantitative);
47
49state_formula_specification parse_state_formula_specification(std::istream& in, lps::stochastic_specification& lpsspec, const bool formula_is_quantitative);
50
52state_formula_specification parse_state_formula_specification(const std::string& text, lps::stochastic_specification& lpsspec, const bool formula_is_quantitative);
53
57bool is_monotonous(const state_formula& f);
58
61
64bool is_normalized(const state_formula& x);
65
67std::set<core::identifier_string> find_state_variable_names(const state_formula& x);
68
69} // namespace algorithms
70
71} // namespace state_formulas
72
73} // namespace mcrl2
74
75#endif // MCRL2_MODAL_FORMULA_ALGORITHMS_H
state_formula normalize(const state_formula &x)
Normalizes a state formula, i.e. removes any occurrences of ! or =>.
bool is_normalized(const state_formula &x)
Checks if a state formula is normalized.
state_formula_specification parse_state_formula_specification(std::istream &in, const bool formula_is_quantitative)
Parses a state formula specification from an input stream.
bool is_monotonous(const state_formula &f)
Returns true if the state formula is monotonous.
state_formula parse_state_formula(std::istream &in, lps::stochastic_specification &spec, const bool formula_is_quantitative)
Parses a state formula from an input stream.
std::set< core::identifier_string > find_state_variable_names(const state_formula &x)
Returns the names of the state variables that occur in x.
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.