![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Classes | |
| struct | Script |
| Phase script of one drawn interval: segment j ends at cum[j] and is spent in ph[j] (0-based). More... | |
| struct | Job |
| One job held at a detailed station in a snapshot. More... | |
| struct | Snap |
| Jobs held everywhere at one instant, indexed by station. More... | |
| struct | Ev |
| One recorded event without its step and time: {type, node, class, jobId, phase}. More... | |
| class | Recorder |
| Transcribes SamplePathRecorder: the rows and events of the path. More... | |
| struct | Tracker |
| The recorder's bookkeeping between two boundaries: scripts drawn and not yet bound to a job, source departures and drops, the persistent job ids, and the snapshot held since the last boundary. More... | |
Typedefs | |
| typedef std::shared_ptr< Script > | ScriptP |
Functions | |
| double | ulp (double v) |
| Java's Math.ulp for a double. | |
| bool | walked (const Sampler &s, bool arrival) |
| True for a family whose draw is a phase WALK the sampler can trace: the reference's MapSampler / map_sample families, plus at a Source the BMAP and marked-stationary walks. | |
| int | phase_count (const Sampler &s, bool disabled, bool arrival) |
| Phases the export reports for a law (spPhaseCount), or -1 when the law is time-inhomogeneous and has no fixed phase space. | |
Variables | |
| constexpr long long | SEED_OFFSET = 900001LL |
| Seed offset of the recorder's own generator (Erlang stage reconstruction). | |
| constexpr double | EV_ARV = 1.0 |
| Event wire codes (= MATLAB EventType values). | |
| constexpr double | EV_DEP = 2.0 |
| constexpr double | EV_PHASE = 3.0 |
| constexpr double | EV_START = 15.0 |
| constexpr double | EV_DROP = 17.0 |
| typedef std::shared_ptr<Script> line::ldes::engine::sp::ScriptP |
Definition at line 133 of file ldes_samplepath.h.
|
inline |
Phases the export reports for a law (spPhaseCount), or -1 when the law is time-inhomogeneous and has no fixed phase space.
Definition at line 98 of file ldes_samplepath.h.
References line::ldes::engine::Sampler::erlang_k(), line::ldes::engine::Sampler::map_order(), phase_count(), line::lang::process_is_marked_schedule(), line::lang::process_is_marked_stationary(), and line::ldes::engine::Sampler::type().
Referenced by phase_count().
|
inline |
Java's Math.ulp for a double.
Definition at line 60 of file ldes_samplepath.h.
References ulp().
Referenced by line::ldes::engine::sp::Tracker::bind(), line::ldes::engine::sp::Tracker::script_of(), and ulp().
|
inline |
True for a family whose draw is a phase WALK the sampler can trace: the reference's MapSampler / map_sample families, plus at a Source the BMAP and marked-stationary walks.
An Erlang the sampler recovered for convolution (erlang_k() > 0) gives no stage epochs and is reconstructed instead.
Definition at line 74 of file ldes_samplepath.h.
References line::ldes::engine::Sampler::erlang_k(), line::lang::process_is_marked_stationary(), line::ldes::engine::Sampler::type(), and walked().
Referenced by walked().
|
constexpr |
Event wire codes (= MATLAB EventType values).
Definition at line 53 of file ldes_samplepath.h.
Referenced by line::ldes::engine::sp::Tracker::diff().
|
constexpr |
Definition at line 54 of file ldes_samplepath.h.
Referenced by line::ldes::engine::sp::Tracker::diff().
|
constexpr |
Definition at line 57 of file ldes_samplepath.h.
Referenced by line::ldes::engine::sp::Tracker::diff().
|
constexpr |
Definition at line 55 of file ldes_samplepath.h.
Referenced by line::ldes::engine::sp::Tracker::boundary(), and line::ldes::engine::sp::Tracker::diff().
|
constexpr |
Definition at line 56 of file ldes_samplepath.h.
Referenced by line::ldes::engine::sp::Tracker::diff().
|
constexpr |
Seed offset of the recorder's own generator (Erlang stage reconstruction).
Definition at line 50 of file ldes_samplepath.h.
Referenced by line::ldes::engine::sp::Tracker::seed().