|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectumontreal.iro.lecuyer.contactcenters.ctmc.ListGroupSelector
public class ListGroupSelector
Represents an agent group selector using static lists for agent selection. When a call enters the center, the group of the serving agent is given by the first group, among the user-specified groups i0, i1,…, containing at least one free agent.
Constructor Summary | |
---|---|
ListGroupSelector(int numGroups,
int[] groupList)
Constructs a new list-based agent group selector using the given static list groupList. |
Method Summary | |
---|---|
double[] |
getRanks()
Returns an array giving the rank associated with each agent group by this agent group selector. |
int |
selectAgentGroup(CallCenterCTMC ctmc,
int tr)
Selects an agent group for the newly arrived contact, and returns the index of the selected agent group. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListGroupSelector(int numGroups, int[] groupList)
groupList
- the list of agent groups being queried
by selectAgentGroup(CallCenterCTMC,int)
.Method Detail |
---|
public int selectAgentGroup(CallCenterCTMC ctmc, int tr)
AgentGroupSelector
selectAgentGroup
in interface AgentGroupSelector
ctmc
- the call center CTMC model.tr
- the current transition number.
public double[] getRanks()
AgentGroupSelector
getRanks
in interface AgentGroupSelector
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |