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

Options of infer_smp, the reference's name/value pairs. More...

#include <line/api/infer/infer_smp.h>

Collaboration diagram for line::infer::SmpOptions:

Public Attributes

std::string approach = "intensity"
 'intensity' (Approach II, default) or 'sojourn' (Approach I).
std::string dist = "weibull"
 The family of every transition: 'weibull' (default), 'exp', 'gamma' or 'lognormal'.
std::vector< std::vector< std::string > > dist_table
 Per transition, dist_table[i][j] for i -> j (0-based states), when not empty; it must then be E x E, and an empty entry takes 'weibull'.
Matrix< double > covariates
 n x p covariates Z, one row per sojourn; an empty matrix means none.
std::vector< std::vector< std::vector< bool > > > covmask
 covmask[i][j][c]: whether covariate c enters transition i -> j (0-based states); empty means all, otherwise E x E x p.
std::size_t nstates = 0
 E; 0 means max(from, to).
double tolx = 1e-9
double tolf = 1e-12
std::size_t maxiter = 0
 Nelder-Mead iteration cap per run; 0 means 2000 per parameter.

Detailed Description

Options of infer_smp, the reference's name/value pairs.

Definition at line 206 of file infer_smp.h.

Member Data Documentation

◆ approach

std::string line::infer::SmpOptions::approach = "intensity"

'intensity' (Approach II, default) or 'sojourn' (Approach I).

Definition at line 208 of file infer_smp.h.

◆ covariates

Matrix<double> line::infer::SmpOptions::covariates

n x p covariates Z, one row per sojourn; an empty matrix means none.

Definition at line 217 of file infer_smp.h.

◆ covmask

std::vector<std::vector<std::vector<bool> > > line::infer::SmpOptions::covmask

covmask[i][j][c]: whether covariate c enters transition i -> j (0-based states); empty means all, otherwise E x E x p.

Definition at line 222 of file infer_smp.h.

◆ dist

std::string line::infer::SmpOptions::dist = "weibull"

The family of every transition: 'weibull' (default), 'exp', 'gamma' or 'lognormal'.

Definition at line 210 of file infer_smp.h.

◆ dist_table

std::vector<std::vector<std::string> > line::infer::SmpOptions::dist_table

Per transition, dist_table[i][j] for i -> j (0-based states), when not empty; it must then be E x E, and an empty entry takes 'weibull'.

Definition at line 215 of file infer_smp.h.

◆ maxiter

std::size_t line::infer::SmpOptions::maxiter = 0

Nelder-Mead iteration cap per run; 0 means 2000 per parameter.

Definition at line 228 of file infer_smp.h.

◆ nstates

std::size_t line::infer::SmpOptions::nstates = 0

E; 0 means max(from, to).

Definition at line 224 of file infer_smp.h.

◆ tolf

double line::infer::SmpOptions::tolf = 1e-12

Definition at line 226 of file infer_smp.h.

◆ tolx

double line::infer::SmpOptions::tolx = 1e-9

Definition at line 225 of file infer_smp.h.


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