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

The compiled finite CTMC (core.Compiled). More...

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

Collaboration diagram for line::lal::Compiled:

Public Member Functions

std::vector< std::string > state_names (std::size_t i) const
 The Python tuple of state names for joint state i (an embedded agent shows its global index).
const Matrix< double > & event (const std::string &label) const
 The rate matrix of a label; throws for an unknown label.

Public Attributes

std::vector< std::vector< std::size_t > > states
 joint states as local indices
std::size_t initial = 0
Matrix< double > generator
std::vector< std::string > labels
 event labels, in order
std::vector< Matrix< double > > events
 one rate matrix per label
std::vector< double > initial_distribution
std::vector< std::string > agent_names
std::vector< std::vector< std::string > > agent_states
 empty for an embedded agent
std::size_t vanishing_eliminated = 0

Detailed Description

The compiled finite CTMC (core.Compiled).

Definition at line 396 of file core.h.

Member Function Documentation

◆ event()

const Matrix< double > & line::lal::Compiled::event ( const std::string & label) const
inline

The rate matrix of a label; throws for an unknown label.

Definition at line 415 of file core.h.

References events, labels, and line::lal::value_error().

◆ state_names()

std::vector< std::string > line::lal::Compiled::state_names ( std::size_t i) const
inline

The Python tuple of state names for joint state i (an embedded agent shows its global index).

Definition at line 408 of file core.h.

References agent_states, and states.

Member Data Documentation

◆ agent_names

std::vector<std::string> line::lal::Compiled::agent_names

Definition at line 403 of file core.h.

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

◆ agent_states

std::vector<std::vector<std::string> > line::lal::Compiled::agent_states

empty for an embedded agent

Definition at line 404 of file core.h.

Referenced by line::lal::compile_model(), and state_names().

◆ events

std::vector<Matrix<double> > line::lal::Compiled::events

one rate matrix per label

Definition at line 401 of file core.h.

Referenced by line::lal::action_table(), line::lal::compile_model(), and event().

◆ generator

Matrix<double> line::lal::Compiled::generator

Definition at line 399 of file core.h.

Referenced by line::lal::compile_model(), and line::lal::solve_composition().

◆ initial

std::size_t line::lal::Compiled::initial = 0

Definition at line 398 of file core.h.

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

◆ initial_distribution

std::vector<double> line::lal::Compiled::initial_distribution

Definition at line 402 of file core.h.

Referenced by line::lal::compile_model(), and line::lal::solve_composition().

◆ labels

std::vector<std::string> line::lal::Compiled::labels

event labels, in order

Definition at line 400 of file core.h.

Referenced by line::lal::action_table(), line::lal::compile_model(), and event().

◆ states

std::vector<std::vector<std::size_t> > line::lal::Compiled::states

joint states as local indices

Definition at line 397 of file core.h.

Referenced by line::lal::compile_model(), line::lal::marginal_table(), line::lal::solve_composition(), and state_names().

◆ vanishing_eliminated

std::size_t line::lal::Compiled::vanishing_eliminated = 0

Definition at line 405 of file core.h.


The documentation for this struct was generated from the following file:
  • include/line/lang/lal/core.h