mcrl2/lps/specification.h

Include file:

#include "mcrl2/lps/specification.h"

The class specification.

Functions

bool check_well_typedness(const stochastic_specification &x)
bool mcrl2::lps::check_well_typedness(const Object &o)
bool check_well_typedness(const specification &x)
void complete_data_specification(stochastic_specification &spec)

Adds all sorts that appear in the process of l to the data specification of l.

Parameters:

  • spec A linear process specification
void complete_data_specification(specification &spec)

Adds all sorts that appear in the process of l to the data specification of l.

Parameters:

  • spec A linear process specification
std::set<process::action_label> find_action_labels(const lps::specification &x)
std::set<data::variable> find_all_variables(const lps::stochastic_specification &x)
std::set<data::variable> find_all_variables(const lps::specification &x)
std::set<data::variable> find_free_variables(const lps::stochastic_specification &x)
std::set<data::variable> find_free_variables(const lps::specification &x)
std::set<data::function_symbol> find_function_symbols(const lps::stochastic_specification &x)
std::set<data::function_symbol> find_function_symbols(const lps::specification &x)
std::set<core::identifier_string> find_identifiers(const lps::stochastic_specification &x)
std::set<core::identifier_string> find_identifiers(const lps::specification &x)
std::set<data::sort_expression> find_sort_expressions(const lps::stochastic_specification &x)
std::set<data::sort_expression> find_sort_expressions(const lps::specification &x)
bool mcrl2::lps::is_specification(const atermpp::aterm_appl &x)

Test for a specification expression.

Parameters:

  • x A term

Returns: True if x is a specification expression

void normalize_sorts(lps::specification &x, const data::sort_specification&)
bool mcrl2::lps::operator!=(const stochastic_specification &spec1, const stochastic_specification &spec2)

Inequality operator.

bool mcrl2::lps::operator!=(const specification &spec1, const specification &spec2)

Inequality operator.

std::ostream &mcrl2::lps::operator<<(std::ostream &out, const stochastic_specification &x)

Outputs the object to a stream.

Parameters:

  • out An output stream
  • x Object x

Returns: The output stream

std::ostream &mcrl2::lps::operator<<(std::ostream &out, const specification &x)

Outputs the object to a stream.

Parameters:

  • out An output stream
  • x Object x

Returns: The output stream

bool mcrl2::lps::operator==(const stochastic_specification &spec1, const stochastic_specification &spec2)
bool mcrl2::lps::operator==(const specification &spec1, const specification &spec2)

Equality operator.

std::string pp(const stochastic_specification &x)
std::string pp(const specification &x)
std::string pp_with_summand_numbers(const stochastic_specification &x)
std::string pp_with_summand_numbers(const specification &x)
specification mcrl2::lps::remove_stochastic_operators(const stochastic_specification &spec)

Converts a stochastic specification to a specification. Throws an exception if non-empty distributions are encountered.

atermpp::aterm_appl specification_to_aterm(const specification_base<LinearProcess, InitialProcessExpression> &spec)

Conversion to aterm_appl.

Returns: The specification converted to aterm format.