LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
avg_table.h File Reference

The result tables a solver returns. More...

#include <cstddef>
#include <iosfwd>
#include <string>
#include <vector>
Include dependency graph for avg_table.h:

Go to the source code of this file.

Classes

struct  line::AvgTable
 getAvgTable, one row per (station, class) that carries a metric. More...
struct  line::AvgMetricTable
 getAvgQLenTable(), getAvgUtilTable(), getAvgRespTTable(), getAvgTputTable(): the Station and JobClass columns of getAvgTable with ONE metric column, row for row, as getAvgMetricTable.m builds them. More...
struct  line::AvgSysTable
 getAvgSysTable(): one row per CHAIN, the cycle time and the completing throughput at the chain's reference station, as @NetworkSolver/getAvgSysTable.m reports them. More...
struct  line::AvgChainTable
 getAvgChainTable: the station table aggregated by CHAIN, one row per (station, chain), row-major over (station, chain) and with no row filter, as @NetworkSolver/getAvgChainTable.m. More...
struct  line::AvgFJTable
 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...
struct  line::BoundsTable
 SolverBA(model, method).getBoundsTable(). More...
struct  line::CdfCurve
 One response-time CDF curve: F the CDF value, t the time it is reached. More...
struct  line::SymbolicSolution
 getSymbolicSolution: the stationary law as a function of the rate symbols. More...
struct  line::TranAvg
 getTranAvg: the transient mean queue length per (station, class). More...
struct  line::SamplePath
 sampleSysAggr / sampleAggr: ONE simulated trajectory, not a mean. More...

Namespaces

namespace  line
 Conservation laws of a layered queueing network, enumerated from its structure.

Functions

std::ostream & line::operator<< (std::ostream &out, const AvgTable &table)
AvgMetricTable line::avg_metric_view (const AvgTable &table, const std::string &metric)
 The one-metric view of table, keeping every row of it.
std::ostream & line::operator<< (std::ostream &out, const AvgSysTable &table)
std::ostream & line::operator<< (std::ostream &out, const AvgChainTable &table)
std::ostream & line::operator<< (std::ostream &out, const AvgFJTable &table)

Detailed Description

The result tables a solver returns.

AvgTable is what Python's getAvgTable() returns and what this port spells avg_table(): one row per (station, class) that carries a metric, plus the per-class system columns getAvgSysTable() reports. The columns are the reference's own – QLen, Util, RespT, ResidT, ArvR, Tput – and a (station, class) pair with no row is a zero, not a gap.

THESE TYPES CARRY NO SOLVER MACHINERY ON PURPOSE. The solver templates are a heavy instantiation, so this header stays free of them and every example, test and CLI translation unit can name a result without paying for the stack that produced it; line/solvers/solver.h declares the solvers themselves and their bodies are compiled once into line_mp_api.

Definition in file avg_table.h.