![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Everything one invocation does once the arguments are in hand. More...
Public Member Functions | |
| CliTimeoutReport (const std::string &s, double b) | |
| ~CliTimeoutReport () | |
Public Attributes | |
| std::string | solver |
| double | budget |
| int | uncaught |
Everything one invocation does once the arguments are in hand.
SPLIT OUT OF main FOR SERVER MODE, which runs it once per request with a different -f and a captured stdout. Keeping one body means a request served over the socket takes exactly the path the same command line takes at the shell – the failure this avoids is a server that answers slightly differently from the CLI it is supposed to BE. --timeout: the warning a solve cut short by the budget prints once, on stderr, after its output. Not on an error: a run that raised Timeout said so in its error line.
Definition at line 12437 of file line_cli.cpp.
|
inline |
Definition at line 12441 of file line_cli.cpp.
|
inline |
Definition at line 12443 of file line_cli.cpp.
References budget, solver, line::util::timeout_tripped(), line::util::timeout_warn(), and uncaught.
| double CliTimeoutReport::budget |
Definition at line 12439 of file line_cli.cpp.
Referenced by CliTimeoutReport(), and ~CliTimeoutReport().
| std::string CliTimeoutReport::solver |
Definition at line 12438 of file line_cli.cpp.
Referenced by CliTimeoutReport(), and ~CliTimeoutReport().
| int CliTimeoutReport::uncaught |
Definition at line 12440 of file line_cli.cpp.
Referenced by CliTimeoutReport(), and ~CliTimeoutReport().