print.summary_queue_list {queuecomputer} | R Documentation |
Print method for output of summary.queue_list
.
Description
Print method for output of summary.queue_list
.
Usage
## S3 method for class 'summary_queue_list'
print(x, ...)
Arguments
x |
an object of class |
... |
further arguments to be passed to or from other methods. |
Value
A list of performance statistics for the queue:
"Total customers": Total customers in simulation,
"Missed customers": Customers who never saw a server,
"Mean waiting time": The mean time each customer had to wait in queue for service,
"Mean response time": The mean time that each customer spends in the system (departure time - arrival time),
"Utilization factor": The ratio of available time for all servers and time all servers were used. It can be greater than one if a customer arrives near the end of a shift and keeps a server busy,
"Mean queue length": Average queue length, and
"Mean number of customers in system": Average number of customers in queue or currently being served.
Examples
n <- 1e3
arrivals <- cumsum(rexp(n, 1.8))
service <- rexp(n)
queue_obj <- queue_step(arrivals, service, servers = 2)
summary(queue_obj)