|
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.xmlbind.NamedInfo
umontreal.iro.lecuyer.contactcenters.msk.model.AgentGroupManager
umontreal.iro.lecuyer.contactcenters.msk.model.AgentGroupManagerWithAgents
public class AgentGroupManagerWithAgents
Manages an agent group with detailed information on each agent.
Constructor Summary | |
---|---|
AgentGroupManagerWithAgents(CallCenter cc,
AgentGroupParams par,
int i)
Creates an agent group manager with the call center model cc, agent group parameters par, and agent group index i. |
Method Summary | |
---|---|
protected AgentGroup |
createAgentGroup(AgentGroupParams par,
int i)
Constructs and returns a detailed agent group, which is needed to add and remove agents. |
AgentInfo |
getAgent(int i)
Returns the agent with index i in this group. |
DetailedAgentGroup |
getAgentGroup()
Returns a reference to the managed agent group. |
AgentInfo[] |
getAgents()
Returns an array containing an information object for each agent in this group. |
int |
getNumAgents()
Returns the number of agents in this group. |
boolean[][] |
getShiftMatrix()
Computes and returns the shift matrix. |
int[][] |
getShiftMatrixInt()
Similar to getShiftMatrix() , but
returns a matrix of integers, with 0 meaning
false, and 1 meaning true. |
int[] |
getStaffing()
Returns the raw staffing of the managed agent group. |
int |
getStaffing(int mp)
Returns element mp of the array that would be returned by AgentGroupManager.getStaffing() . |
void |
init()
Calls init on the managed agent group. |
Methods inherited from class umontreal.iro.lecuyer.contactcenters.msk.model.AgentGroupManager |
---|
connectToRouter, create, estimateParameters, getAgentsMult, getBusyCost, getBusyCost, getCallCenter, getDisconnectTimeGen, getEffectiveStaffing, getEffectiveStaffing, getIdleCost, getIdleCost, getMaxAgents, getMaxAgents, getMinAgents, getMinAgents, getPerUseCost, getPerUseCost, getProbDisconnect, getProbDisconnect, getProbDisconnectStream, getSchedule, getSkillCount, getWeight, getWeight, setAgentsMult, setProbDisconnectStream, setSchedule |
Methods inherited from class umontreal.iro.lecuyer.xmlbind.NamedInfo |
---|
getName, getProperties, getStringProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AgentGroupManagerWithAgents(CallCenter cc, AgentGroupParams par, int i) throws AgentGroupCreationException
cc
- the call center model.par
- the agent group parameters.i
- the agent group index.
AgentGroupCreationException
- if an error occurs during
the creation of the agent group manager.Method Detail |
---|
protected AgentGroup createAgentGroup(AgentGroupParams par, int i) throws AgentGroupCreationException
createAgentGroup
in class AgentGroupManager
i
- the agent group index.
AgentGroupCreationException
public DetailedAgentGroup getAgentGroup()
AgentGroupManager
getAgentGroup
in class AgentGroupManager
public AgentInfo[] getAgents()
public int getNumAgents()
public AgentInfo getAgent(int i)
i
- the index of the agent.
public void init()
AgentGroupManager
init
in class AgentGroupManager
public boolean[][] getShiftMatrix()
public int[][] getShiftMatrixInt()
getShiftMatrix()
, but
returns a matrix of integers, with 0 meaning
false, and 1 meaning true.
public int[] getStaffing()
AgentGroupManager
This method is mainly for internal use;
the AgentGroupManager.getEffectiveStaffing()
method should be used instead to take multipliers into
account.
The default behavior of this method is to return an array of 0's.
getStaffing
in class AgentGroupManager
public int getStaffing(int mp)
AgentGroupManager
AgentGroupManager.getStaffing()
.
As with AgentGroupManager.getStaffing()
, this method is for
internal use.
The method AgentGroupManager.getEffectiveStaffing(int)
should be used instead.
getStaffing
in class AgentGroupManager
mp
- the index of the tested main period.
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |