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

#include <line/solvers/ag/ag_types.h>

Collaboration diagram for line::ag::AgOptions:

Public Attributes

std::string method = "default"
 'default', 'inap', 'inapplus', 'inapinf' or the vestigial 'exact'.
double tol = 1e-4
 Convergence tolerance of the reversed-rate fixed point.
int iter_max = 100
 SolverOptions('AG') lowers this from the global 1000 to 100.
std::size_t max_states = 100
 Truncation level of an OPEN agent's queue-length dimension.
std::size_t nonmkv_order = 20
 options.config.nonmkvorder: the phase budget sn_nonmarkov_toph spends replacing a non-Markovian service law.
std::string exec = "serial"
 One of exec_serial(), exec_parallel() (or exec_para()), exec_cluster().
unsigned nworkers = 0
 Thread-pool size for 'parallel'; 0 means one thread per available processor.
std::vector< std::string > endpoints
 Worker addresses ("host:port") for 'cluster'.
double worker_timeout = 30.0
 Seconds to wait on a worker before solving its agents locally instead.

Detailed Description

Definition at line 49 of file ag_types.h.

Member Data Documentation

◆ endpoints

std::vector<std::string> line::ag::AgOptions::endpoints

Worker addresses ("host:port") for 'cluster'.

Definition at line 84 of file ag_types.h.

◆ exec

std::string line::ag::AgOptions::exec = "serial"

One of exec_serial(), exec_parallel() (or exec_para()), exec_cluster().

Definition at line 74 of file ag_types.h.

◆ iter_max

int line::ag::AgOptions::iter_max = 100

SolverOptions('AG') lowers this from the global 1000 to 100.

Definition at line 57 of file ag_types.h.

◆ max_states

std::size_t line::ag::AgOptions::max_states = 100

Truncation level of an OPEN agent's queue-length dimension.

A closed class uses its own population instead, so this bounds only the open agents; 'inapinf' ignores it and solves them on the infinite state space through the matrix-geometric tail.

Definition at line 65 of file ag_types.h.

◆ method

std::string line::ag::AgOptions::method = "default"

'default', 'inap', 'inapplus', 'inapinf' or the vestigial 'exact'.

Definition at line 51 of file ag_types.h.

◆ nonmkv_order

std::size_t line::ag::AgOptions::nonmkv_order = 20

options.config.nonmkvorder: the phase budget sn_nonmarkov_toph spends replacing a non-Markovian service law.

The reference default is 20.

Definition at line 71 of file ag_types.h.

◆ nworkers

unsigned line::ag::AgOptions::nworkers = 0

Thread-pool size for 'parallel'; 0 means one thread per available processor.

Pinned rather than derived per sweep so a run is reproducible on a machine whose load changes under it.

Definition at line 81 of file ag_types.h.

◆ tol

double line::ag::AgOptions::tol = 1e-4

Convergence tolerance of the reversed-rate fixed point.

Definition at line 54 of file ag_types.h.

◆ worker_timeout

double line::ag::AgOptions::worker_timeout = 30.0

Seconds to wait on a worker before solving its agents locally instead.

A lost worker is never fatal: any agent can be solved anywhere given x, so a cluster run degrades to a slower run and never to a wrong one.

Definition at line 91 of file ag_types.h.


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