Research Article

Performance Analysis of Two Different Types of Waiting Queues with Working Vacations

Algorithm 1

Algorithm to compute , , , and ETC.
Begin
Input: λ, a, , and θ.
Compute: the value of ρ
If (ρ < 1)
Compute: Probabilities of system states
Compute: Mean orbit and system size
Compute: Mean busy time
Compute: Expected total cost
Else
Change the input of the parameters by satisfying ρ < 1.
End
Output: , , and ETC