文件名称:trafficjava
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2008-10-13
- 文件大小:
- 26.79kb
- 下载次数:
- 1次
- 提 供 者:
- 行*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
设计一个交通信号灯类:
(1)变量:位置、颜色(红、黄、绿)、显示时间(秒)。
(2)方法:切换信号灯。
创建并启动两个线程(东西向、南北向)同时运行。
3.实验要求
(1)设计线程。
(2)设计路口信号灯示意图界面。
(3)进一步将每个方向的信号灯分成3种车道灯:左转、直行和右转。
(4)根据车流量进行时间的模糊控制。
-design of a traffic signal categories : (1) variables : location, color (red, yellow, green), indicating that time (seconds). (2) Method : Switch lights. Create and start two threads (to the East and West, North and the South to) the same time. 3. Experimental requirements (1) design thread. (2) design matrix interface signal junctions. (3) Further to the signal in each direction, divided into three lanes of lights : turn left, turn right and go straight. (4) According to vehicular traffic for the time of fuzzy control.
(1)变量:位置、颜色(红、黄、绿)、显示时间(秒)。
(2)方法:切换信号灯。
创建并启动两个线程(东西向、南北向)同时运行。
3.实验要求
(1)设计线程。
(2)设计路口信号灯示意图界面。
(3)进一步将每个方向的信号灯分成3种车道灯:左转、直行和右转。
(4)根据车流量进行时间的模糊控制。
-design of a traffic signal categories : (1) variables : location, color (red, yellow, green), indicating that time (seconds). (2) Method : Switch lights. Create and start two threads (to the East and West, North and the South to) the same time. 3. Experimental requirements (1) design thread. (2) design matrix interface signal junctions. (3) Further to the signal in each direction, divided into three lanes of lights : turn left, turn right and go straight. (4) According to vehicular traffic for the time of fuzzy control.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 119128664trafficjava.rar 列表 trafficlight.java road.jpg