![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
The option and result records of SolverLDES, the discrete-event simulator. More...
#include <cstddef>#include <limits>#include <map>#include <string>#include <vector>#include "line/api/sim/sim_runlength.h"#include "line/util/matrix.h"Go to the source code of this file.
Classes | |
| struct | line::ldes::LdesOptions |
| The knobs of one LDES run. More... | |
| struct | line::ldes::LdesCacheMetrics |
| Per-cache hit/miss/latency, as the cacheMetrics block carries them. More... | |
| struct | line::ldes::LdesResult |
| One ldes-result document, parsed. More... | |
| struct | line::ldes::LdesResult::BusyPeriodTarget |
| One measured busy period target (–busyperiod): a station, a station-class pair, or a declared station set. More... | |
Namespaces | |
| namespace | line |
| namespace | line::ldes |
Functions | |
| std::vector< std::string > | line::ldes::list_valid_methods () |
| Port of SolverLDES.listValidMethods. | |
The option and result records of SolverLDES, the discrete-event simulator.
SOURCE. LDESOptions transcribes python/line_solver/solvers/wrappers/ solver_ldes/ldes_options.py and the ldesOpt reads of @@SolverLDES/solveCli.m; LdesResult transcribes the ldes-result document jline/io/LDESResultIO.java writes, block for block. The two subprocess clients that precede this one (MATLAB, native Python) parse a SUBSET of that document; this record carries all of it, because a block that is parsed nowhere is a block whose meaning drifts unnoticed.
EVERY KNOB IS A CLI FLAG, and the defaults here are the ENGINE's, not this port's: ldes_flags below emits a flag only when the value differs from the default, exactly as _build_flag_args and solveCli do, so a default run produces the minimal command line an older AOT native binary still parses. A default that disagreed with LdesCLI's would therefore be invisible in the command line and change the answer – which is why seed is the one exception and is ALWAYS emitted: the CLI default is -1 (a random seed), not 23000, so omitting it at the nominal seed would make the run irreproducible and silently different from the MATLAB and Python clients.
Definition in file ldes_options.h.