Text this: Algorithm simulation of resource allocation of the queueing systems, based on the priorities