|
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<RowType>
umontreal.iro.lecuyer.contactcenters.app.RowType
public enum RowType
Represents the row type for a matrix regrouping performance measures. Each type of performance measure has a row type that affects the number and role of rows in any matrix of performance measures of that type. Of course, the number of rows is also affected by the parameters of the contact center.
Each row of a matrix of performance measures corresponds to one type of event. Usually, there is one row per contact type or agent group, and an extra row for the aggregate measures. If estimates of some performance measures are missing in a matrix of results, e.g., an approximation cannot compute them, they can be replaced by Double.NaN. The aggregate value is often defined as the sum of the values for each event type. In this case, if there is a single event type, the matrix has a single row since the per-type and aggregate values are the same.
Enum Constant Summary | |
---|---|
AGENTGROUP
Rows representing agent groups. |
|
CONTACTTYPE
Rows representing segments of contact types. |
|
CONTACTTYPEAGENTGROUP
Rows representing contact types/agent group pairs. |
|
INBOUNDTYPE
Rows representing segments of inbound contact types. |
|
INBOUNDTYPEAGENTGROUP
Rows representing inbound contact types/agent group pairs. |
|
INBOUNDTYPEAWT
Rows representing segments of inbound contact types, for performance measures using acceptable waiting times. |
|
INBOUNDTYPEAWTAGENTGROUP
Rows representing inbound contact types/agent group pairs, for performance measures using acceptable waiting times. |
|
OUTBOUNDTYPE
Rows representing segments of outbound contact types. |
|
OUTBOUNDTYPEAGENTGROUP
Rows representing outbound contact types/agent group pairs. |
|
WAITINGQUEUE
Rows representing waiting queues. |
Method Summary | |
---|---|
abstract int |
count(ContactCenterInfo eval)
Returns the usual number of rows in a matrix of performance measures with rows of this type estimated by the evaluation system eval. |
abstract String |
getName(ContactCenterInfo eval,
int row)
Returns the name associated with the row row in a matrix of results for this type of row estimated by eval. |
abstract Map<String,String> |
getProperties(ContactCenterInfo eval,
int row)
Returns the properties associated with row row. |
abstract String |
getTitle()
Returns the title that should identify the rows of matrices of results for this type of row. |
boolean |
isContactType()
Determines if this row type corresponds to contact types. |
boolean |
isContactTypeAgentGroup()
Determines if this row type corresponds to (contact type, agent group) pairs. |
RowType |
toContactType()
Reverse of toContactTypeAgentGroup() . |
RowType |
toContactTypeAgentGroup()
Returns the equivalent of this row type for pairs with agent groups. |
RowType |
toInboundType()
Converts this row type to a row type representing inbound contact types. |
RowType |
toInboundTypeAWT()
Similar to toInboundType() , but converts
to inbound contact type with acceptable waiting times. |
RowType |
toOutboundType()
Converts this row type to a row type representing outbound contact types. |
static RowType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RowType[] |
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 RowType INBOUNDTYPE
public static final RowType INBOUNDTYPEAWT
INBOUNDTYPE
, except
that there is one group of rows for each matrix of acceptable waiting
times.
More specifically, if there are
public static final RowType OUTBOUNDTYPE
public static final RowType CONTACTTYPE
public static final RowType INBOUNDTYPEAGENTGROUP
public static final RowType INBOUNDTYPEAWTAGENTGROUP
INBOUNDTYPEAGENTGROUP
, except that there is one group of rows
for each matrix of acceptable waiting times. More specifically, if there
are
public static final RowType OUTBOUNDTYPEAGENTGROUP
public static final RowType CONTACTTYPEAGENTGROUP
public static final RowType WAITINGQUEUE
public static final RowType AGENTGROUP
Method Detail |
---|
public static RowType[] values()
for (RowType c : RowType.values()) System.out.println(c);
public static RowType 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 boolean isContactType()
INBOUNDTYPE
,
INBOUNDTYPEAWT
,
OUTBOUNDTYPE
, or
CONTACTTYPE
.
public boolean isContactTypeAgentGroup()
INBOUNDTYPEAGENTGROUP
,
INBOUNDTYPEAWTAGENTGROUP
,
OUTBOUNDTYPEAGENTGROUP
, or
CONTACTTYPEAGENTGROUP
.
public RowType toInboundType()
INBOUNDTYPE
if this row type
corresponds to CONTACTTYPE
, and
INBOUNDTYPEAGENTGROUP
if this
row type corresponds to CONTACTTYPEAGENTGROUP
.
Otherwise, throws an illegal-argument exception.
public RowType toInboundTypeAWT()
toInboundType()
, but converts
to inbound contact type with acceptable waiting times.
Returns INBOUNDTYPEAWT
if this row type
corresponds to CONTACTTYPE
, and
INBOUNDTYPEAWTAGENTGROUP
if this
row type corresponds to CONTACTTYPEAGENTGROUP
.
Otherwise, throws an illegal-argument exception.
public RowType toOutboundType()
OUTBOUNDTYPE
if this row type
corresponds to CONTACTTYPE
, and
OUTBOUNDTYPEAGENTGROUP
if this
row type corresponds to CONTACTTYPEAGENTGROUP
.
Otherwise, throws an illegal-argument exception.
public RowType toContactTypeAgentGroup()
INBOUNDTYPEAGENTGROUP
if this row type is
INBOUNDTYPE
,
CONTACTTYPEAGENTGROUP
if this row type is
CONTACTTYPE
, etc.
public RowType toContactType()
toContactTypeAgentGroup()
.
For example,
this returns INBOUNDTYPE
if this row type is
INBOUNDTYPEAGENTGROUP
,
CONTACTTYPE
if this row type is
CONTACTTYPEAGENTGROUP
, etc.
public abstract String getTitle()
AGENTGROUP
.
public abstract String getName(ContactCenterInfo eval, int row)
INBOUNDTYPE
and row 0, it may
return inbound type 0.
eval
- the contact center evaluation object.row
- the row index.
public abstract Map<String,String> getProperties(ContactCenterInfo eval, int row)
eval
- the evaluation system.row
- the row 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 |