|
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.app.ServiceLevelParamReadHelper
public class ServiceLevelParamReadHelper
Provides helper methods used to read AWT and target
service level information from ServiceLevelParams
objects.
Constructor Summary | |
---|---|
ServiceLevelParamReadHelper(ServiceLevelParams slp,
Date startingDate,
TimeUnit unit)
Constructs a new service level parameter reader from the parameters stored in slp. |
Method Summary | |
---|---|
Duration |
getAwt(int k,
int mp)
Returns the acceptable waiting time for contacts of type k counted during period mp. |
double |
getAwt(int k,
int mp,
TimeUnit unit)
Converts the result of getAwt(int,int)
into the time unit unit. |
double |
getAwtDefault(int k,
int mp)
Returns the AWT in the default time unit. |
int |
getColumns()
Returns the number of columns in the matrix, i.e., the number of main periods. |
String |
getName()
Returns the name associated with this matrix. |
int |
getRows()
Returns the number of rows in the matrices, i.e., the number of contact types. |
double |
getTarget(int k,
int mp)
Returns the target service level for contacts of type k counted during main period mp. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceLevelParamReadHelper(ServiceLevelParams slp, Date startingDate, TimeUnit unit)
slp
- the service level parameters.startingDate
- the starting date used to transform durations
to times in milliseconds.Method Detail |
---|
public String getName()
public int getRows()
public int getColumns()
public Duration getAwt(int k, int mp)
k
- the contact type.mp
- the main period.
public double getAwt(int k, int mp, TimeUnit unit)
getAwt(int,int)
into the time unit unit.
k
- the contact type.mp
- the main period.unit
- the time unit.
public double getAwtDefault(int k, int mp)
k
- the contact type.mp
- the main period.
public double getTarget(int k, int mp)
k
- the contact type.mp
- the main period.
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |