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

getAvgFJTable(): one row per (Fork/Join pair, class) with a nonzero metric, the fork-join SECTION metrics of fjFixedPoint.m (MVA, NC, Fluid), JMT and LDES. More...

#include <line/solvers/avg_table.h>

Collaboration diagram for line::AvgFJTable:

Public Member Functions

void print (std::ostream &out) const
 Print the labelled pair-class table.
void print () const
std::size_t size () const
bool empty () const

Public Attributes

std::vector< std::string > Fork
std::vector< std::string > Join
std::vector< std::string > JobClass
std::vector< double > FJQLen
std::vector< double > FJRespT
std::vector< double > FJTput

Detailed Description

getAvgFJTable(): one row per (Fork/Join pair, class) with a nonzero metric, the fork-join SECTION metrics of fjFixedPoint.m (MVA, NC, Fluid), JMT and LDES.

FJRespT is the time from the Fork to the matching Join, FJTput the throughput through the pair, FJQLen the jobs inside it. Empty on a model without a Fork/Join pair and for a solver that does not compute them.

Definition at line 162 of file avg_table.h.

Member Function Documentation

◆ empty()

bool line::AvgFJTable::empty ( ) const
inline

Definition at line 169 of file avg_table.h.

References Fork.

◆ print() [1/2]

void line::AvgFJTable::print ( ) const

Definition at line 314 of file solver_facade.cpp.

References print().

◆ print() [2/2]

void line::AvgFJTable::print ( std::ostream & out) const

Print the labelled pair-class table.

Definition at line 293 of file solver_facade.cpp.

References FJQLen, FJRespT, FJTput, Fork, JobClass, Join, and size().

Referenced by print().

◆ size()

std::size_t line::AvgFJTable::size ( ) const
inline

Definition at line 168 of file avg_table.h.

References Fork.

Referenced by print().

Member Data Documentation

◆ FJQLen

std::vector<double> line::AvgFJTable::FJQLen

Definition at line 164 of file avg_table.h.

Referenced by line::NetworkSolver::avg_fj_table(), and print().

◆ FJRespT

std::vector<double> line::AvgFJTable::FJRespT

Definition at line 164 of file avg_table.h.

Referenced by line::NetworkSolver::avg_fj_table(), and print().

◆ FJTput

std::vector<double> line::AvgFJTable::FJTput

Definition at line 164 of file avg_table.h.

Referenced by line::NetworkSolver::avg_fj_table(), and print().

◆ Fork

std::vector<std::string> line::AvgFJTable::Fork

Definition at line 163 of file avg_table.h.

Referenced by line::NetworkSolver::avg_fj_table(), empty(), print(), and size().

◆ JobClass

std::vector<std::string> line::AvgFJTable::JobClass

Definition at line 163 of file avg_table.h.

Referenced by line::NetworkSolver::avg_fj_table(), and print().

◆ Join

std::vector<std::string> line::AvgFJTable::Join

Definition at line 163 of file avg_table.h.

Referenced by line::NetworkSolver::avg_fj_table(), and print().


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