![]() |
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 | |
| bool | has_ci () const |
| Whether the half-width columns are filled. | |
| 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. | |
| std::vector< double > | QLenCI |
| Confidence half-widths of the six metric columns, row for row; EMPTY unless SolverOptions::confint asked for them and the engine reports them (JMT, LDES). | |
| std::vector< double > | UtilCI |
| std::vector< double > | RespTCI |
| std::vector< double > | ResidTCI |
| std::vector< double > | ArvRCI |
| std::vector< double > | TputCI |
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 |
|
inline |
Definition at line 96 of file avg_table.h.
References Station.
| AvgTable line::AvgTable::filter_by | ( | const ::line::JobClass & | jobclass | ) | const |
Definition at line 159 of file solver_facade.cpp.
References JobClass.
| AvgTable line::AvgTable::filter_by | ( | const ::line::JobClass & | jobclass, |
| const Node & | node ) const |
Definition at line 169 of file solver_facade.cpp.
References filter_by().
Definition at line 153 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 165 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 141 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 147 of file solver_facade.cpp.
| AvgTable line::AvgTable::get | ( | const ::line::JobClass & | jobclass | ) | const |
Definition at line 174 of file solver_facade.cpp.
References filter_by().
| AvgTable line::AvgTable::get | ( | const ::line::JobClass & | jobclass, |
| const Node & | node ) const |
Definition at line 178 of file solver_facade.cpp.
References filter_by().
MATLAB-compatible filtering aliases, preserving C++ snake-case naming.
Definition at line 173 of file solver_facade.cpp.
References filter_by().
| AvgTable line::AvgTable::get | ( | const Node & | node, |
| const ::line::JobClass & | jobclass ) const |
Definition at line 175 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 |
|
inline |
Whether the half-width columns are filled.
Definition at line 58 of file avg_table.h.
References QLenCI.
Referenced by print().
| AvgTable line::AvgTable::operator() | ( | const ::line::JobClass & | jobclass | ) | const |
Definition at line 190 of file solver_facade.cpp.
References filter_by().
| AvgTable line::AvgTable::operator() | ( | const ::line::JobClass & | jobclass, |
| const Node & | node ) const |
Definition at line 196 of file solver_facade.cpp.
References filter_by().
Direct object indexing: table(queue, jobs).
Definition at line 189 of file solver_facade.cpp.
References filter_by().
| AvgTable line::AvgTable::operator() | ( | const Node & | node, |
| const ::line::JobClass & | jobclass ) const |
Definition at line 193 of file solver_facade.cpp.
References filter_by().
| void line::AvgTable::print | ( | ) | const |
Definition at line 236 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 95 of file avg_table.h.
References Station.
| AvgTable line::AvgTable::tget | ( | const ::line::JobClass & | jobclass | ) | const |
Definition at line 182 of file solver_facade.cpp.
References filter_by().
| AvgTable line::AvgTable::tget | ( | const ::line::JobClass & | jobclass, |
| const Node & | node ) const |
Definition at line 186 of file solver_facade.cpp.
References filter_by().
Definition at line 181 of file solver_facade.cpp.
References filter_by().
| AvgTable line::AvgTable::tget | ( | const Node & | node, |
| const ::line::JobClass & | jobclass ) const |
Definition at line 183 of file solver_facade.cpp.
References filter_by().
| std::vector<double> line::AvgTable::ArvR |
Definition at line 40 of file avg_table.h.
| std::vector<double> line::AvgTable::ArvRCI |
Definition at line 56 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.
| 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(), line::SolverLDES::init_from_solver(), 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::SolverAUTO::is_stochastic(), and line::NetworkSolver::method_used().
| std::vector<double> line::AvgTable::QLen |
Definition at line 40 of file avg_table.h.
Referenced by column(), get(), line::wfn::WorkflowNet::get_case_metrics(), line::SolverLDES::init_from_solver(), and print().
| std::vector<double> line::AvgTable::QLenCI |
Confidence half-widths of the six metric columns, row for row; EMPTY unless SolverOptions::confint asked for them and the engine reports them (JMT, LDES).
Definition at line 56 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::ResidTCI |
Definition at line 56 of file avg_table.h.
| std::vector<double> line::AvgTable::RespT |
Definition at line 40 of file avg_table.h.
Referenced by column(), get(), line::wfn::WorkflowNet::get_case_metrics(), and print().
| std::vector<double> line::AvgTable::RespTCI |
Definition at line 56 of file avg_table.h.
| std::string line::AvgTable::solver |
Definition at line 44 of file avg_table.h.
Referenced by line::SolverAUTO::is_stochastic(), and line::SolverAUTO::selected_solver_name().
| 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(), line::SolverLDES::init_from_solver(), 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.
Referenced by column(), get(), line::wfn::WorkflowNet::get_case_metrics(), and print().
| std::vector<double> line::AvgTable::TputCI |
Definition at line 56 of file avg_table.h.
| std::vector<double> line::AvgTable::Util |
Definition at line 40 of file avg_table.h.
Referenced by column(), get(), line::wfn::WorkflowNet::get_case_metrics(), and print().
| std::vector<double> line::AvgTable::UtilCI |
Definition at line 56 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.