mCRL2
Loading...
Searching...
No Matches
mcrl2::lts::action_label_lts Class Reference

A class containing the values for action labels for the .lts format. More...

#include <lts_lts.h>

Inheritance diagram for mcrl2::lts::action_label_lts:
mcrl2::lps::multi_action atermpp::term_appl< aterm > atermpp::aterm atermpp::unprotected_aterm

Public Member Functions

 action_label_lts ()
 Default constructor.
 
 action_label_lts (const action_label_lts &)=default
 Copy constructor.
 
action_label_ltsoperator= (const action_label_lts &)=default
 Copy assignment.
 
 action_label_lts (const mcrl2::lps::multi_action &a)
 Constructor.
 
void hide_actions (const std::vector< std::string > &tau_actions)
 Hide the actions with labels in tau_actions.
 
- Public Member Functions inherited from mcrl2::lps::multi_action
 multi_action (const multi_action &) noexcept=default
 Move semantics.
 
 multi_action (multi_action &&) noexcept=default
 
multi_actionoperator= (const multi_action &) noexcept=default
 
multi_actionoperator= (multi_action &&) noexcept=default
 
const process::action_listactions () const
 
const data::data_expressiontime () const
 
 multi_action (const process::action_list &actions=process::action_list(), data::data_expression time=data::undefined_real())
 Constructor.
 
 multi_action (const atermpp::aterm &term)
 Constructor.
 
 multi_action (const process::action &l)
 Constructor.
 
bool has_time () const
 Returns true if time is available.
 
multi_action operator+ (const multi_action &other) const
 Joins the actions of both multi actions.
 
multi_action sort_actions () const
 Returns the multiaction in which the list of actions is sorted.
 
- Public Member Functions inherited from atermpp::term_appl< aterm >
 term_appl ()
 Default constructor.
 
 term_appl (const aterm &t)
 Explicit constructor from an aterm.
 
 term_appl (const term_appl &other) noexcept=default
 This class has user-declared copy constructor so declare default copy and move operators.
 
 term_appl (term_appl &&other) noexcept=default
 
 term_appl (const function_symbol &sym, ForwardIterator begin, ForwardIterator end)
 Constructor that provides an aterm_appl based on a function symbol and forward iterator providing the arguments.
 
 term_appl (const function_symbol &sym, InputIterator begin, InputIterator end)
 Constructor that provides an aterm_appl based on a function symbol and an input iterator providing the arguments.
 
 term_appl (const function_symbol &sym, InputIterator begin, InputIterator end, TermConverter converter)
 
 term_appl (const function_symbol &sym)
 Constructor.
 
 term_appl (const function_symbol &symbol, const Terms &...arguments)
 Constructor for n-arity function application.
 
term_apploperator= (const term_appl &other) noexcept=default
 
term_apploperator= (term_appl &&other) noexcept=default
 
const function_symbolfunction () const
 Returns the function symbol belonging to an aterm_appl.
 
size_type size () const
 Returns the number of arguments of this term.
 
bool empty () const
 Returns true if the term has no arguments.
 
const_iterator begin () const
 Returns an iterator pointing to the first argument.
 
const_iterator end () const
 Returns a const_iterator pointing past the last argument.
 
constexpr size_type max_size () const
 Returns the largest possible number of arguments.
 
const atermoperator[] (const size_type i) const
 Returns the i-th argument.
 
- Public Member Functions inherited from atermpp::aterm
 aterm () noexcept
 Default constructor.
 
 ~aterm () noexcept
 Standard destructor.
 
 aterm (const detail::_aterm *t) noexcept
 Constructor based on an internal term data structure. This is not for public use.
 
 aterm (const aterm &other) noexcept
 Copy constructor.
 
 aterm (aterm &&other) noexcept
 Move constructor.
 
atermoperator= (const aterm &other) noexcept
 Assignment operator.
 
atermassign (const aterm &other, detail::thread_aterm_pool &pool) noexcept
 Assignment operator, to be used if busy and forbidden flags are explicitly available.
 
template<bool CHECK_BUSY_FLAG = true>
atermunprotected_assign (const aterm &other) noexcept
 Assignment operator, to be used when the busy flags do not need to be set.
 
atermoperator= (aterm &&other) noexcept
 Move assignment operator.
 
- Public Member Functions inherited from atermpp::unprotected_aterm
 unprotected_aterm () noexcept
 Default constuctor.
 
 unprotected_aterm (const detail::_aterm *term) noexcept
 Constructor.
 
bool type_is_appl () const noexcept
 Dynamic check whether the term is an aterm_appl.
 
bool type_is_int () const noexcept
 Dynamic check whether the term is an aterm_int.
 
bool type_is_list () const noexcept
 Dynamic check whether the term is an aterm_list.
 
bool operator== (const unprotected_aterm &t) const
 Comparison operator.
 
bool operator!= (const unprotected_aterm &t) const
 Inequality operator on two unprotected aterms.
 
bool operator< (const unprotected_aterm &t) const
 Comparison operator for two unprotected aterms.
 
bool operator> (const unprotected_aterm &t) const
 Comparison operator for two unprotected aterms.
 
bool operator<= (const unprotected_aterm &t) const
 Comparison operator for two unprotected aterms.
 
bool operator>= (const unprotected_aterm &t) const
 Comparison operator for two unprotected aterms.
 
bool defined () const
 Returns true if this term is not equal to the term assigned by the default constructor of aterms, term_appl<T>'s and aterm_int.
 
void swap (unprotected_aterm &t) noexcept
 Swaps this term with its argument.
 
const function_symbolfunction () const
 Yields the function symbol in an aterm.
 

Static Public Member Functions

static const action_label_ltstau_action ()
 

Static Protected Member Functions

static mcrl2::lps::multi_action sort_multiactions (const mcrl2::lps::multi_action &a)
 A function to sort a multi action to guarantee that multi-actions are compared properly.
 

Additional Inherited Members

- Public Types inherited from atermpp::term_appl< aterm >
typedef aterm value_type
 The type of object, T stored in the term_appl.
 
typedef atermpointer
 Pointer to T.
 
typedef atermreference
 Reference to T.
 
typedef const aterm const_reference
 Const reference to T.
 
typedef std::size_t size_type
 An unsigned integral type.
 
typedef ptrdiff_t difference_type
 A signed integral type.
 
typedef term_appl_iterator< atermiterator
 Iterator used to iterate through an term_appl.
 
typedef term_appl_iterator< atermconst_iterator
 Const iterator used to iterate through an term_appl.
 
- Protected Member Functions inherited from atermpp::term_appl< aterm >
 term_appl (detail::_term_appl *t)
 Constructor.
 
- Protected Attributes inherited from atermpp::unprotected_aterm
const detail::_atermm_term
 

Detailed Description

A class containing the values for action labels for the .lts format.

An action label is a multi_action.

Definition at line 136 of file lts_lts.h.

Constructor & Destructor Documentation

◆ action_label_lts() [1/3]

mcrl2::lts::action_label_lts::action_label_lts ( )
inline

Default constructor.

Definition at line 141 of file lts_lts.h.

◆ action_label_lts() [2/3]

mcrl2::lts::action_label_lts::action_label_lts ( const action_label_lts )
default

Copy constructor.

◆ action_label_lts() [3/3]

mcrl2::lts::action_label_lts::action_label_lts ( const mcrl2::lps::multi_action a)
inlineexplicit

Constructor.

Definition at line 151 of file lts_lts.h.

Member Function Documentation

◆ hide_actions()

void mcrl2::lts::action_label_lts::hide_actions ( const std::vector< std::string > &  tau_actions)
inline

Hide the actions with labels in tau_actions.

Returns
Returns whether the hidden action becomes empty, i.e. a tau or hidden action.

Definition at line 159 of file lts_lts.h.

◆ operator=()

action_label_lts & mcrl2::lts::action_label_lts::operator= ( const action_label_lts )
default

Copy assignment.

◆ sort_multiactions()

static mcrl2::lps::multi_action mcrl2::lts::action_label_lts::sort_multiactions ( const mcrl2::lps::multi_action a)
inlinestaticprotected

A function to sort a multi action to guarantee that multi-actions are compared properly.

Definition at line 183 of file lts_lts.h.

◆ tau_action()

static const action_label_lts & mcrl2::lts::action_label_lts::tau_action ( )
inlinestatic

Definition at line 175 of file lts_lts.h.


The documentation for this class was generated from the following file: