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

fjR of fjFixedPoint.m: the order-statistic sojourn d0 the fixed point charges each fork-join section, per (fork node, ORIGINAL class), overwritten on every pass so the converged one wins. More...

#include <line/solvers/mva/fj_driver.h>

Collaboration diagram for line::mva::FjSectionAcc< T >:

Public Member Functions

void init (std::size_t nnodes, std::size_t nclasses)
void put (std::size_t node, std::size_t cls, const T &d0)
 Record d0 for a 1-based (node, class); a class outside the base set is ignored.

Public Attributes

Matrix< T > R
 (nnodes x nclasses) d0, 0-based storage
std::vector< std::vector< bool > > set
 whether R(node, class) was ever written

Detailed Description

template<class T>
struct line::mva::FjSectionAcc< T >

fjR of fjFixedPoint.m: the order-statistic sojourn d0 the fixed point charges each fork-join section, per (fork node, ORIGINAL class), overwritten on every pass so the converged one wins.

set stands in for the reference's NaN initialiser, which an exact arithmetic has no value for.

Definition at line 79 of file fj_driver.h.

Member Function Documentation

◆ init()

template<class T>
void line::mva::FjSectionAcc< T >::init ( std::size_t nnodes,
std::size_t nclasses )
inline

Definition at line 82 of file fj_driver.h.

References line::Matrix< T >::Matrix(), R, and set.

Referenced by line::mva::fj_fixed_point().

◆ put()

template<class T>
void line::mva::FjSectionAcc< T >::put ( std::size_t node,
std::size_t cls,
const T & d0 )
inline

Record d0 for a 1-based (node, class); a class outside the base set is ignored.

Definition at line 87 of file fj_driver.h.

References line::Matrix< T >::cols(), R, line::Matrix< T >::rows(), and set.

Referenced by line::mva::fj_fixed_point().

Member Data Documentation

◆ R

template<class T>
Matrix<T> line::mva::FjSectionAcc< T >::R

(nnodes x nclasses) d0, 0-based storage

Definition at line 80 of file fj_driver.h.

Referenced by line::mva::fj_section_metrics(), init(), and put().

◆ set

template<class T>
std::vector<std::vector<bool> > line::mva::FjSectionAcc< T >::set

whether R(node, class) was ever written

Definition at line 81 of file fj_driver.h.

Referenced by line::mva::fj_section_metrics(), init(), and put().


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