12#ifndef MCRL2_DATA_MACHINE_NUMBER_H
13#define MCRL2_DATA_MACHINE_NUMBER_H
58 return atermpp::down_cast<atermpp::aterm_int>(
static_cast<const atermpp::aterm&
>(*
this)).value();
64template <
class... ARGUMENTS>
100 std::size_t n=std::numeric_limits<std::size_t>::max();
101 assert(n % 100 != 99);
102 return std::to_string(n/100) + std::to_string(1+n % 100);
An integer term stores a single std::size_t value. It carries no arguments.
void swap(unprotected_aterm_core &t) noexcept
Swaps this term with its argument.
bool type_is_int() const noexcept
Dynamic check whether the term is an aterm_int.
machine_number()
\brief Default constructor X2.
std::size_t value() const
machine_number(const machine_number &) noexcept=default
Move semantics.
machine_number(std::size_t value)
\brief Constructor Z13.
machine_number(machine_number &&) noexcept=default
machine_number(const atermpp::aterm &term)
The class data_expression.
The main namespace for the aterm++ library.
void make_aterm_int(aterm_int &target, std::size_t value)
Constructs an integer term from a value.
std::vector< machine_number > machine_number_vector
\brief vector of machine_numbers
void make_machine_number(atermpp::aterm &t, size_t n)
void swap(abstraction &t1, abstraction &t2)
\brief swap overload
std::set< data::variable > find_all_variables(const data::data_expression &x)
atermpp::term_list< machine_number > machine_number_list
\brief list of machine_numbers
std::string pp(const abstraction &x)
std::string max_machine_number_string()
A string representation indicating the maximal machine number + 1.
std::ostream & operator<<(std::ostream &out, const abstraction &x)
std::pair< atermpp::aterm, atermpp::aterm > machine_number_key_type
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...