|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArrivalProcessFactory
Provdes a method to create an arrival process from the user-specified parameters.
Method Summary | |
---|---|
ContactArrivalProcess |
createArrivalProcess(CallCenter cc,
ArrivalProcessManager am,
ArrivalProcessParams par)
Constructs and returns an arrival process for the call center model cc and the arrival process parameters par. |
boolean |
estimateParameters(ArrivalProcessParams par,
int[][] data,
double periodDuration)
Estimates the parameters of an arrival process using the data given in the 2D array data. |
Method Detail |
---|
ContactArrivalProcess createArrivalProcess(CallCenter cc, ArrivalProcessManager am, ArrivalProcessParams par) throws ArrivalProcessCreationException
ArrivalProcessParams.getType()
to get the type string of the arrival process given by the user,
and returns an arrival process if it supports that particular type
identifier.
Otherwise, it returns null.
An arrival-process-creation exception is thrown only if
the given arrival process is supported by the
implementation, but some error occurs during
the construction of the arrival process, e.g., invalid
parameters.
cc
- the call center model.par
- the router's parameters.
ArrivalProcessCreationException
boolean estimateParameters(ArrivalProcessParams par, int[][] data, double periodDuration)
par
- the parameters of the arrival process.data
- the 2D array of vectors of observations.periodDuration
- the duration of main periods, in
simulation time units.
IllegalArgumentException
- if an error occurs
during parameter estimation.
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |