queueing theory

Using the trajectory of a billiard ball to assign customers to queues.