LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::lang::processes::MarkovChainModel< T > Struct Template Reference

A user-supplied chain: a MarkovProcess when discrete is false, else a MarkovChain. More...

#include <line/lang/processes/markov_chain.h>

Public Member Functions

 MarkovChainModel ()
std::size_t order () const

Static Public Member Functions

static MarkovChainModel< T > process (const Matrix< T > &infgen, const Matrix< T > &space=Matrix< T >())
 Mirrors the constructors: a generator is closed, a transition matrix normalized.
static MarkovChainModel< T > chain (const Matrix< T > &transmat, const Matrix< T > &space=Matrix< T >())

Public Attributes

Matrix< T > mat
 generator Q (CTMC) or transition matrix P (DTMC)
bool discrete = false
 true for a MarkovChain
Matrix< T > state_space
 optional; empty means the chain carries none

Detailed Description

template<class T>
struct line::lang::processes::MarkovChainModel< T >

A user-supplied chain: a MarkovProcess when discrete is false, else a MarkovChain.

Definition at line 91 of file markov_chain.h.

Constructor & Destructor Documentation

◆ MarkovChainModel()

template<class T>
line::lang::processes::MarkovChainModel< T >::MarkovChainModel ( )
inline

Definition at line 96 of file markov_chain.h.

Referenced by chain(), and process().

Member Function Documentation

◆ chain()

◆ order()

template<class T>
std::size_t line::lang::processes::MarkovChainModel< T >::order ( ) const
inline

Definition at line 117 of file markov_chain.h.

References mat.

◆ process()

template<class T>
MarkovChainModel< T > line::lang::processes::MarkovChainModel< T >::process ( const Matrix< T > & infgen,
const Matrix< T > & space = Matrix<T>() )
inlinestatic

Mirrors the constructors: a generator is closed, a transition matrix normalized.

Definition at line 99 of file markov_chain.h.

References line::mc::ctmc_makeinfgen(), discrete, MarkovChainModel(), mat, and state_space.

Referenced by line::lang::processes::rand_process(), line::lang::processes::to_markov_process(), and line::lang::processes::to_time_reversed().

Member Data Documentation

◆ discrete

◆ mat

◆ state_space


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