mCRL2
Loading...
Searching...
No Matches
mcrl2::lps::linear_process_base< ActionSummand > Class Template Reference

#include <linear_process.h>

Public Types

typedef ActionSummand action_summand_type
 The action summand type.
 

Public Member Functions

 linear_process_base ()=default
 Constructor.
 
 linear_process_base (const data::variable_list &process_parameters, const deadlock_summand_vector &deadlock_summands, const std::vector< ActionSummand > &action_summands)
 Constructor.
 
 linear_process_base (const atermpp::aterm &lps, bool stochastic_distributions_allowed=true)
 Constructor.
 
std::size_t summand_count () const
 Returns the number of LPS summands.
 
const std::vector< ActionSummand > & action_summands () const
 Returns the sequence of action summands.
 
std::vector< ActionSummand > & action_summands ()
 Returns the sequence of action summands.
 
const deadlock_summand_vectordeadlock_summands () const
 Returns the sequence of deadlock summands.
 
deadlock_summand_vectordeadlock_summands ()
 Returns the sequence of deadlock summands.
 
const data::variable_listprocess_parameters () const
 Returns the sequence of process parameters.
 
data::variable_listprocess_parameters ()
 Returns the sequence of process parameters.
 
bool has_time () const
 Returns true if time is available in at least one of the summands.
 

Protected Attributes

data::variable_list m_process_parameters
 The process parameters of the process.
 
deadlock_summand_vector m_deadlock_summands
 The deadlock summands of the process.
 
std::vector< ActionSummand > m_action_summands
 The action summands of the process.
 

Detailed Description

template<typename ActionSummand>
class mcrl2::lps::linear_process_base< ActionSummand >

Definition at line 63 of file linear_process.h.

Member Typedef Documentation

◆ action_summand_type

template<typename ActionSummand >
typedef ActionSummand mcrl2::lps::linear_process_base< ActionSummand >::action_summand_type

The action summand type.

Definition at line 77 of file linear_process.h.

Constructor & Destructor Documentation

◆ linear_process_base() [1/3]

template<typename ActionSummand >
mcrl2::lps::linear_process_base< ActionSummand >::linear_process_base ( )
default

Constructor.

◆ linear_process_base() [2/3]

template<typename ActionSummand >
mcrl2::lps::linear_process_base< ActionSummand >::linear_process_base ( const data::variable_list process_parameters,
const deadlock_summand_vector deadlock_summands,
const std::vector< ActionSummand > &  action_summands 
)
inline

Constructor.

Definition at line 83 of file linear_process.h.

◆ linear_process_base() [3/3]

template<typename ActionSummand >
mcrl2::lps::linear_process_base< ActionSummand >::linear_process_base ( const atermpp::aterm lps,
bool  stochastic_distributions_allowed = true 
)
inlineexplicit

Constructor.

Parameters
lpsA term.
stochastic_distributions_allowedTrue when stochastic processes are allowed

Definition at line 96 of file linear_process.h.

Member Function Documentation

◆ action_summands() [1/2]

template<typename ActionSummand >
std::vector< ActionSummand > & mcrl2::lps::linear_process_base< ActionSummand >::action_summands ( )
inline

Returns the sequence of action summands.

Returns
The sequence of action summands.

Definition at line 145 of file linear_process.h.

◆ action_summands() [2/2]

template<typename ActionSummand >
const std::vector< ActionSummand > & mcrl2::lps::linear_process_base< ActionSummand >::action_summands ( ) const
inline

Returns the sequence of action summands.

Returns
The sequence of action summands.

Definition at line 138 of file linear_process.h.

◆ deadlock_summands() [1/2]

template<typename ActionSummand >
deadlock_summand_vector & mcrl2::lps::linear_process_base< ActionSummand >::deadlock_summands ( )
inline

Returns the sequence of deadlock summands.

Returns
The sequence of deadlock summands.

Definition at line 159 of file linear_process.h.

◆ deadlock_summands() [2/2]

template<typename ActionSummand >
const deadlock_summand_vector & mcrl2::lps::linear_process_base< ActionSummand >::deadlock_summands ( ) const
inline

Returns the sequence of deadlock summands.

Returns
The sequence of deadlock summands.

Definition at line 152 of file linear_process.h.

◆ has_time()

template<typename ActionSummand >
bool mcrl2::lps::linear_process_base< ActionSummand >::has_time ( ) const
inline

Returns true if time is available in at least one of the summands.

Returns
True if time is available in at least one of the summands.

Definition at line 180 of file linear_process.h.

◆ process_parameters() [1/2]

template<typename ActionSummand >
data::variable_list & mcrl2::lps::linear_process_base< ActionSummand >::process_parameters ( )
inline

Returns the sequence of process parameters.

Returns
The sequence of process parameters.

Definition at line 173 of file linear_process.h.

◆ process_parameters() [2/2]

template<typename ActionSummand >
const data::variable_list & mcrl2::lps::linear_process_base< ActionSummand >::process_parameters ( ) const
inline

Returns the sequence of process parameters.

Returns
The sequence of process parameters.

Definition at line 166 of file linear_process.h.

◆ summand_count()

template<typename ActionSummand >
std::size_t mcrl2::lps::linear_process_base< ActionSummand >::summand_count ( ) const
inline

Returns the number of LPS summands.

Returns
The number of LPS summands.

Definition at line 131 of file linear_process.h.

Member Data Documentation

◆ m_action_summands

template<typename ActionSummand >
std::vector<ActionSummand> mcrl2::lps::linear_process_base< ActionSummand >::m_action_summands
protected

The action summands of the process.

Definition at line 73 of file linear_process.h.

◆ m_deadlock_summands

template<typename ActionSummand >
deadlock_summand_vector mcrl2::lps::linear_process_base< ActionSummand >::m_deadlock_summands
protected

The deadlock summands of the process.

Definition at line 70 of file linear_process.h.

◆ m_process_parameters

template<typename ActionSummand >
data::variable_list mcrl2::lps::linear_process_base< ActionSummand >::m_process_parameters
protected

The process parameters of the process.

Definition at line 67 of file linear_process.h.


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