ContactCenters
V. 0.9.9.

umontreal.iro.lecuyer.contactcenters.ctmc
Class SimpleGroupSelector

java.lang.Object
  extended by umontreal.iro.lecuyer.contactcenters.ctmc.SimpleGroupSelector
All Implemented Interfaces:
AgentGroupSelector

public class SimpleGroupSelector
extends Object
implements AgentGroupSelector


Constructor Summary
SimpleGroupSelector()
           
 
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

SimpleGroupSelector

public SimpleGroupSelector()
Method Detail

selectAgentGroup

public int selectAgentGroup(CallCenterCTMC ctmc,
                            int tr)
Description copied from interface: AgentGroupSelector
Selects an agent group for the newly arrived contact, and returns the index of the selected agent group. If no agent group can be selected, this method returns a negative value.

Specified by:
selectAgentGroup in interface AgentGroupSelector
Parameters:
ctmc - the call center CTMC model.
tr - the current transition number.
Returns:
the selected agent group.

getRanks

public double[] getRanks()
Description copied from interface: AgentGroupSelector
Returns an array giving the rank associated with each agent group by this agent group selector.

Specified by:
getRanks in interface AgentGroupSelector
Returns:
the array of ranks.

ContactCenters
V. 0.9.9.

To submit a bug or ask questions, send an e-mail to Richard Simard.