-
元胞自动机源码
1、可获得在不同车流密度下的单车道仿真结果,需要等待6-7分钟,如果想快速看结果则需要设置程序中的dt为0(程序中现设置为0.01).
2、可获得在不同车流密度下的双车道仿真结果,需要等待6-7分钟,如果想快速看结果则需要设置程序中的dt为0(程序中现设置为0.01).
3、可以进行在车流密度不变时的单车道或双车道仿真,但需要输入一些参数,可以按如下方式调用:[ v d p ] = multi_driveway( 100,2,1,0.01,1000 );,需要运行半分钟左右.
4、可以进行在车流密度不变时的单车道或双车道仿真,且不需要输入参数,直接运行即可(实际上就是调用了3的程序,只是参数已经设置好了)
常用参数说明(程序中也有部分说明):
nc:车道数目(1或2)
nl:车道长度
v:平均速度
d:换道次数(1000次)
p:车流密度
dt:仿真步长时间,决定了交通流图中元胞的状态变化速度
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-01-25 23:57:32下载
- 积分:1
-
Cui motives box speakers play music, although backward and primitive, but it is...
本程序是崔动机箱内扬声器进行播放音乐,虽然落后并且简陋,但是是我第一个比较满意的程序.(程序中有大部分为借鉴别人)-Cui motives box speakers play music, although backward and primitive, but it is my first one quite satisfied with the procedure. (Procedures are mostly from others)
- 2022-05-21 16:58:42下载
- 积分:1
-
扫描局域网电脑的情况.
扫描局域网电脑的情况.-LAN scanning of the computer.
- 2023-04-07 04:20:04下载
- 积分:1
-
long integer operations of four, with two
长整数的四则运算,用双向循环链表实现,堆分配存储-long integer operations of four, with two-cycle Chain achieve stacked memory allocation
- 2023-04-26 05:10:03下载
- 积分:1
-
这个等候对话框可以自由开始结束,并且等候对话框可以播放任何视频文件...
这个等候对话框可以自由开始结束,并且等候对话框可以播放任何视频文件-this dialog can be free pending the beginning of the end, and dialog can wait for the broadcast of any video files
- 2022-07-04 08:27:40下载
- 积分:1
-
一个小控件,在vc++6.0环境下编译测试通过
一个小控件,在vc++6.0环境下编译测试通过-a small component in vc 6.0 compiler environment through testing
- 2022-06-19 11:34:48下载
- 积分:1
-
1.在内存中开辟一个虚拟磁盘空间作为文件存储器,在其上实现一个简单的单用户文件系统。在退出这个简单的文件系统时,应将该虚拟文件系统保存到磁盘上,以便下次可以再将...
1.在内存中开辟一个虚拟磁盘空间作为文件存储器,在其上实现一个简单的单用户文件系统。在退出这个简单的文件系统时,应将该虚拟文件系统保存到磁盘上,以便下次可以再将它恢复到内存的虚拟磁盘空间中。 2.文件存储空间的分配可采用显式链接分配或其他的办法。 3.空闲空间的管理可选择位示图或其他的办法。如果采用位示图来管理文件存储空间,并采用显示链接分配方式,那么可以将位示图合并到FAT表中。 4.文件目录结构采用多级目录结构。为了简单起见,可以不使用索引结点,其中的每个目录项应包含文件名、物理地址、长度等.-1.making a virtual diskete memory as file storyge,in this district it can implement a simple single user file system .when quit this simple file system ,it shoud save the virtual file system to diskete,then it can be resumed to virtual diskete district in the memory.3.we can choose location hint map to manage the idle space or orther means.if we choose locationhint map to manage file saving space,and adopt show linking distribution mode,we can combine location hint map into FAT table.4.file directory confiuration adopts multilevel directory confiuration.to simplify,it doesn t use index dot,evrery term shoud include file name,physical dress and lenght.
- 2022-07-20 06:41:57下载
- 积分:1
-
基于API的录音机程序,包括数字音频基础知识,相关API函数,结构,消息及程序设计
基于API的录音机程序,包括数字音频基础知识,相关API函数,结构,消息及程序设计-API based on a tape recorder procedures, including basic knowledge of digital audio, related API function, structure, news and program design
- 2023-04-26 12:15:03下载
- 积分:1
-
VC++的插件,对编程的人很好。发现好东西大家一起分享啊!
VC++的插件,对编程的人很好。发现好东西大家一起分享啊!-VC++ The plug-in, people of good programming. Found good things to share with everyone ah!
- 2022-02-05 01:06:48下载
- 积分:1
-
used for the development of 3D screen saver for your screen more of a personalit...
用gloop库开发的3D屏幕保护程序 为你 的 屏幕多一份个性吧-used for the development of 3D screen saver for your screen more of a personality it
- 2022-10-11 03:40:03下载
- 积分:1