|
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<ColumnType>
umontreal.iro.lecuyer.contactcenters.app.ColumnType
public enum ColumnType
Represents the column type for a matrix regrouping performance measures. Each type of performance measure has a column type that affects the number and role of columns in any matrix of performance measures of that type. Of course, the number of columns is also affected by the parameters of the contact center.
With the exception of PerformanceMeasureType.SERVEDRATES
and
PerformanceMeasureType.MAXQUEUESIZE
, each column corresponds to a
main period in the model, and the last column corresponds to the
time-aggregate values. If there is a single period, e.g., for steady-state
approximations or simulations, the matrix can have a single column. Note that
when using batch means, matrices of results do not contain a column for each
batch. To get values for each batch in a stationary simulation, one
must use a contact center simulator with observations and call
ContactCenterSimWithObservations.getObs(umontreal.iro.lecuyer.contactcenters.app.PerformanceMeasureType, int, int)
. One must also make sure to
set up the simulator to keep track of the observations, which is
implementation-specific. For implementations using BatchSimParams
for
experiment parameters, the method SimParams.setKeepObs(boolean)
can be used
for this.
Enum Constant Summary | |
---|---|
AGENTGROUP
Columns representing agent groups. |
|
MAINPERIOD
Columns representing main periods. |
|
SINGLECOLUMN
Single column with no particular meaning. |
Method Summary | |
---|---|
abstract int |
count(ContactCenterInfo eval)
Returns the usual number of columns in a matrix of performance measures with columns of this type estimated by the evaluation system eval. |
abstract String |
getName(ContactCenterInfo eval,
int column)
Returns the name associated with the column column in a matrix of results for this type of column estimated by eval. |
abstract Map<String,String> |
getProperties(ContactCenterInfo eval,
int column)
Returns the properties associated with column column. |
abstract String |
getTitle()
Returns the title that should identify the rows of matrices of results for this type of column. |
static ColumnType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ColumnType[] |
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 ColumnType MAINPERIOD
public static final ColumnType AGENTGROUP
RowType.AGENTGROUP
, with
rows replaced with columns.
public static final ColumnType SINGLECOLUMN
Method Detail |
---|
public static ColumnType[] values()
for (ColumnType c : ColumnType.values()) System.out.println(c);
public static ColumnType 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 abstract String getTitle()
MAINPERIOD
.
public abstract String getName(ContactCenterInfo eval, int column)
MAINPERIOD
, and column 0, it may
return Period 0.
eval
- the contact center evaluation object.column
- the column index.
public abstract Map<String,String> getProperties(ContactCenterInfo eval, int column)
eval
- the evaluation system.column
- the column index.
public abstract int count(ContactCenterInfo eval)
eval
- the queried evaluation system.
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |