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

Expected tardiness at arrival (ETA) in a multiclass priority M/M/c queue, conditional on the state the arriving order observes (Hafizoglu, Gel and Keskinocak, INFORMS J. More...

#include <cmath>
#include <string>
#include <vector>
#include "line/api/qsys/qsys_mmc_prio_tardiness.h"
Include dependency graph for qsys_mmc_prio_eta.h:

Go to the source code of this file.

Classes

struct  line::qsys::MmcPrioEtaResult
 MATLAB's [Tard, Ptard, S] outputs, one entry of Tard and Ptard per due date. More...

Namespaces

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

Functions

MmcPrioEtaResult line::qsys::qsys_mmc_prio_eta (const std::vector< double > &lambda, double mu, unsigned c, unsigned r, unsigned v, unsigned q, const std::vector< double > &d, const std::string &type="np", const std::string &method="euler")
 Expected tardiness at arrival of a class-r order.

Detailed Description

Expected tardiness at arrival (ETA) in a multiclass priority M/M/c queue, conditional on the state the arriving order observes (Hafizoglu, Gel and Keskinocak, INFORMS J.

Comput. 25(2), 2013).

Port of matlab/src/api/qsys/qsys_mmc_prio_eta.m. For type "np", v is the total number of orders in the system and q the number of class <= r orders waiting (used when v >= c); for type "pr", v is the number of class <= r orders in the system and q is ignored. Classes with no higher-priority traffic use the closed form of Theorem 1; the others invert the transform of Theorem 2 ("np") or Theorem 4 and eq. (17) ("pr").

ARITHMETIC: double.

Definition in file qsys_mmc_prio_eta.h.