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

getAvgTable, one row per (station, class) that carries a metric. More...

#include <line/solvers/avg_table.h>

Collaboration diagram for line::AvgTable:

Public Member Functions

double get (const std::string &column, const std::string &station, const std::string &jobclass) const
 One cell of the table, by station and class NAME; NaN when absent.
std::vector< double > column (const std::string &column) const
 The column of a station over every class it has a row for.
std::size_t size () const
 The number of rows the table carries.
bool empty () const

Public Attributes

std::vector< std::string > Station
std::vector< std::string > JobClass
std::vector< double > QLen
std::vector< double > Util
std::vector< double > RespT
std::vector< double > ResidT
std::vector< double > ArvR
std::vector< double > Tput
std::vector< std::string > SysClass
 getAvgSysTable: system response time and throughput, per class.
std::vector< double > SysRespT
std::vector< double > SysTput
std::string solver
std::string method
int iter = 0
bool has_lognormconst = false
double lognormconst = 0.0
std::vector< double > ListCost
 getAvgCacheTable's ListCost column; empty on a model without item sizes.
std::string warning
 The reference's own warning text, empty when it did not warn.

Detailed Description

getAvgTable, one row per (station, class) that carries a metric.

Definition at line 34 of file avg_table.h.

Member Function Documentation

◆ column()

std::vector< double > line::AvgTable::column ( const std::string & column) const

The column of a station over every class it has a row for.

Definition at line 70 of file solver_facade.cpp.

References ArvR, line::InputError::InputError(), QLen, ResidT, RespT, Tput, and Util.

◆ empty()

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

Definition at line 56 of file avg_table.h.

References Station.

◆ get()

double line::AvgTable::get ( const std::string & column,
const std::string & station,
const std::string & jobclass ) const

One cell of the table, by station and class NAME; NaN when absent.

Definition at line 55 of file solver_facade.cpp.

References ArvR, line::InputError::InputError(), JobClass, QLen, ResidT, RespT, Station, Tput, and Util.

◆ size()

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

The number of rows the table carries.

Definition at line 55 of file avg_table.h.

References Station.

Member Data Documentation

◆ ArvR

std::vector<double> line::AvgTable::ArvR

Definition at line 36 of file avg_table.h.

Referenced by column(), and get().

◆ has_lognormconst

bool line::AvgTable::has_lognormconst = false

Definition at line 42 of file avg_table.h.

◆ iter

int line::AvgTable::iter = 0

Definition at line 41 of file avg_table.h.

Referenced by line::NetworkSolver::avg_table().

◆ JobClass

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

Definition at line 35 of file avg_table.h.

Referenced by get().

◆ ListCost

std::vector<double> line::AvgTable::ListCost

getAvgCacheTable's ListCost column; empty on a model without item sizes.

Definition at line 45 of file avg_table.h.

◆ lognormconst

double line::AvgTable::lognormconst = 0.0

Definition at line 43 of file avg_table.h.

◆ method

std::string line::AvgTable::method

Definition at line 40 of file avg_table.h.

Referenced by line::NetworkSolver::avg_table(), and line::NetworkSolver::method_used().

◆ QLen

std::vector<double> line::AvgTable::QLen

Definition at line 36 of file avg_table.h.

Referenced by column(), and get().

◆ ResidT

std::vector<double> line::AvgTable::ResidT

Definition at line 36 of file avg_table.h.

Referenced by column(), and get().

◆ RespT

std::vector<double> line::AvgTable::RespT

Definition at line 36 of file avg_table.h.

Referenced by column(), and get().

◆ solver

std::string line::AvgTable::solver

Definition at line 40 of file avg_table.h.

Referenced by line::NetworkSolver::avg_table().

◆ Station

std::vector<std::string> line::AvgTable::Station

Definition at line 35 of file avg_table.h.

Referenced by empty(), get(), and size().

◆ SysClass

std::vector<std::string> line::AvgTable::SysClass

getAvgSysTable: system response time and throughput, per class.

Definition at line 38 of file avg_table.h.

◆ SysRespT

std::vector<double> line::AvgTable::SysRespT

Definition at line 39 of file avg_table.h.

◆ SysTput

std::vector<double> line::AvgTable::SysTput

Definition at line 39 of file avg_table.h.

◆ Tput

std::vector<double> line::AvgTable::Tput

Definition at line 36 of file avg_table.h.

Referenced by column(), and get().

◆ Util

std::vector<double> line::AvgTable::Util

Definition at line 36 of file avg_table.h.

Referenced by column(), and get().

◆ warning

std::string line::AvgTable::warning

The reference's own warning text, empty when it did not warn.

Definition at line 47 of file avg_table.h.


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