LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
CliTimeoutReport Struct Reference

Everything one invocation does once the arguments are in hand. More...

Collaboration diagram for CliTimeoutReport:

Public Member Functions

 CliTimeoutReport (const std::string &s, double b)
 ~CliTimeoutReport ()

Public Attributes

std::string solver
double budget
int uncaught

Detailed Description

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.

Constructor & Destructor Documentation

◆ CliTimeoutReport()

CliTimeoutReport::CliTimeoutReport ( const std::string & s,
double b )
inline

Definition at line 12441 of file line_cli.cpp.

References budget, solver, and uncaught.

◆ ~CliTimeoutReport()

CliTimeoutReport::~CliTimeoutReport ( )
inline

Member Data Documentation

◆ budget

double CliTimeoutReport::budget

Definition at line 12439 of file line_cli.cpp.

Referenced by CliTimeoutReport(), and ~CliTimeoutReport().

◆ solver

std::string CliTimeoutReport::solver

Definition at line 12438 of file line_cli.cpp.

Referenced by CliTimeoutReport(), and ~CliTimeoutReport().

◆ uncaught

int CliTimeoutReport::uncaught

Definition at line 12440 of file line_cli.cpp.

Referenced by CliTimeoutReport(), and ~CliTimeoutReport().


The documentation for this struct was generated from the following file: