public static class MinIdleAgentsRouting.MinIdleAgentsRouter extends AgentsPrefRouterWithDelays
Modifier and Type | Field and Description |
---|---|
protected double[][] |
minIdleAgents
This is the minIdleAgentsGT parameter matrix.
|
bestAgent, bestGroup, bestQueue, bestQueuedContact, ranksGT, ranksTG, weightsGT, weightsTG
BLOCKTYPE_CANTQUEUE, BLOCKTYPE_NOLINE, BLOCKTYPE_QUEUEFULL, DEQUEUETYPE_BEGINSERVICE, DEQUEUETYPE_FANTOM, DEQUEUETYPE_NOAGENT, DEQUEUETYPE_TRANSFER, dqTypeRet
Constructor and Description |
---|
MinIdleAgentsRouting.MinIdleAgentsRouter(double[][] ranksTG,
double[][] ranksGT,
double[][] weightsTG,
double[][] weightsGT,
double[][] delaysGT,
double[][] minIdleAgents) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkRandomThreshold()
Need to call this method to initialize the check matrix in order to determine
if the threshold needs to be randomized.
|
String |
getDescription() |
double |
getMinIdleAgent(int group,
int type)
Get the min idle agents threshold of the specific group and call type.
|
double[][] |
getMinIdleAgents()
Get the min idle agents threshold.
|
protected double |
getRankForAgentSelection(int k,
int i) |
protected double |
getRankForContactSelection(int i,
int k) |
void |
setMinIdleAgent(double min,
int group,
int type)
Change the min idle agents threshold of a particular group and call type.
|
void |
setMinIdleAgents(double[][] min)
Change the min idle agents threshold, matrix with index [group][type].
|
checkFreeAgents, getDelayGT, getDelaysGT, getLongestWaitingTimeStatus, getOverflowTransferStatus, getReroutingDelay, getScoreForAgentSelection, selectAgent, selectAgent, selectWaitingQueue, setDelaysGT, setLongestWaitingTimeStatus, setOverflowTransferStatus, setRanksGT, toLongString
canServe, checkWaitingQueues, getAgentSelectionScore, getContactSelectionScore, getGroupToTypeMap, getRankGT, getRanksGT, getRanksTG, getRankTG, getScoreForContactSelection, getStreamAgentSelection, getStreamContactSelection, getTypeToGroupMap, getWaitingQueueType, getWeightGT, getWeightsGT, getWeightsTG, getWeightTG, needsDetailedAgentGroup, selectAgent, selectContact, selectWaitingQueue, setAgentSelectionScore, setContactSelectionScore, setRanksGT, setRanksTG, setStreamAgentSelection, setStreamContactSelection, setWeightsGT, setWeightsTG
addExitedContactListener, agentReroutingEventsIterator, beginService, clearExitedContactListeners, contactReroutingEventsIterator, dequeued, endContact, endService, enqueued, exitBlocked, exitDequeued, exitServed, formatAgentGroups, formatWaitingQueues, getAgentGroup, getAgentGroupListener, getAgentGroups, getAgentReroutingEvents, getContactFactory, getContactReroutingEvents, getCurrentQueueSize, getDialers, getExitedContactListeners, getNeededWaitingQueueComparator, getNeededWaitingQueueStructure, getNumAgentGroups, getNumContactTypes, getNumWaitingQueues, getReroutingDelay, getTotalQueueCapacity, getWaitingQueue, getWaitingQueueListener, getWaitingQueues, init, isKeepingReroutingEvents, mustClearWaitingQueue, newContact, notifyBlocked, notifyDequeued, notifyServed, removeExitedContactListener, restore, save, selectContact, selectWaitingQueue, setAgentGroup, setClearWaitingQueue, setClearWaitingQueues, setContactFactory, setKeepingReroutingEvents, setTotalQueueCapacity, setWaitingQueue, startDialers, toString
protected double[][] minIdleAgents
public MinIdleAgentsRouting.MinIdleAgentsRouter(double[][] ranksTG, double[][] ranksGT, double[][] weightsTG, double[][] weightsGT, double[][] delaysGT, double[][] minIdleAgents)
public String getDescription()
getDescription
in class AgentsPrefRouterWithDelays
protected void checkRandomThreshold()
protected double getRankForAgentSelection(int k, int i)
getRankForAgentSelection
in class AgentsPrefRouterWithDelays
protected double getRankForContactSelection(int i, int k)
getRankForContactSelection
in class AgentsPrefRouterWithDelays
public void setMinIdleAgents(double[][] min)
min
- the new threshold, matrix with index [group][type].public void setMinIdleAgent(double min, int group, int type)
min
- the new threshold.group
- the group to change.type
- the call type to change.public double[][] getMinIdleAgents()
public double getMinIdleAgent(int group, int type)
group
- the group to get the threshold.type
- the call type to get the threshold.