Generalized Folding Algorithm for Transient Analysis of Finite QBD Processes and Its Queueing Applications · Study