|
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.msk.cv.CVCallCenterStat
public class CVCallCenterStat
Represents call center statistics on which control variables are applied. An
instance of this class is constructed from a CallCenterStatProbes
object, and defines statistical probes for controlled estimators. When
applyControlVariables(umontreal.iro.lecuyer.contactcenters.app.PerformanceMeasureType, umontreal.iro.lecuyer.stat.matrix.MatrixOfTallies
is called, observations are extracted from the
probes in the inner CallCenterStatProbes
object, and controlled
observations are added to the encapsulated probes. This way, control
variables are applied after the simulation is finished and do not require
modifying the simulator.
Constructor Summary | |
---|---|
CVCallCenterStat(SimLogic sim,
CallCenterStatProbes inStat,
boolean fmm,
ControlVariable... cvs)
Constructs a new CV call center statistical object using the simulation logic sim, taking statistics in the stat object, and applying the control variables cvs. |
Method Summary | |
---|---|
void |
applyControlVariables()
Equivalent to applyControlVariables
(null). |
void |
applyControlVariables(CVBetaFunction cvBeta)
Applies the control variables for the supported estimators. |
void |
applyControlVariables(Map<PerformanceMeasureType,double[][][]> betas)
|
DoubleMatrix2D |
getAverage(PerformanceMeasureType pm)
|
DoubleMatrix2D[][] |
getBetaMatrixFmm(PerformanceMeasureType pm)
Returns a 2D array of matrices representing the β constants for the control variables applied to the components of functions of multiple means represented by the type of performance measure pm. |
double[][][] |
getBetas(PerformanceMeasureType pm)
Returns the ![]() |
DoubleMatrix2D[] |
getConfidenceInterval(PerformanceMeasureType pm,
double level)
|
ControlVariable[] |
getControlVariables()
|
Map<PerformanceMeasureType,MatrixOfStatProbes<?>> |
getMatricesOfStatProbes()
Returns a map containing the matrix of statistical probes for each type of performance measure. |
MatrixOfFunctionOfMultipleMeansTallies<?> |
getMatrixOfFunctionOfMultipleMeansTallies(PerformanceMeasureType pm)
Returns a matrix of function of multiple means tallies corresponding to the given type pm of performance measure. |
MatrixOfStatProbes<?> |
getMatrixOfStatProbes(PerformanceMeasureType pm)
Returns a matrix of statistical probes corresponding to the given type pm of performance measure. |
MatrixOfTallies<?> |
getMatrixOfTallies(PerformanceMeasureType pm)
Returns a matrix of tallies corresponding to the given type pm of performance measure. |
MatrixOfTallies<TallyStore> |
getMatrixOfTallyStores(PerformanceMeasureType pm)
Returns a matrix of tallies corresponding to the given type pm of performance measure. |
DoubleMatrix2D |
getMax(PerformanceMeasureType pm)
|
DoubleMatrix2D |
getMin(PerformanceMeasureType pm)
|
PerformanceMeasureType[] |
getPerformanceMeasures()
Returns the types of performance measures contained into the implemented set of call center probes. |
DoubleMatrix2D |
getVariance(PerformanceMeasureType pm)
|
DoubleMatrix2D |
getVarianceOfAverage(PerformanceMeasureType pm)
|
boolean |
hasPerformanceMeasure(PerformanceMeasureType pm)
Determines if the implementing set of call center probes contains a matrix of probes for the performance measure pm. |
void |
init()
Initializes the statistical collectors contained in this object. |
void |
initCV()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CVCallCenterStat(SimLogic sim, CallCenterStatProbes inStat, boolean fmm, ControlVariable... cvs)
sim
- the simulation logic.inStat
- the call center statistics.fmm
- if control variables are applied on functions of multiple
averages.cvs
- the array of control variables to apply.Method Detail |
---|
public ControlVariable[] getControlVariables()
public void init()
CallCenterStatProbes
init
in interface CallCenterStatProbes
public PerformanceMeasureType[] getPerformanceMeasures()
CallCenterStatProbes
getPerformanceMeasures
in interface CallCenterStatProbes
public boolean hasPerformanceMeasure(PerformanceMeasureType pm)
CallCenterStatProbes
CallCenterStatProbes.getPerformanceMeasures()
returns an
array containing pm.
hasPerformanceMeasure
in interface CallCenterStatProbes
pm
- the type of performance measure.
public Map<PerformanceMeasureType,MatrixOfStatProbes<?>> getMatricesOfStatProbes()
CallCenterStatProbes
getMatricesOfStatProbes
in interface CallCenterStatProbes
public MatrixOfStatProbes<?> getMatrixOfStatProbes(PerformanceMeasureType pm)
CallCenterStatProbes
NoSuchElementException
.
getMatrixOfStatProbes
in interface CallCenterStatProbes
pm
- the type of performance measure.
public MatrixOfTallies<?> getMatrixOfTallies(PerformanceMeasureType pm)
CallCenterStatProbes
CallCenterStatProbes.getMatrixOfStatProbes(PerformanceMeasureType)
and casts the
results into a matrix of tallies.
getMatrixOfTallies
in interface CallCenterStatProbes
pm
- the type of performance measure.
public MatrixOfTallies<TallyStore> getMatrixOfTallyStores(PerformanceMeasureType pm)
CallCenterStatProbes
CallCenterStatProbes.getMatrixOfStatProbes(PerformanceMeasureType)
and casts the
results into a matrix of tallies that can store their observations.
getMatrixOfTallyStores
in interface CallCenterStatProbes
pm
- the type of performance measure.
public MatrixOfFunctionOfMultipleMeansTallies<?> getMatrixOfFunctionOfMultipleMeansTallies(PerformanceMeasureType pm)
CallCenterStatProbes
CallCenterStatProbes.getMatrixOfStatProbes(PerformanceMeasureType)
and casts the
results into a matrix of tallies.
getMatrixOfFunctionOfMultipleMeansTallies
in interface CallCenterStatProbes
pm
- the type of performance measure.
public double[][][] getBetas(PerformanceMeasureType pm)
pm
- the type of performance measure.
public DoubleMatrix2D[][] getBetaMatrixFmm(PerformanceMeasureType pm)
pm
- the type of performance measure.
public DoubleMatrix2D getAverage(PerformanceMeasureType pm)
getAverage
in interface CallCenterStatProbes
public DoubleMatrix2D getMax(PerformanceMeasureType pm)
getMax
in interface CallCenterStatProbes
public DoubleMatrix2D getMin(PerformanceMeasureType pm)
getMin
in interface CallCenterStatProbes
public DoubleMatrix2D getVariance(PerformanceMeasureType pm)
getVariance
in interface CallCenterStatProbes
public DoubleMatrix2D getVarianceOfAverage(PerformanceMeasureType pm)
getVarianceOfAverage
in interface CallCenterStatProbes
public DoubleMatrix2D[] getConfidenceInterval(PerformanceMeasureType pm, double level)
getConfidenceInterval
in interface CallCenterStatProbes
public void initCV()
public void applyControlVariables()
applyControlVariables
(null).
public void applyControlVariables(CVBetaFunction cvBeta)
cvBeta
- the beta function calculator, or null.public void applyControlVariables(Map<PerformanceMeasureType,double[][][]> betas)
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |