|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MeasureType>
umontreal.iro.lecuyer.contactcenters.msk.stat.MeasureType
public enum MeasureType
Defines the types of matrices of measures, or raw statistics, supported by the call center simulator. During simulation, matrices of counters are updated in order to get matrices of observations which are added to statistical probes. Each matrix of counters regroups counts for a certain type of measure, e.g., the number of served calls, the sum of waiting times, the total time spent by busy agents, etc. Each row of such a matrix concerns a call type, agent group or (call type, agent group) pair, while each column concerns a period. If a single period is simulated, all matrices contain a single column.
There are two types of matrices of counters: a regular type for most statistics, and a special type for statistics based on an acceptable waiting time. Regular matrices have P + 2 columns, e.g., one column per period, and a certain number of R of rows. When such a matrix of counters is updated, only one element is changed; this ensures that the matrix update does not take too much time. When the matrix is transformed into a matrix of observations, only results for the P main periods are retained, and aggregates are computed for segments regrouping main periods. Aggregates are also computed for rows, which results in the matrix of observations having extra rows.
Matrices of counters using acceptable waiting times are different, because rows and columns cannot be aggregated to make matrices of observations. Aggregation cannot be done, because each counter may be updated with a different acceptable waiting time in general.
This type can be determined for any enum constant by
getting its associated row type, using getRowType
(false). The matrix type is AWT-based
only if its associated row type is RowType.INBOUNDTYPEAWT
.
The operator used for aggregation is often the sum, but this
can also be the maximum for some types of measures.
This operator can be obtained using the getAggregationFunction()
.
Method Summary | |
---|---|
DoubleDoubleFunction |
getAggregationFunction()
Returns the functions which is applied in order to aggregate two values of counters of this type. |
RowType |
getRowType(boolean contactTypeAgentGroup)
Returns the row type for this type of measure. |
TimeNormalizeType |
getTimeNormalizeType()
Returns a constant indicating how time normalization should be perform on matrix of counters of this type. |
static MeasureType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MeasureType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MeasureType MAXBUSYAGENTS
public static final MeasureType MAXQUEUESIZE
public static final MeasureType MAXWAITINGTIMEABANDONED
public static final MeasureType MAXWAITINGTIMESERVED
public static final MeasureType NUMABANDONED
public static final MeasureType NUMABANDONEDAFTERAWT
public static final MeasureType NUMABANDONEDBEFOREAWT
public static final MeasureType NUMARRIVALS
public static final MeasureType NUMBLOCKED
public static final MeasureType NUMBUSYAGENTS
public static final MeasureType NUMDELAYED
public static final MeasureType NUMSCHEDULEDAGENTS
public static final MeasureType NUMSERVED
public static final MeasureType NUMSERVEDAFTERAWT
public static final MeasureType NUMSERVEDBEFOREAWT
public static final MeasureType NUMTRIEDDIAL
public static final MeasureType NUMWORKINGAGENTS
public static final MeasureType NUMWRONGPARTYCONNECTS
public static final MeasureType QUEUESIZE
public static final MeasureType SUMEXCESSTIMESABANDONED
public static final MeasureType SUMEXCESSTIMESSERVED
public static final MeasureType SUMSERVED
public static final MeasureType SUMSERVICETIMES
public static final MeasureType SUMWAITINGTIMESABANDONED
public static final MeasureType SUMWAITINGTIMESSERVED
public static final MeasureType SUMWAITINGTIMESVQABANDONED
public static final MeasureType SUMWAITINGTIMESVQSERVED
Method Detail |
---|
public static MeasureType[] values()
for (MeasureType c : MeasureType.values()) System.out.println(c);
public static MeasureType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic DoubleDoubleFunction getAggregationFunction()
Functions.plus
, but
this can also return Functions.max
for
example with MAXWAITINGTIMEABANDONED
.
public RowType getRowType(boolean contactTypeAgentGroup)
contactTypeAgentGroup
-
public TimeNormalizeType getTimeNormalizeType()
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |