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 <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::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::TranAvg
 getTranAvg: the transient mean queue length per (station, class). More...

Namespaces

namespace  line

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.