Bus simulation in c++
Write a bus simulation in c++. The purpose of the simulation is to observe the behavior of the system, and answer the following questions: [url removed, login to view] the distance between the buses keep uniform? If not, what should be done to ensure it is uniform? [url removed, login to view] is the average size of a waiting queue at each stop (and what are its maximum and minimum)? (You may provide this information on an hourly [simulation time] base.)
Plot the positions of buses as a function of time (you will need to generate periodic snapshots of the system for that). You can use these parameters:
• 15 bus stops
• 5 buses
• The time to drive between any two contiguous stops is 5 minutes
• The passenger’s mean arrival rate at each stop is 5 persons/min
• The boarding time is 2 seconds for each passenger
• The total simulation time is 8 hours.
Use c++ for this program. Looking for the code in working order.
Hi i'm software engineer and expert c++ developer. I have experience in developing OS projects related to resource sharing. Please contact me i can do this project for you. Regards Usman Shery
Hi. I'm a programmer from Russia with strong skills in C++. You can see the full list of my skills on my profile page. If you're interested, feel free to contact me. All the best, Sergey.