12#ifndef MCRL2_LPS_STOCHASTIC_DISTRIBUTION_H
13#define MCRL2_LPS_STOCHASTIC_DISTRIBUTION_H
28 :
atermpp::
aterm(core::detail::default_values::Distribution)
52 return atermpp::down_cast<data::variable_list>((*
this)[0]);
57 return atermpp::down_cast<data::data_expression>((*
this)[1]);
71template <
class... ARGUMENTS>
93std::string
pp(
const stochastic_distribution& x);
aterm()
Default constructor.
const function_symbol & function() const
Returns the function symbol belonging to an aterm.
bool empty() const
Returns true if the list's size is 0.
void swap(unprotected_aterm_core &t) noexcept
Swaps this term with its argument.
\brief A stochastic distribution
stochastic_distribution(stochastic_distribution &&) noexcept=default
stochastic_distribution()
\brief Default constructor X3.
stochastic_distribution(const stochastic_distribution &) noexcept=default
Move semantics.
const data::variable_list & variables() const
bool is_defined() const
Returns true if the distribution is defined, i.e. it contains a valid distribution....
stochastic_distribution(const data::variable_list &variables, const data::data_expression &distribution)
\brief Constructor Z12.
stochastic_distribution(const atermpp::aterm &term)
const data::data_expression & distribution() const
The main namespace for the aterm++ library.
void make_term_appl(Term &target, const function_symbol &sym, ForwardIterator begin, ForwardIterator end)
Constructor an aterm in a variable based on a function symbol and an forward iterator providing the a...
const atermpp::function_symbol & function_symbol_Distribution()
bool check_term_Distribution(const Term &t)
void make_stochastic_distribution(atermpp::aterm &t, const ARGUMENTS &... args)
std::string pp(const action_summand &x)
std::ostream & operator<<(std::ostream &out, const action_summand &x)
atermpp::term_list< stochastic_distribution > stochastic_distribution_list
\brief list of stochastic_distributions
void swap(action_summand &t1, action_summand &t2)
\brief swap overload
bool is_stochastic_distribution(const atermpp::aterm &x)
std::vector< stochastic_distribution > stochastic_distribution_vector
\brief vector of stochastic_distributions
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...
static const atermpp::function_symbol Distribution