![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
sampleSysAggr / sampleAggr: ONE simulated trajectory, not a mean. More...
#include <line/solvers/avg_table.h>
Public Attributes | |
| std::vector< double > | t |
| event times, ascending | |
| std::vector< std::vector< double > > | state |
| [step][column] | |
| std::vector< std::string > | label |
| what each column counts | |
| 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, type an EventType value (ARV 1, DEP 2, PHASE 3, START 15, PREEMPT 16, DROP 17), jobId -1 when untracked, phase 1-based with 0 = none. | |
| std::vector< std::size_t > | column_node |
| The 1-based node each column of state belongs to (SolverLDES only). | |
| bool | aggregate = true |
| Per-class counts (true) or LINE State rows (false, SolverLDES sample/sample_sys). | |
sampleSysAggr / sampleAggr: ONE simulated trajectory, not a mean.
It has the shape of a TranAvg and is deliberately a type of its own, because the two must never be read for each other: TranAvg is E[N](t) estimated over independent runs, this is a single sample path, and averaging a column of state over t is a time average rather than an ensemble one.
Definition at line 245 of file avg_table.h.
| bool line::SamplePath::aggregate = true |
Per-class counts (true) or LINE State rows (false, SolverLDES sample/sample_sys).
Definition at line 261 of file avg_table.h.
| std::vector<std::size_t> line::SamplePath::column_node |
The 1-based node each column of state belongs to (SolverLDES only).
Definition at line 259 of file avg_table.h.
| std::vector<std::vector<double> > line::SamplePath::event |
The events of the path, one row each, [time, node, type, class, jobId, phase]: node and class 1-based, type an EventType value (ARV 1, DEP 2, PHASE 3, START 15, PREEMPT 16, DROP 17), jobId -1 when untracked, phase 1-based with 0 = none.
Several events can share one step, so this is not one row per step. Filled by SolverLDES; empty from SolverJMT, whose log carries no events.
Definition at line 257 of file avg_table.h.
| std::vector<std::string> line::SamplePath::label |
what each column counts
Definition at line 248 of file avg_table.h.
Referenced by line::SolverJMT::sample(), and line::SolverLDES::tran_avg().
| std::vector<std::vector<double> > line::SamplePath::state |
| std::vector<double> line::SamplePath::t |
event times, ascending
Definition at line 246 of file avg_table.h.
Referenced by line::SolverJMT::sample().