|
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.ctmc.CallCenterStat
public class CallCenterStat
Regroups tallies collecting observations obtained
from independent replications of a simulation using
a CTMC in the case of an individual period.
After an object of this class is constructed, it
can be initialized using init(CallCenterCTMC)
.
While transitions are simulated, a set of counters
represented by an instance of CallCenterCounters
is updated.
At the end of the replication, the set of counters is given
to the addObs(CallCenterCounters,double)
method of this class to collect the observations.
Statistical collectors are regrouped into matrices concerning
types of performance measures.
The method getMatrixOfStatProbes(PerformanceMeasureType)
can be used to obtain the matrix of statistical probes
for a given type of performance measure.
Constructor Summary | |
---|---|
CallCenterStat(CallCenterCTMC ctmc,
int ns,
boolean keepObs)
Constructs a new set of statistical probes based on the CTMC model ctmc, with ns matrices of acceptable waiting times. |
Method Summary | |
---|---|
void |
addObs(CallCenterCounters counters,
double periodDuration)
Adds new observations obtained from counters to the statistical probes managed by this object. |
static double[] |
addSumElement(double[] array)
|
void |
formatReport(Map<String,Object> evalInfo,
double numExpectedTransitions)
Adds statistical information about the number of transitions to a map of evaluation information. |
Map<PerformanceMeasureType,MatrixOfStatProbes<?>> |
getMatricesOfStatProbes()
Returns a map associating each supported type of performance measure with a matrix of statistical probes. |
MatrixOfStatProbes<?> |
getMatrixOfStatProbes(PerformanceMeasureType m)
Returns the matrix of statistical probes corresponding to the performance measure type m. |
PerformanceMeasureType[] |
getPerformanceMeasures()
Returns an array of types of performance measures for which statistics are collected by this object. |
Tally |
getStatNumFalseTransitions()
Returns the tally for statistics on the number of false transitions, also called self jumps. |
Tally |
getStatNumTransitions()
Returns the tally for statistics on the number of simulated transitions. |
void |
init(CallCenterCTMC ctmc)
Initializes the statistical probes in this object. |
void |
initLambda(CallCenterCTMC[] ctmcs)
Initializes the arrival rates used by this statistical collector by summing the arrival rates for all the CTMCs in the given array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Tally statNumTransitions
protected Tally statNumFalseTransitions
protected ListOfTallies<?> statArrivals
protected ListOfTallies<?> statBlocked
protected ListOfTallies<?> statAbandoned
protected ListOfTallies<?> statService
protected ListOfTallies<?> statQueueSize
protected ListOfTallies<?> statBusyAgents
protected ListOfTallies<?> statTotalAgents
protected MatrixOfTallies<?> statServedRates
protected ListOfFunctionOfMultipleMeansTallies<FunctionOfMultipleMeansTally> statOccupancy
protected ListOfFunctionOfMultipleMeansTallies<FunctionOfMultipleMeansTally> statWaitingTime
protected ListOfTallies<?> statSumWaitingTimesServed
protected ListOfTallies<?> statSumWaitingTimesAbandoned
protected ListOfTallies<?> statSumWaitingTimes
protected ListOfTallies<?> statMaxQueueSize
protected ListOfTallies<?> statMaxBusyAgents
protected ListOfTallies<?> statGoodSL
protected ListOfTallies<?> statServedBeforeAWT
protected ListOfTallies<?> statAbandonedBeforeAWT
protected ListOfFunctionOfMultipleMeansTallies<FunctionOfMultipleMeansTally> statSL
protected ListOfFunctionOfMultipleMeansTallies<FunctionOfMultipleMeansTally> statSL2
protected ListOfFunctionOfMultipleMeansTallies<FunctionOfMultipleMeansTally> statWaitingTimeServed
protected ListOfFunctionOfMultipleMeansTallies<FunctionOfMultipleMeansTally> statWaitingTimeAbandoned
Constructor Detail |
---|
public CallCenterStat(CallCenterCTMC ctmc, int ns, boolean keepObs)
ctmc
- the call center CTMC.ns
- the number of matrices of acceptable waiting times.keepObs
- determines if collected observations are kept.Method Detail |
---|
public Tally getStatNumFalseTransitions()
public Tally getStatNumTransitions()
public PerformanceMeasureType[] getPerformanceMeasures()
public Map<PerformanceMeasureType,MatrixOfStatProbes<?>> getMatricesOfStatProbes()
public MatrixOfStatProbes<?> getMatrixOfStatProbes(PerformanceMeasureType m)
m
- the type of the performance measure.
public void init(CallCenterCTMC ctmc)
public void initLambda(CallCenterCTMC[] ctmcs)
addObs(CallCenterCounters,double)
to compute the expected number of arrivals during the considered
period. By default, the arrival rates are initialized
from the parameters of the CTMC given to the
init(CallCenterCTMC)
method.
With this method, the arrival rates can be
replaced with sums over several periods, to get
the total arrival rate over all periods of an horizon.
ctmcs
- the array of CTMCs.public void addObs(CallCenterCounters counters, double periodDuration)
counters
- the counters to get statistics from.periodDuration
- the period duration.public static double[] addSumElement(double[] array)
public void formatReport(Map<String,Object> evalInfo, double numExpectedTransitions)
ContactCenterEval.getEvalInfo()
, and
generated information is displayed in reports produced by a simulator.
evalInfo
- the evaluation information.numExpectedTransitions
- the expected number of transitions.
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |