https://github.com/fbiego/simulation
Single server single queue simulation using java
https://github.com/fbiego/simulation
Last synced: 3 months ago
JSON representation
Single server single queue simulation using java
- Host: GitHub
- URL: https://github.com/fbiego/simulation
- Owner: fbiego
- Created: 2019-07-25T11:29:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-09-24T10:41:15.000Z (about 4 years ago)
- Last Synced: 2025-05-07T12:47:06.149Z (7 months ago)
- Language: Java
- Homepage:
- Size: 8.79 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# simulation
## Question
Write a C or Java program to implement the single queue single server discrete event
simulation model with 1000 runs. Assume the inter arrival and service times are
distributed as exponential random variables with mean 1 minute for the inter arrival
times and mean 0.5 minute for the service times. Output the three measures of
performance namely;
- the average delay in queue
- the average number of customers in queue
- the proportion of time the server is busy.
## How to run
- Open cmd in the Queue.java path
- Compile ```javac Queue.java```
- Run ```java Queue```