加入收藏 | 设为首页 | RSS
您当前的位置:首页 > 工业应用 > 交通业
源码名称: TEST1
文件类型: .rar
源码类型: Visual C++
源码分类: transportation applications
文件大小: 644 KB
热    度:
源码作者 : 露露
整理时间: 2013-03-02
源码简介: 停车场管理系统:停车场拥有M个车位和一条进入停车场的便道,便道上最多停放N辆汽车。汽车要想进入车位,首先进入便道等候。若有空闲车位,则停车入位,否则在便道继续等候,直至有车位空出。若便道已经停满等候的汽车,后到达的汽车只能离开,选择其他停车场。设计一个停车场管理系统,模拟停车场的运作,并统计停车场的收入。M=30,N=5,以1小时为时间的最小单位,每小时停车费30元,每小时到达的车辆数目在0-20辆之间均匀分布,车辆停留1小时后离开的概率是25 ,每多停留1小时后离开概率增加25 ,4小时后一定要离开。一天以24小时计算。-Parking Management System: parking spaces and one with M the sidewalk into the parking lot, parked up on the sidewalk N cars. To enter the car parking spaces, first into the pavement waiting. If free parking, the parking into place, or in the sidewalk to wait until the needed spot. If the sidewalk is already full of parked cars waiting, after the arrival of the vehicle to leave, choose a parking lot. Designing a car park management systems, simulation parking operations and parking revenue statistics.M = 30, N = 5, with 1 hour smallest unit of time, the hourly parking fee $ 30 per hour reach the number of vehicles in the 0-20 evenly distributed between the vehicles, the vehicle left the residence after 1 hour the probability is 25 , 1 hour per stay away more than 25 probability, 4 hours after going to leave. One day in 24-hour calculation.

下载地址: [ 下载地址1 ]
相关源码:
  • test1
  • test1
  • Test1107pack
  • test1
  • test1

  • 分    享 :
    分享到:
    发表评论 共有条评论
    验证码:
    最新更新
    热门点击