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

Classes

struct  Bernoulli1Result
 Steady-state quantities of a finite-buffer Bernoulli server. More...
struct  GeoGeo1Result
struct  GeoXGeo1Result

Enumerations

enum class  GeoConvention { LAS_DA , EAS }

Functions

template<class T>
Bernoulli1Result< T > dqsys_bernoulli1 (const std::vector< T > &b, const std::vector< T > &p, std::size_t L)
 Finite buffer of L jobs.
template<class T>
dqsys_geogeo1_pmf (const GeoGeo1Result< T > &r, int n)
 Stationary queue-length pmf under the convention of the result.
template<class T>
GeoGeo1Result< T > dqsys_geogeo1 (const T &a, const T &s, GeoConvention convention=GeoConvention::LAS_DA)
 Geo/Geo/1: the discrete-time single-server queue with geometric interarrival and service times.
template<class T>
GeoXGeo1Result< T > dqsys_geoxgeo1_moments (const T &a, const T &batchMean, const T &batchSecondFactorial, const T &s, GeoConvention convention=GeoConvention::LAS_DA)
 Geo^X/Geo/1 for an arbitrary batch law given by its first two factorial moments.
template<class T>
GeoXGeo1Result< T > dqsys_geoxgeo1 (const T &a, const T &beta, const T &s, GeoConvention convention=GeoConvention::LAS_DA)
 Geo^X/Geo/1: the discrete-time single-server queue with batch arrivals.
template<class T>
dqsys_geoxgeo1_pgf (const GeoXGeo1Result< T > &r, const T &z, const T &Az)
 Probability generating function of the stationary queue length.

Enumeration Type Documentation

◆ GeoConvention

enum class line::dqsys::GeoConvention
strong
Enumerator
LAS_DA 
EAS 

Definition at line 45 of file dqsys_geogeo1.h.

Function Documentation

◆ dqsys_bernoulli1()

template<class T>
Bernoulli1Result< T > line::dqsys::dqsys_bernoulli1 ( const std::vector< T > & b,
const std::vector< T > & p,
std::size_t L )

◆ dqsys_geogeo1()

template<class T>
GeoGeo1Result< T > line::dqsys::dqsys_geogeo1 ( const T & a,
const T & s,
GeoConvention convention = GeoConvention::LAS_DA )

◆ dqsys_geogeo1_pmf()

template<class T>
T line::dqsys::dqsys_geogeo1_pmf ( const GeoGeo1Result< T > & r,
int n )

◆ dqsys_geoxgeo1()

template<class T>
GeoXGeo1Result< T > line::dqsys::dqsys_geoxgeo1 ( const T & a,
const T & beta,
const T & s,
GeoConvention convention = GeoConvention::LAS_DA )

Geo^X/Geo/1: the discrete-time single-server queue with batch arrivals.

Parameters
aper-slot probability that a batch arrives, in (0,1]
betageometric batch-size parameter, in (0,1]; E[X] = 1/beta
sper-slot service completion probability, in (0,1]
conventionslot-boundary convention (late arrival, early arrival)

Definition at line 148 of file dqsys_geoxgeo1.h.

References dqsys_geoxgeo1(), dqsys_geoxgeo1_moments(), line::InputError::InputError(), and LAS_DA.

Referenced by dqsys_geoxgeo1().

◆ dqsys_geoxgeo1_moments()

◆ dqsys_geoxgeo1_pgf()

template<class T>
T line::dqsys::dqsys_geoxgeo1_pgf ( const GeoXGeo1Result< T > & r,
const T & z,
const T & Az )

Probability generating function of the stationary queue length.

Parameters
ra result of dqsys_geoxgeo1
zargument in (0,1]
Azthe value A(z) of the slot-arrival pgf at the same z

No pmf is offered: for a general batch law the stationary distribution has no elementary closed form, so only the generating function is exact.

Definition at line 170 of file dqsys_geoxgeo1.h.

References line::dqsys::GeoXGeo1Result< T >::boundaryEmptyProb, line::dqsys::GeoXGeo1Result< T >::convention, dqsys_geoxgeo1_pgf(), line::InputError::InputError(), LAS_DA, line::NumericError::NumericError(), and line::dqsys::GeoXGeo1Result< T >::serviceProb.

Referenced by dqsys_geoxgeo1_pgf().