Polling Systems

Analysis of gated, exhaustive, and k-limited polling.

The polling module implements algorithms for polling systems with various polling strategies (gated, exhaustive, k-limited).

Key function categories:

Polling System Analysis Algorithms.

Native Python implementations for analyzing polling/vacation queue systems with various disciplines.

Key algorithms:

polling_qsys_exhaustive: Exhaustive polling discipline polling_qsys_gated: Gated polling discipline polling_qsys_1limited: 1-Limited polling discipline

polling_qsys_exhaustive(arvMAPs, svcMAPs, switchMAPs)[source]

Compute exact mean waiting times for exhaustive polling system.

In exhaustive polling, the server continues to serve a queue until it becomes empty before moving to the next queue.

Based on Takagi, ACM Computing Surveys, Vol. 20, No. 1, 1988, eq (15).

Parameters:
Returns:

Array of mean waiting times for each queue.

Return type:

ndarray

polling_qsys_gated(arvMAPs, svcMAPs, switchMAPs)[source]

Compute exact mean waiting times for gated polling system.

In gated polling, the server serves all customers present at the beginning of a visit period.

Based on Takagi, ACM Computing Surveys, Vol. 20, No. 1, 1988, eq (20).

Parameters:
Returns:

Array of mean waiting times for each queue.

Return type:

ndarray

polling_qsys_1limited(arvMAPs, svcMAPs, switchMAPs)[source]

Compute exact mean waiting times for 1-limited polling system.

In 1-limited polling, the server serves at most one customer from each queue before moving to the next queue.

Based on Takagi, ACM Computing Surveys, Vol. 20, No. 1, 1988, eq (20).

Parameters:
Returns:

Array of mean waiting times for each queue.

Return type:

ndarray