Overview | Package | Class | Tree | Deprecated | Index | Help
| ContactCenters V. 0.9.9.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## umontreal.iro.lecuyer.contactcenters.ctmc
Interface AgentGroupSelector

All Known Implementing Classes:
  ListGroupSelector, PriorityGroupSelector, SimpleGroupSelector

    public interface AgentGroupSelector

Represents a policy selecting an agent group for an incoming contact, in a CTMC call center model. A CTMC model supporting multiple call types can have a different agent group selector for each contact type. The available implementations are `ListGroupSelector`, and `PriorityGroupSelector`.

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.

Method Detail

### selectAgentGroup

    int selectAgentGroup(CallCenterCTMC ctmc,
                         int tr)

  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.

  Parameters:
    `ctmc` - the call center CTMC model.
    `tr` - the current transition number.
  Returns:
    the selected agent group.

### getRanks

    double[] getRanks()

  Returns an array giving the rank associated with each agent group by this agent group selector.

  Returns:
    the array of ranks.

Overview | Package | Class | Tree | Deprecated | Index | Help
| ContactCenters V. 0.9.9.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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