5#ifndef LINE_SOLVERS_AVG_TABLE_H
6#define LINE_SOLVERS_AVG_TABLE_H
61 double get(
const std::string&
column,
const std::string& station,
62 const std::string& jobclass)
const;
64 std::vector<double>
column(
const std::string&
column)
const;
69 AvgTable filter_by(
const std::string& station,
const std::string& jobclass)
const;
77 AvgTable get(const ::line::JobClass& jobclass)
const;
92 void print(std::ostream& out)
const;
99std::ostream&
operator<<(std::ostream& out,
const AvgTable& table);
119 v.
Value = table.column(metric);
132 void print(std::ostream& out)
const;
138std::ostream&
operator<<(std::ostream& out,
const AvgSysTable& table);
148 void print(std::ostream& out)
const;
154std::ostream&
operator<<(std::ostream& out,
const AvgChainTable& table);
166 void print(std::ostream& out)
const;
172std::ostream&
operator<<(std::ostream& out,
const AvgFJTable& table);
183 std::vector<double>
F,
t;
195 std::vector<std::string>
pi;
196 std::vector<std::string>
num;
205 std::vector<double>
t;
206 std::vector<std::vector<double> >
QNt;
219 std::vector<double>
t;
220 std::vector<std::vector<double> >
state;
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
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
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
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