|
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.trace.ExcelContactTrace
public class ExcelContactTrace
Outputs trace to an Excel spreadsheet using JExcel API.
Field Summary |
---|
Fields inherited from interface umontreal.iro.lecuyer.contactcenters.app.trace.ContactTrace |
---|
OUTCOME_ABANDONED, OUTCOME_BLOCKED, OUTCOME_FAILED, OUTCOME_SERVED |
Constructor Summary | |
---|---|
ExcelContactTrace(File traceFile,
String sheetName)
Creates a new call trace to a spreadsheet sheetName in an Excel file named traceFile. |
Method Summary | |
---|---|
void |
close()
Closes the trace facility after a simulation. |
void |
init()
Initializes the tracing mechanism. |
void |
writeHeader()
|
void |
writeLine(int step,
int type,
int period,
double arvTime,
double queueTime,
String outcome,
int group,
double srvTime)
Writes a new line in the trace representing a simulated contact. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExcelContactTrace(File traceFile, String sheetName)
traceFile
- the output trace file.sheetName
- the name of the sheet name containing the trace.Method Detail |
---|
public void init()
ContactTrace
init
in interface ContactTrace
public void close()
ContactTrace
close
in interface ContactTrace
public void writeHeader()
public void writeLine(int step, int type, int period, double arvTime, double queueTime, String outcome, int group, double srvTime)
ContactTrace
Double.NaN
if the information does not exist. For example,
a blocked or abandoned call does not have a serving agent group, or
a service time.
writeLine
in interface ContactTrace
step
- the step, in the experiment, during which the call occurred.type
- the type of the call.period
- the period of arrival of the call.arvTime
- the arrival time.queueTime
- the time spent by the call in the queue.outcome
- the outcome of the call.group
- the group of the serving agent.srvTime
- the service time of the call.
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |