Bus Simulation in C++

This project was successfully completed by xeathprynx for $39 USD in a day.

Get free quotes for a project like this
Employer working
Completed by:
Project Budget
$25 - $40 USD
Completed In
1 day
Total Bids
Project Description

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.


Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online