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

A labelled absorbing phase-type automaton, for the Workflow embedding (_LPH): internal moves, absorptions, the initial law and the zero-time states. More...

#include <line/lang/lal/embed.h>

Collaboration diagram for line::lal::embed_detail::Lph:

Public Member Functions

Lph serial (const Lph &other) const
Lph parallel (const Lph &other) const
Lph loop (double count) const
 Geometric repetition of mean count, as Workflow's geometric loop composition.

Static Public Member Functions

static Lph leaf (const std::string &label, const std::vector< double > &alpha, const Matrix< double > &T, bool zero_time)
static Lph skip ()
static Lph mixture (const std::vector< Lph > &kids, const std::vector< double > &probs)

Public Attributes

std::size_t n = 0
std::vector< double > alpha
std::vector< LphMove > internal
std::vector< LphExit > exits
std::vector< bool > immediate

Detailed Description

A labelled absorbing phase-type automaton, for the Workflow embedding (_LPH): internal moves, absorptions, the initial law and the zero-time states.

An immediate move carries a weight.

Definition at line 1310 of file embed.h.

Member Function Documentation

◆ leaf()

Lph line::lal::embed_detail::Lph::leaf ( const std::string & label,
const std::vector< double > & alpha,
const Matrix< double > & T,
bool zero_time )
inlinestatic

Definition at line 1317 of file embed.h.

References alpha, exits, immediate, internal, n, and line::Matrix< T >::rows().

Referenced by line::lal::workflow_agent().

◆ loop()

Lph line::lal::embed_detail::Lph::loop ( double count) const
inline

Geometric repetition of mean count, as Workflow's geometric loop composition.

Definition at line 1424 of file embed.h.

References alpha, exits, immediate, internal, mixture(), n, and skip().

◆ mixture()

◆ parallel()

◆ serial()

◆ skip()

Lph line::lal::embed_detail::Lph::skip ( )
inlinestatic

Definition at line 1343 of file embed.h.

References alpha, exits, immediate, and n.

Referenced by loop().

Member Data Documentation

◆ alpha

std::vector<double> line::lal::embed_detail::Lph::alpha

Definition at line 1312 of file embed.h.

Referenced by leaf(), loop(), line::lal::embed_detail::lph_agent(), mixture(), parallel(), serial(), and skip().

◆ exits

std::vector<LphExit> line::lal::embed_detail::Lph::exits

◆ immediate

std::vector<bool> line::lal::embed_detail::Lph::immediate

Definition at line 1315 of file embed.h.

Referenced by leaf(), loop(), mixture(), parallel(), serial(), and skip().

◆ internal

std::vector<LphMove> line::lal::embed_detail::Lph::internal

Definition at line 1313 of file embed.h.

Referenced by leaf(), loop(), line::lal::embed_detail::lph_agent(), mixture(), parallel(), and serial().

◆ n

std::size_t line::lal::embed_detail::Lph::n = 0

Definition at line 1311 of file embed.h.

Referenced by leaf(), loop(), line::lal::embed_detail::lph_agent(), mixture(), parallel(), serial(), and skip().


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