LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::lal::embed_detail Namespace Reference

Classes

struct  Hop
 One step of a routing path: a node key, or the marker of a Sink crossing. More...
struct  LphMove
 (i, j, rate, labels, immediate) and (i, rate, labels, immediate) of a labelled phase-type automaton. More...
struct  LphExit
struct  Lph
 A labelled absorbing phase-type automaton, for the Workflow embedding (_LPH): internal moves, absorptions, the initial law and the zero-time states. More...

Functions

std::string identifier_from (const std::string &name, const std::string &fallback)
std::string fmt_g (double v)
 g of a double.
qn::Marginal< double > station_marginal (const qn::NetworkStruct< double > &sn, std::size_t ist, const std::vector< double > &row)
 The queue-length / phase marginal of a station row (toMarginal).
std::vector< double > init_prob (const lang::Distrib< double > &d)
 The initial vector of a Markovian law with a (D0, D1) pair (getInitProb).
Agent lph_agent (const std::string &name, const Lph &lph)
 Renewal agent of a labelled phase-type automaton: absorption restarts it (_lph_agent).
std::vector< std::string > state_tags (const Matrix< double > &space, std::size_t n)

Function Documentation

◆ fmt_g()

std::string line::lal::embed_detail::fmt_g ( double v)
inline

g of a double.

Definition at line 84 of file embed.h.

References fmt_g().

Referenced by fmt_g(), line::lal::EmbeddedNetwork::node_state_label(), and state_tags().

◆ identifier_from()

std::string line::lal::embed_detail::identifier_from ( const std::string & name,
const std::string & fallback )
inline

Definition at line 79 of file embed.h.

References identifier_from().

Referenced by line::lal::Composition::add(), identifier_from(), and line::lal::workflow_agent().

◆ init_prob()

std::vector< double > line::lal::embed_detail::init_prob ( const lang::Distrib< double > & d)
inline

The initial vector of a Markovian law with a (D0, D1) pair (getInitProb).

Definition at line 1444 of file embed.h.

References line::lang::APH, line::lang::Distrib< T >::D0, line::lang::Distrib< T >::D1, init_prob(), line::lang::Distrib< T >::params, line::lang::PH, and line::lang::Distrib< T >::type.

Referenced by init_prob(), and line::lal::workflow_agent().

◆ lph_agent()

◆ state_tags()

std::vector< std::string > line::lal::embed_detail::state_tags ( const Matrix< double > & space,
std::size_t n )
inline

◆ station_marginal()

qn::Marginal< double > line::lal::embed_detail::station_marginal ( const qn::NetworkStruct< double > & sn,
std::size_t ist,
const std::vector< double > & row )
inline

The queue-length / phase marginal of a station row (toMarginal).

Definition at line 91 of file embed.h.

References station_marginal(), and line::qn::to_marginal().

Referenced by line::lal::EmbeddedNetwork::node_jobs(), line::lal::EmbeddedNetwork::queue_lengths(), and station_marginal().