- All Implemented Interfaces:
- Initializable, RankFunction, ToggleElement
public class RoutFuncMinExpDelay
extends Object
implements RankFunction, Initializable, ToggleElement
Implements a routing function based on the documentation of a Cisco router (2008).
This routing function is to be used with the policy OVERFLOWANDPRIORITY routing policy.
Waiting queues are at agent groups. A call can wait only at 1 queue and cannot change queue.
Calls can have priority, but this affects only the calls in the same queue.
The implemented rule function is : Minimum Expected Delay (MED).
The expected delay measure is calculated by the following formula :
[(calls in queue + 1)*AHT / number of agents in group].
When a call must enter a waiting queue (because no free agent is available), the call
chooses the queue with the shortest maximum delay for the last given period length.
When free agents are available, the call choose the group based on its preference rank and the agent
based on longest in idle-time.
Property integer named "numCheckedPeriods" must be declared as the number of intervals to aggregate.
Property duration named "checkedPeriodDuration" must be declared as the length of 1 interval.
Property boolean named "aggregateMeasure" must be set to true to measure all calls' AHT in the queue, set to
false to only consider the AHT of calls of same type. Default value is : false.
Property numberList named "queueRanks" must be declared for each call type in the conditional routing.
- Author:
- Wyean Chan