Multiserver: Multiserver

Description Usage Arguments Value Examples

View source: R/Multiserver.R

Description

Simulates how customers in line at the bank go through a "first come first serve" queuing system as long as their arrival and service times have already been predetermined.

Usage

1
Multiserver(Arrivals, ServiceTimes, NumServers = 1)

Arguments

Arrivals

Number of Customer Arrivals

ServiceTimes

How long a customer's service takes.

NumServers

The number of servers currently working. This will always be an integer.

Value

Either a table or single tuple containing the arrivals, service start/end time and the number of servers

Examples

1
Multiserver(Arrivals = bank$arrival_time, ServiceTimes = bank$service_time, 5)

MQ-STAT1378/assignment2-question2-caitlinapcar documentation built on Dec. 17, 2021, 2:12 a.m.