|
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.router.OverflowAndPriorityRouter.RoutingInfo
public static final class OverflowAndPriorityRouter.RoutingInfo
Represents information about the routing for a particular contact. When this router processes a contact, it creates an instance of this class and associates it to the contact. This instance can be retrieved by using contact.getAttributes().get (router), where router is the corresponding router.
Constructor Summary | |
---|---|
OverflowAndPriorityRouter.RoutingInfo(int numGroups)
Constructs a new routing information object for a system with numGroups agent groups. |
Method Summary | |
---|---|
DequeueEvent |
getDequeueEvent(int q)
Returns the event representing the associated contact in queue q. |
double[] |
getNewRanksForContactSelectionArray()
Similar to getRanksForAgentSelectionArray() , for
the ranks used by waiting queue selection. |
int |
getNumQueues()
Returns the number of waiting queues the contact is in. |
double[] |
getRanksForAgentSelectionArray()
Returns an array containing the ranks associated with this contact for the last agent selection. |
double[] |
getRanksForContactSelectionArray()
Similar to getRanksForAgentSelectionArray() , for
the ranks used by waiting queue selection. |
int |
getStagesDone()
Returns the number of agent selections performed so far for this contact. |
void |
oneStageDone()
Indicates that a new agent selection was just done for the contact. |
void |
setDequeueEvent(int q,
DequeueEvent ev)
Sets the dequeue event for queue q to ev. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OverflowAndPriorityRouter.RoutingInfo(int numGroups)
numGroups
- the number of agent groups.Method Detail |
---|
public double[] getRanksForAgentSelectionArray()
public double[] getRanksForContactSelectionArray()
getRanksForAgentSelectionArray()
, for
the ranks used by waiting queue selection.
public double[] getNewRanksForContactSelectionArray()
getRanksForAgentSelectionArray()
, for
the ranks used by waiting queue selection.
This array is used when a new vector of ranks is generated, to
be compared with the original vector of ranks giving
the priorities of the contacts currently in queues.
public DequeueEvent getDequeueEvent(int q)
q
- the index of the tested queue.
public void setDequeueEvent(int q, DequeueEvent ev)
q
- the index of the waiting queue.ev
- the dequeue event.public int getNumQueues()
public int getStagesDone()
public void oneStageDone()
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |