![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
getAvgTable, one row per (station, class) that carries a metric. More...
#include <line/solvers/avg_table.h>
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 |
| A complete metric column. | |
| AvgTable | filter_by (const std::string &name) const |
| Rows whose station or class has name, MATLAB's one-argument filterBy. | |
| AvgTable | filter_by (const std::string &station, const std::string &jobclass) const |
| Rows at one station for one class, MATLAB's two-argument filterBy. | |
| AvgTable | filter_by (const Node &node) const |
| AvgTable | filter_by (const ::line::JobClass &jobclass) const |
| AvgTable | filter_by (const Node &node, const ::line::JobClass &jobclass) const |
| AvgTable | filter_by (const ::line::JobClass &jobclass, const Node &node) const |
| AvgTable | get (const Node &node) const |
| MATLAB-compatible filtering aliases, preserving C++ snake-case naming. | |
| AvgTable | get (const ::line::JobClass &jobclass) const |
| AvgTable | get (const Node &node, const ::line::JobClass &jobclass) const |
| AvgTable | get (const ::line::JobClass &jobclass, const Node &node) const |
| AvgTable | tget (const Node &node) const |
| AvgTable | tget (const ::line::JobClass &jobclass) const |
| AvgTable | tget (const Node &node, const ::line::JobClass &jobclass) const |
| AvgTable | tget (const ::line::JobClass &jobclass, const Node &node) const |
| AvgTable | operator() (const Node &node) const |
| Direct object indexing: table(queue, jobs). | |
| AvgTable | operator() (const ::line::JobClass &jobclass) const |
| AvgTable | operator() (const Node &node, const ::line::JobClass &jobclass) const |
| AvgTable | operator() (const ::line::JobClass &jobclass, const Node &node) const |
| void | print (std::ostream &out) const |
| Print the labelled station-class table. | |
| void | print () const |
| 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. | |
getAvgTable, one row per (station, class) that carries a metric.
Definition at line 38 of file avg_table.h.
| std::vector< double > line::AvgTable::column | ( | const std::string & | column | ) | const |
A complete metric column.
Definition at line 76 of file solver_facade.cpp.
References ArvR, line::InputError::InputError(), QLen, ResidT, RespT, Tput, and Util.
|
inline |
Definition at line 89 of file avg_table.h.
References Station.
| AvgTable line::AvgTable::filter_by | ( | const ::line::JobClass & | jobclass | ) | const |
Definition at line 135 of file solver_facade.cpp.
References JobClass.
| AvgTable line::AvgTable::filter_by | ( | const ::line::JobClass & | jobclass, |
| const Node & | node ) const |
Definition at line 145 of file solver_facade.cpp.
References filter_by().
Definition at line 129 of file solver_facade.cpp.
References line::Node::get_name(), and Station.
| AvgTable line::AvgTable::filter_by | ( | const Node & | node, |
| const ::line::JobClass & | jobclass ) const |
Definition at line 141 of file solver_facade.cpp.
References filter_by(), and line::Node::get_name().
| AvgTable line::AvgTable::filter_by | ( | const std::string & | name | ) | const |
Rows whose station or class has name, MATLAB's one-argument filterBy.
Definition at line 117 of file solver_facade.cpp.
References JobClass, and Station.
Referenced by filter_by(), filter_by(), get(), get(), get(), get(), operator()(), operator()(), operator()(), operator()(), tget(), tget(), tget(), and tget().
| AvgTable line::AvgTable::filter_by | ( | const std::string & | station, |
| const std::string & | jobclass ) const |
Rows at one station for one class, MATLAB's two-argument filterBy.
Definition at line 123 of file solver_facade.cpp.
| AvgTable line::AvgTable::get | ( | const ::line::JobClass & | jobclass | ) | const |
Definition at line 150 of file solver_facade.cpp.
References filter_by().
| AvgTable line::AvgTable::get | ( | const ::line::JobClass & | jobclass, |
| const Node & | node ) const |
Definition at line 154 of file solver_facade.cpp.
References filter_by().
MATLAB-compatible filtering aliases, preserving C++ snake-case naming.
Definition at line 149 of file solver_facade.cpp.
References filter_by().
| AvgTable line::AvgTable::get | ( | const Node & | node, |
| const ::line::JobClass & | jobclass ) const |
Definition at line 151 of file solver_facade.cpp.
References filter_by().
| double line::AvgTable::get | ( | const std::string & | column, |
| const std::string & | station, | ||
| const std::string & | jobclass ) const |
| AvgTable line::AvgTable::operator() | ( | const ::line::JobClass & | jobclass | ) | const |
Definition at line 166 of file solver_facade.cpp.
References filter_by().
| AvgTable line::AvgTable::operator() | ( | const ::line::JobClass & | jobclass, |
| const Node & | node ) const |
Definition at line 172 of file solver_facade.cpp.
References filter_by().
Direct object indexing: table(queue, jobs).
Definition at line 165 of file solver_facade.cpp.
References filter_by().
| AvgTable line::AvgTable::operator() | ( | const Node & | node, |
| const ::line::JobClass & | jobclass ) const |
Definition at line 169 of file solver_facade.cpp.
References filter_by().
| void line::AvgTable::print | ( | ) | const |
Definition at line 193 of file solver_facade.cpp.
References print().
| void line::AvgTable::print | ( | std::ostream & | out | ) | const |
|
inline |
The number of rows the table carries.
Definition at line 88 of file avg_table.h.
References Station.
| AvgTable line::AvgTable::tget | ( | const ::line::JobClass & | jobclass | ) | const |
Definition at line 158 of file solver_facade.cpp.
References filter_by().
| AvgTable line::AvgTable::tget | ( | const ::line::JobClass & | jobclass, |
| const Node & | node ) const |
Definition at line 162 of file solver_facade.cpp.
References filter_by().
Definition at line 157 of file solver_facade.cpp.
References filter_by().
| AvgTable line::AvgTable::tget | ( | const Node & | node, |
| const ::line::JobClass & | jobclass ) const |
Definition at line 159 of file solver_facade.cpp.
References filter_by().
| std::vector<double> line::AvgTable::ArvR |
Definition at line 40 of file avg_table.h.
| bool line::AvgTable::has_lognormconst = false |
Definition at line 46 of file avg_table.h.
| int line::AvgTable::iter = 0 |
Definition at line 45 of file avg_table.h.
Referenced by line::NetworkSolver::avg_table().
| std::vector<std::string> line::AvgTable::JobClass |
Definition at line 39 of file avg_table.h.
Referenced by filter_by(), filter_by(), filter_by(), get(), and print().
| std::vector<double> line::AvgTable::ListCost |
getAvgCacheTable's ListCost column; empty on a model without item sizes.
Definition at line 49 of file avg_table.h.
| double line::AvgTable::lognormconst = 0.0 |
Definition at line 47 of file avg_table.h.
| std::string line::AvgTable::method |
Definition at line 44 of file avg_table.h.
Referenced by line::NetworkSolver::avg_table(), and line::NetworkSolver::method_used().
| std::vector<double> line::AvgTable::QLen |
Definition at line 40 of file avg_table.h.
| std::vector<double> line::AvgTable::ResidT |
Definition at line 40 of file avg_table.h.
| std::vector<double> line::AvgTable::RespT |
Definition at line 40 of file avg_table.h.
| std::string line::AvgTable::solver |
Definition at line 44 of file avg_table.h.
Referenced by line::NetworkSolver::avg_table().
| std::vector<std::string> line::AvgTable::Station |
Definition at line 39 of file avg_table.h.
Referenced by empty(), filter_by(), filter_by(), filter_by(), get(), print(), and size().
| std::vector<std::string> line::AvgTable::SysClass |
getAvgSysTable: system response time and throughput, per class.
Definition at line 42 of file avg_table.h.
| std::vector<double> line::AvgTable::SysRespT |
Definition at line 43 of file avg_table.h.
| std::vector<double> line::AvgTable::SysTput |
Definition at line 43 of file avg_table.h.
| std::vector<double> line::AvgTable::Tput |
Definition at line 40 of file avg_table.h.
| std::vector<double> line::AvgTable::Util |
Definition at line 40 of file avg_table.h.
| std::string line::AvgTable::warning |
The reference's own warning text, empty when it did not warn.
Definition at line 51 of file avg_table.h.