首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于C#.NET的交通灯管理仿真
引用本文:钱萌,程树林,叶家鸣.基于C#.NET的交通灯管理仿真[J].吉林大学学报(信息科学版),2007,25(1):103-109.
作者姓名:钱萌  程树林  叶家鸣
作者单位:安庆师范学院,计算机与信息学院,安徽,安庆,246011;安庆师范学院,计算机与信息学院,安徽,安庆,246011;安庆师范学院,计算机与信息学院,安徽,安庆,246011
基金项目:安徽省高等学校省级重点教学研究基金 , 安徽省教育厅自然科学基金
摘    要:针对给定的两交叉路口交通灯管理问题,研究其数学模型并通过C#.NET进行仿真。已知约束条件为距离是L的两交叉路口,车流服从均匀分布,汽车相继到达时间服从指数分布。首先分析问题要求并作相应的基本假设,在保证两个交叉路口汽车平均等待时间最少的目标下,根据约束条件推导红绿灯周期计算公式得出数学模型,包括模型的5个输入参数和一组输出量。在C#.NET环境下,应用面向对象和多线程编程理论,设计了模型的主要对象类和仿真程序,列举了一组参数的具体仿真实例,得到东西交叉路口的红绿灯周期,验证和满足了汽车运行时服从两种分布的约束。同时给出了其他多组参数的仿真结果表。

关 键 词:交通灯管理  数学模型  概率分布  仿真
文章编号:1671-5896(2007)01-0103-07
修稿时间:2006年11月6日

Simulation of Traffic Lights Management Based on C#.NET
QIAN Meng,CHENG Shu-lin,YE Jia-ming.Simulation of Traffic Lights Management Based on C#.NET[J].Journal of Jilin University:Information Sci Ed,2007,25(1):103-109.
Authors:QIAN Meng  CHENG Shu-lin  YE Jia-ming
Abstract:The mathematical model and simulation based on C#.NET are studied for the two given crossroads traffic lights management problem.The constraints of the problem are that each car flow is uniformity distributing and the coming-time of car is index distributing,for the two crossroads with distance of L.First,the requirement of question is analyzed and the corresponding hypotheses are given.Then the mathematical model is attained by deducing the red and green lights cycles and ensuring the lowest average waiting time of cars at the two crossroads,including five input parameters of model and one group of output parameters.The simulation programs of the model and the main classes are designed by using O.O.(Objected-Oriented) and multithread theory in the C#.NET circumstance.Lastly,the concrete simulation examples are demonstrated with one group of parameters,and the corresponding results of the red and green lights cycles of east and west crossroads can well verify and satisfy the constraints of the two distributings,when the cars are running on the roads.Also,the table of other parameters'examples is attached.
Keywords:traffic lights management  mathematics model  probability distribution  simulation
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号