Functional queue and Pseudoclassical queue