ContactCenters
V. 0.9.9.

umontreal.iro.lecuyer.contactcenters.ctmc
Interface CCEvent

All Known Implementing Classes:
EventWithSelection, EventWithTest, FalseTransitionEvent, LookupEvent

public interface CCEvent

Represents an event occurring during a transition of a CTMC representing a contact center with multiple contact types and agent groups.


Method Summary
 TransitionType actions(CallCenterCTMCKI ctmc, int tr, int rv, int usedBits, boolean changeState)
          Performs the necessary actions for the transition, and returns the appropriate transition type.
 

Method Detail

actions

TransitionType actions(CallCenterCTMCKI ctmc,
                       int tr,
                       int rv,
                       int usedBits,
                       boolean changeState)
Performs the necessary actions for the transition, and returns the appropriate transition type. This method is called by CallCenterCTMCKI.nextStateInt(int) in order to generate a transition. Random bits can be obtained as needed by using the given integer rv, but the numUsedBits least significant bits of rv are already used before the method is called, i.e., to select the index of an event in a lookup table.

Parameters:
ctmc - the CTMC representing the call center.
tr - the number of transitions already done.
rv - the random integer used to simulate the transition.
usedBits - the number of bits already used in rv.
changeState - determines if the event can change the state of the CTMC.
Returns:
the type of the simulated transition.

ContactCenters
V. 0.9.9.

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