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

Port of matlab/src/api/sn/sn_polling_extension.m. More...

#include <cstddef>
#include <string>
#include "line/lang/lang_types.h"
#include "line/lang/qn/network_struct.h"
Include dependency graph for sn_polling_extension.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::api

Functions

template<class T>
std::string line::api::sn_polling_extension (const qn::NetworkStruct< T > &sn)
template<class T>
std::string line::api::sn_polling_citation_token (const qn::NetworkStruct< T > &sn, const std::string &family, const std::string &method)
 The citation token of the MVA polling analyzer's formula on SN, the hook of MATLAB NetworkSolver.citations: when family is "mva" and method contains "stationtime", "polling.table" if the first POLLING station has a table, else "polling.klimited" if it is K-limited with K > 1, else "".

Detailed Description

Port of matlab/src/api/sn/sn_polling_extension.m.

The first polling extension a POLLING station of the network carries, as its feature-registry name ("PollingTable", "PollingOrder" or "PollingTimer"), or "" when every polling station is a plain cyclic one. The three settings come from set_polling_table, set_polling_order and set_polling_timer and live on the Station. Engines that read the polling type alone (the SSA NRM, the JMT writer) ask this predicate so they refuse instead of answering the cyclic system.

ARITHMETIC: none; reads structure only.

Definition in file sn_polling_extension.h.