ContactCenters
V. 0.9.9.

umontreal.iro.lecuyer.contactcenters.ctmc
Interface WaitingQueueSelector

All Known Implementing Classes:
ListQueueSelector, PriorityQueueSelectorQS, PriorityQueueSelectorWT, SimpleQueueSelector

public interface WaitingQueueSelector

Represents a policy selecting a queued contact for an agent becoming free, in a CTMC call center model. A CTMC model supporting multiple agent groups can have a different waiting queue selector for each agent group. The available implementations are ListQueueSelector, PriorityQueueSelectorQS, and PriorityQueueSelectorWT.


Method Summary
 double[] getRanks()
          Returns an array giving the rank associated with each waiting queue by this waiting queue selector.
 int selectWaitingQueue(CallCenterCTMC ctmc, int k, int tr)
          Selects a waiting queue for the free agent, and returns the index of the selected queue.
 

Method Detail

selectWaitingQueue

int selectWaitingQueue(CallCenterCTMC ctmc,
                       int k,
                       int tr)
Selects a waiting queue for the free agent, and returns the index of the selected queue. If no waiting queue can be selected, this method returns a negative value.

Parameters:
ctmc - the call center CTMC model.
tr - the current transition number.
Returns:
the selected waiting queue.

getRanks

double[] getRanks()
Returns an array giving the rank associated with each waiting queue by this waiting queue selector.

Returns:
the array of ranks.

ContactCenters
V. 0.9.9.

To submit a bug or ask questions, send an e-mail to Richard Simard.