5#ifndef LINE_SOLVERS_AVG_TABLE_H
6#define LINE_SOLVERS_AVG_TABLE_H
67 double get(
const std::string&
column,
const std::string& station,
68 const std::string& jobclass)
const;
70 std::vector<double>
column(
const std::string&
column)
const;
75 AvgTable filter_by(
const std::string& station,
const std::string& jobclass)
const;
83 AvgTable get(const ::line::JobClass& jobclass)
const;
98 void print(std::ostream& out)
const;
105std::ostream&
operator<<(std::ostream& out,
const AvgTable& table);
125 v.
Value = table.column(metric);
138 void print(std::ostream& out)
const;
144std::ostream&
operator<<(std::ostream& out,
const AvgSysTable& table);
154 void print(std::ostream& out)
const;
160std::ostream&
operator<<(std::ostream& out,
const AvgChainTable& table);
172 void print(std::ostream& out)
const;
178std::ostream&
operator<<(std::ostream& out,
const AvgFJTable& table);
193 void print(std::ostream& out)
const;
199std::ostream&
operator<<(std::ostream& out,
const AvgLinkTable& table);
210 std::vector<double>
F,
t;
222 std::vector<std::string>
pi;
223 std::vector<std::string>
num;
232 std::vector<double>
t;
233 std::vector<std::vector<double> >
QNt;
246 std::vector<double>
t;
247 std::vector<std::vector<double> >
state;
257 std::vector<std::vector<double> >
event;
A job class: the index it was given, and the model that owns it.
A node of the model: the index it was given, and the model that owns it.
Conservation laws of a layered queueing network, enumerated from its structure.
std::ostream & operator<<(std::ostream &out, const AvgTable &table)
AvgMetricTable avg_metric_view(const AvgTable &table, const std::string &metric)
The one-metric view of table, keeping every row of it.
getAvgChainTable: the station table aggregated by CHAIN, one row per (station, chain),...
std::vector< double > QLen
std::vector< double > ArvR
std::vector< double > RespT
std::vector< double > Util
std::vector< double > ResidT
void print(std::ostream &out) const
Print the station-chain table.
std::vector< std::string > Chain
std::vector< std::string > JobClasses
std::vector< std::string > Station
std::vector< double > Tput
getAvgFJTable(): one row per (Fork/Join pair, class) with a nonzero metric, the fork-join SECTION met...
std::vector< std::string > Fork
void print(std::ostream &out) const
Print the labelled pair-class table.
std::vector< double > FJTput
std::vector< std::string > JobClass
std::vector< double > FJRespT
std::vector< double > FJQLen
std::vector< std::string > Join
SolverNC.getAvgLinkTable(): the per-link measures of a loss network (an open model whose single Delay...
std::vector< double > LinkBlocking
std::vector< double > Capacity
void print(std::ostream &out) const
Print the labelled link-class table.
std::vector< double > Occupancy
std::vector< std::string > JobClass
std::vector< std::string > Link
std::vector< double > Demand
std::vector< double > RouteLoss
getAvgQLenTable(), getAvgUtilTable(), getAvgRespTTable(), getAvgTputTable(): the Station and JobClass...
std::vector< double > Value
The metric's values, aligned with the rows; metric names the column (QLen, Util, RespT,...
std::vector< std::string > JobClass
std::vector< std::string > Station
getAvgSysTable(): one row per CHAIN, the cycle time and the completing throughput at the chain's refe...
std::vector< double > SysRespT
void print(std::ostream &out) const
Print the chain table.
std::vector< std::string > JobClasses
std::vector< double > SysTput
std::vector< std::string > Chain
getAvgTable, one row per (station, class) that carries a metric.
std::vector< double > ArvR
bool timed_out
Whether the solve stopped early on SolverOptions::timeout, read from the budget's TRIPPED latch (line...
std::vector< double > TputCI
std::vector< double > UtilCI
std::vector< double > Tput
std::vector< double > ResidT
std::vector< double > RespT
std::size_t size() const
The number of rows the table carries.
std::vector< double > Util
std::vector< std::string > Station
std::vector< double > column(const std::string &column) const
A complete metric column.
std::vector< double > SysTput
bool has_ci() const
Whether the half-width columns are filled.
std::vector< double > ResidTCI
std::vector< std::string > JobClass
std::string warning
The reference's own warning text, empty when it did not warn.
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 > QLenCI
Confidence half-widths of the six metric columns, row for row; EMPTY unless SolverOptions::confint as...
AvgTable tget(const Node &node) const
AvgTable filter_by(const std::string &name) const
Rows whose station or class has name, MATLAB's one-argument filterBy.
std::vector< double > RespTCI
std::vector< double > ArvRCI
AvgTable operator()(const Node &node) const
Direct object indexing: table(queue, jobs).
std::vector< double > ListCost
getAvgCacheTable's ListCost column; empty on a model without item sizes.
std::vector< double > SysRespT
std::vector< std::string > SysClass
getAvgSysTable: system response time and throughput, per class.
std::vector< double > QLen
SolverBA(model, method).getBoundsTable().
std::vector< double > Tlower
std::vector< double > Qupper
std::vector< std::string > Station
std::vector< double > Qlower
std::vector< std::string > JobClass
std::vector< double > Tupper
One response-time CDF curve: F the CDF value, t the time it is reached.
sampleSysAggr / sampleAggr: ONE simulated trajectory, not a mean.
std::vector< std::vector< double > > state
[step][column]
std::vector< std::string > label
what each column counts
std::vector< double > t
event times, ascending
bool aggregate
Per-class counts (true) or LINE State rows (false, SolverLDES sample/sample_sys).
std::vector< std::size_t > column_node
The 1-based node each column of state belongs to (SolverLDES only).
std::vector< std::vector< double > > event
The events of the path, one row each, [time, node, type, class, jobId, phase]: node and class 1-based...
getSymbolicSolution: the stationary law as a function of the rate symbols.
std::vector< double > rate0
nominal value of each symbol
std::string den
common denominator of the vector
std::vector< std::string > pi
stationary probability of each state
std::vector< std::string > symbols
x1..xE, empty where an event has no positive rate
std::string engine
backend that answered, e.g. "sage"
std::vector< std::string > num
numerator of each entry over den
getTranAvg: the transient mean queue length per (station, class).
std::vector< std::string > label
the (station, class) of each column
std::vector< std::vector< double > > QNt
[step][station*class]
std::vector< double > t
the time axis