LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
solver_options.h File Reference

The keyword arguments a solver takes, as one struct. More...

#include <cstddef>
#include <string>
#include <vector>
Include dependency graph for solver_options.h:

Go to the source code of this file.

Classes

struct  line::SolverOptions
 The knobs a solver reads; a negative or empty field keeps the engine default. More...

Namespaces

namespace  line

Detailed Description

The keyword arguments a solver takes, as one struct.

Python builds a solver as MVA(model, method='lin') or CTMC(model, cutoff=3, seed=23000) – one shared keyword surface across every solver, narrowed per solver by which keywords it reads. This is that surface: a field per keyword, and a fluent set_* per field so a C++ call reads like the Python one it was ported from.

SolverOptions().set_cutoff(3).set_seed(23000)

A field left at its default is NOT forwarded, so the engine's own default stands: that is what the negative/empty sentinels below mean. This mirrors MATLAB's Solver.defaultOptions merge rather than overwriting it.

Definition in file solver_options.h.