LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::lqns Namespace Reference

Classes

struct  LqnsOptions
 Knobs of the wrapper, the subset of SolverOptions that reaches lqns. More...
struct  LqnsRawAvg
 Everything the .lqxo carries, indexed as the struct is. More...
struct  LqnsSolution
 The six measures, on the element index space, with a defined mask each. More...
class  SolverLQNS
 The layered model solved by lqns or lqsim. More...

Functions

const std::string & lqns_version ()
 The version banner of the local lqns, empty when there is none.
int lqns_major_version ()
 The major release number, 0 when no binary answered.
bool lqns_is_available ()
 True when lqns is installed AND is a release this port speaks.

Function Documentation

◆ lqns_is_available()

bool line::lqns::lqns_is_available ( )
inline

True when lqns is installed AND is a release this port speaks.

LINE requires 6.0 or greater: the 5.x .lqxo grammar spells several result attributes differently, so an older binary would parse into a table of NaNs rather than fail, and the caller would read "not reported" as an answer.

Definition at line 69 of file lqns_probe.h.

References lqns_is_available(), and lqns_major_version().

Referenced by line::autosolver::auto_layered_is_available(), line::lqns::SolverLQNS< T >::is_available(), and lqns_is_available().

◆ lqns_major_version()

int line::lqns::lqns_major_version ( )
inline

The major release number, 0 when no binary answered.

Definition at line 55 of file lqns_probe.h.

References lqns_major_version(), and lqns_version().

Referenced by lqns_is_available(), and lqns_major_version().

◆ lqns_version()

const std::string & line::lqns::lqns_version ( )
inline

The version banner of the local lqns, empty when there is none.

Definition at line 49 of file lqns_probe.h.

References lqns_version().

Referenced by line::lqns::SolverLQNS< T >::has_local_binary(), lqns_major_version(), lqns_version(), and line::lqns::SolverLQNS< T >::version().