已完成

Bus Simulation in C++

该项目成功由xeathprynx ,以 $39 USD的价钱在 天内完成。

为像这样的项目获取免费报价
雇主工作
项目预算
$25 - $40 USD
完成于
1 天
全部竞标
11
项目描述

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.

.

完成:

在寻找赚取金钱的机会?

  • 设定您的预算和时间框架
  • 大致描述您的建议方案
  • 为您的工作领取工资

雇用同样在该项目上竞标的威客

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