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

Citation method names that come from the MODEL rather than from the solver method. More...

#include <string>
#include <vector>
#include "line/io/line_citations.h"
#include "line/lang/qn/network_struct.h"
Include dependency graph for model_citations.h:

Go to the source code of this file.

Namespaces

namespace  line
 Conservation laws of a layered queueing network, enumerated from its structure.
namespace  line::io

Functions

template<class T>
std::vector< std::string > line::io::model_citation_tokens (const qn::NetworkStruct< T > &sn, const std::string &family=std::string())
 The method names the features of SN contribute, in a fixed order.
template<class T>
std::vector< Citation > line::io::line_citations_for_model (const qn::NetworkStruct< T > &sn, const std::string &method=std::string())
 The references for a run of METHOD on SN: the method's own (split on '/' as in line_citations_for_method), then the model's, de-duplicated by key.

Detailed Description

Citation method names that come from the MODEL rather than from the solver method.

MATLAB NetworkSolver.citations, the JAR NetworkSolver.citations and python NetworkSolver.citations add method names for features of the model a run used, on top of the solver's own method. This header is that model half for the C++ port, kept apart from line_citations.h so the registry does not depend on the model struct.

Covered so far: an NNPP arrival stream is generated by Lewis-Shedler thinning (nnpp), and by SCIATA (Liu, Kuhl, Liu and Wilson, WSC 2015, sciata) when its dispersion ratio is not 1. A law whose dispersion cannot be read is attributed to both, as in the other three codebases. An LCFS-PR station run under SolverMAM is solved by Takine's matrix product form, whichever method name reached it (mam.lcfspr).

Definition in file model_citations.h.