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

Return value of pfqn_momlin, mirroring [Q, X, U, R, QVar, QCov, dQ]. More...

#include <line/api/pfqn/pfqn_momlin.h>

Public Member Functions

const T & cov (std::size_t i, std::size_t r, std::size_t j, std::size_t s) const
const T & dq (std::size_t i, std::size_t r, std::size_t j, std::size_t s) const

Public Attributes

Matrix< T > Q
 (M x R) mean queue length
std::vector< T > X
 (R) per-class throughput
Matrix< T > U
 (M x R) utilization
Matrix< T > R
 (M x R) residence time
Matrix< T > QVar
 (M x R) queue-length variance
std::vector< T > QCov
 (M x R x M x R) covariance and demand-derivative tensors, flattened as ((i*R + r)*M + j)*R + s so that a caller can index them without a four-dimensional container.
std::vector< T > dQ
std::size_t M
std::size_t Rc

Detailed Description

template<class T>
struct line::pfqn::MomlinResult< T >

Return value of pfqn_momlin, mirroring [Q, X, U, R, QVar, QCov, dQ].

Definition at line 55 of file pfqn_momlin.h.

Member Function Documentation

◆ cov()

template<class T>
const T & line::pfqn::MomlinResult< T >::cov ( std::size_t i,
std::size_t r,
std::size_t j,
std::size_t s ) const
inline

Definition at line 68 of file pfqn_momlin.h.

References M, QCov, and Rc.

Referenced by line::pfqn::pfqn_momlin().

◆ dq()

template<class T>
const T & line::pfqn::MomlinResult< T >::dq ( std::size_t i,
std::size_t r,
std::size_t j,
std::size_t s ) const
inline

Definition at line 71 of file pfqn_momlin.h.

References dQ, M, and Rc.

Member Data Documentation

◆ dQ

template<class T>
std::vector<T> line::pfqn::MomlinResult< T >::dQ

Definition at line 65 of file pfqn_momlin.h.

Referenced by dq(), and line::pfqn::pfqn_momlin().

◆ M

template<class T>
std::size_t line::pfqn::MomlinResult< T >::M

Definition at line 66 of file pfqn_momlin.h.

Referenced by cov(), dq(), and line::pfqn::pfqn_momlin().

◆ Q

template<class T>
Matrix<T> line::pfqn::MomlinResult< T >::Q

(M x R) mean queue length

Definition at line 56 of file pfqn_momlin.h.

Referenced by line::pfqn::pfqn_momlin().

◆ QCov

template<class T>
std::vector<T> line::pfqn::MomlinResult< T >::QCov

(M x R x M x R) covariance and demand-derivative tensors, flattened as ((i*R + r)*M + j)*R + s so that a caller can index them without a four-dimensional container.

Definition at line 64 of file pfqn_momlin.h.

Referenced by cov(), and line::pfqn::pfqn_momlin().

◆ QVar

template<class T>
Matrix<T> line::pfqn::MomlinResult< T >::QVar

(M x R) queue-length variance

Definition at line 60 of file pfqn_momlin.h.

Referenced by line::pfqn::pfqn_momlin().

◆ R

template<class T>
Matrix<T> line::pfqn::MomlinResult< T >::R

(M x R) residence time

Definition at line 59 of file pfqn_momlin.h.

Referenced by line::pfqn::pfqn_momlin().

◆ Rc

template<class T>
std::size_t line::pfqn::MomlinResult< T >::Rc

Definition at line 66 of file pfqn_momlin.h.

Referenced by cov(), dq(), and line::pfqn::pfqn_momlin().

◆ U

template<class T>
Matrix<T> line::pfqn::MomlinResult< T >::U

(M x R) utilization

Definition at line 58 of file pfqn_momlin.h.

Referenced by line::pfqn::pfqn_momlin().

◆ X

template<class T>
std::vector<T> line::pfqn::MomlinResult< T >::X

(R) per-class throughput

Definition at line 57 of file pfqn_momlin.h.

Referenced by line::pfqn::pfqn_momlin().


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