|
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.dialer.AgentsMoveDialerPolicy.AgentGroupInfo
public static class AgentsMoveDialerPolicy.AgentGroupInfo
Represents a virtual agent group j for the
AgentsMoveDialerPolicy
. This class encapsulates information about
inbound and outbound groups in the virtual group as well as thresholds,
probabilities, and delays. It also implements methods to transfer agents
from groups to groups.
Constructor Summary | |
---|---|
AgentsMoveDialerPolicy.AgentGroupInfo(AgentGroup[] inboundGroups,
double[] inboundGroupProbs,
AgentGroup[] outboundGroups,
double[] outboundGroupProbs,
RandomStream stream)
Constructs a new virtual agent group containing all inbound agent groups int inboundGroups, and all outbound agent groups in outboundGroups. |
Method Summary | |
---|---|
double |
getDelayInIn()
Returns the value of ![]() |
double |
getDelayInOut()
Returns the value of ![]() |
double |
getDelayOutIn()
Returns the value of ![]() |
double |
getDelayOutOut()
Returns the value of ![]() |
double[] |
getInboundGroupProbs()
Returns the probabilities pj, i of selection for each inbound agent group. |
AgentGroup[] |
getInboundGroups()
Returns the inbound agent group associated with this information object. |
int |
getMaximumIdleOutboundAgents()
Returns the value of Mj, which defaults to 0. |
int |
getMinimumIdleInboundAgents()
Returns the value of mj, which defaults to 0. |
double |
getMinimumIdleTime()
Returns the value of tj, which defaults to 0. |
int |
getNumInOutMoves()
|
int |
getNumOutInMoves()
|
double[] |
getOutboundGroupProbs()
Returns the probabilities pj, i of selection for each outbound agent group. |
AgentGroup[] |
getOutboundGroups()
Returns the outbound agent group associated with this information object. |
void |
init()
Initializes both agent groups, and resets the fields storing the last time moves happened. |
void |
makeAllInbound()
Moves all outbound agents to the inbound group. |
void |
makeInboundIfNoOut()
|
void |
setDelayInIn(double delayInIn)
Sets the value of ![]() |
void |
setDelayInOut(double delayInOut)
Sets the value of ![]() |
void |
setDelayOutIn(double delayOutIn)
Sets the value of ![]() |
void |
setDelayOutOut(double delayOutOut)
Sets the value of ![]() |
void |
setMaximumIdleOutboundAgents(int maximumIdleAgents)
Sets the value of Mj to maximumIdleAgents. |
void |
setMinimumIdleInboundAgents(int minimumIdleAgents)
Sets the value of mj to minimumIdleAgents. |
void |
setMinimumIdleTime(double minimumIdleTime)
Sets the value of tj to minimumIdleTime. |
void |
setRequiredEmptyGroupsInOut(AgentGroup[] groups)
|
void |
setRequiredEmptyGroupsOutIn(AgentGroup[] groups)
|
Simulator |
simulator()
|
void |
startInboundToOutbound()
Starts the process moving inbound agents to outbound for the agent groups associated with this object. |
void |
startOutboundToInbound()
Similar to startInboundToOutbound() , for the
outbound-to-inbound process. |
void |
stopInboundToOutbound()
Stops the process moving inbound agents to the outbound group. |
void |
stopOutboundToInbound()
Similar to stopInboundToOutbound() , for the
outbound-to-inbound process. |
void |
transferToInbound(int n)
Transfers n agents from the outbound groups of this object to its inbound group. |
boolean |
transferToInbound(int idxOut,
Agent agent)
Transfers the agent agent to a randomly-chosen inbound agent group. |
void |
transferToOutbound(int n)
Transfers n agents from the inbound groups of this object to its outbound group. |
boolean |
transferToOutbound(int idxIn,
Agent agent)
Transfers the agent agent to a randomly-chosen outbound agent group. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AgentsMoveDialerPolicy.AgentGroupInfo(AgentGroup[] inboundGroups, double[] inboundGroupProbs, AgentGroup[] outboundGroups, double[] outboundGroupProbs, RandomStream stream)
inboundGroups
- the inbound agent group.inboundGroupProbs
- the probabilities of selection for each inbound agent group
when performing transfers.outboundGroups
- the outbound agent group.outboundGroupProbs
- the probabilities of selection for each outbound agent group
when performing transfers.Method Detail |
---|
public void setRequiredEmptyGroupsInOut(AgentGroup[] groups)
public void setRequiredEmptyGroupsOutIn(AgentGroup[] groups)
public Simulator simulator()
public int getNumInOutMoves()
public int getNumOutInMoves()
public double getDelayInIn()
public void setDelayInIn(double delayInIn)
public double getDelayInOut()
public void setDelayInOut(double delayInOut)
public double getDelayOutIn()
public void setDelayOutIn(double delayOutIn)
public double getDelayOutOut()
public void setDelayOutOut(double delayOutOut)
public AgentGroup[] getInboundGroups()
public AgentGroup[] getOutboundGroups()
public int getMaximumIdleOutboundAgents()
public void setMaximumIdleOutboundAgents(int maximumIdleAgents)
public int getMinimumIdleInboundAgents()
public void setMinimumIdleInboundAgents(int minimumIdleAgents)
public double getMinimumIdleTime()
public void setMinimumIdleTime(double minimumIdleTime)
public double[] getInboundGroupProbs()
getInboundGroups()
.
public double[] getOutboundGroupProbs()
getOutboundGroups()
.
public void transferToInbound(int n)
n
- the number of agents to transfer.public void transferToOutbound(int n)
n
- the number of agents to transfer.public boolean transferToInbound(int idxOut, Agent agent)
agent
- the agent to transfer.public boolean transferToOutbound(int idxIn, Agent agent)
agent
- the agent to transfer.public void startInboundToOutbound()
public void stopInboundToOutbound()
public void makeInboundIfNoOut()
public void startOutboundToInbound()
startInboundToOutbound()
, for the
outbound-to-inbound process.
public void stopOutboundToInbound()
stopInboundToOutbound()
, for the
outbound-to-inbound process.
public void makeAllInbound()
public void init()
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |