-
主要实现对汽车进入驶出停车场的仿真。当汽车进入时,要判断该车所持卡号是否为合法卡,以及场中是否有空位决定该车能否出入。同理当车驶出时,要看该车卡号是否合法,能否...
主要实现对汽车进入驶出停车场的仿真。当汽车进入时,要判断该车所持卡号是否为合法卡,以及场中是否有空位决定该车能否出入。同理当车驶出时,要看该车卡号是否合法,能否驶出。以及,在进入驶出时,行车道上是否有车辆行驶冲突,从而决定让道操作。-The main exit of the car into the parking lot of the simulation. When the car enters, it is necessary to judge whether the car
- 2023-03-26 13:30:03下载
- 积分:1
-
八皇后VC图形演示,算法思想:回溯法,先在第1行放上一个皇后,然后在第2行合适的位置放上一个皇后,依次类推,如果8行都放满了,说明找到了一个解,如果第好第i行的...
八皇后VC图形演示,算法思想:回溯法,先在第1行放上一个皇后,然后在第2行合适的位置放上一个皇后,依次类推,如果8行都放满了,说明找到了一个解,如果第好第i行的皇后后,第i+1行找不到合适的位置,这时就回到第i行,把第i行的皇后放到下一个位置,继续尝试下一行。如此反复,知道找到所有的解。注意,这种算法找的解可能有等价的,某些解可由别的解经过旋转棋盘得到。-visual demostration in vc of eight queens problem.
algorithm: backtracking.
First, put a queen on first line then find a suitable position on 2nd line for next queen, and so on. When all eight lines have queens, it means we have find a solution. If we put the i-th queen, but can find a suitable position on the (i+1)th line, then back to the ith line and move the queen on the ith line to next suitable position and move on to the next line. Repeat this until we have found all the solutions. Note:By this mean, some solutions maybe equivalent to others, some can be acquired by the rotation of other solutions.
- 2022-03-23 15:20:19下载
- 积分:1
-
简捷有效的小键盘指法练习软件,现提供软件和源码下载。
小键盘数字键练习工具,程序小巧实用。每次随机产生10~25个数字,只能接受小键盘的数字键输入。输入完...
简捷有效的小键盘指法练习软件,现提供软件和源码下载。
小键盘数字键练习工具,程序小巧实用。每次随机产生10~25个数字,只能接受小键盘的数字键输入。输入完成后按回车即产生新的一组数字。程序带有计时,计速度的功能,可以作为你练习小键盘数字键的辅助工具。
打开程序后,直接敲击回车就可以开始计时了,请使用小键盘来输入数字!软件只能接受小键盘的数字按键和回车键,其他按键不响应。-Simple and effective exercises small keyboard fingering software, now offers software and source code download. Keypad number keys practice tools, procedures and practical compact. Randomly generated for each 10 ~ 25 figures, accepted only a small number keys keyboard input. Input that is, press enter after the completion of a new one set of figures. Procedures with time, including the speed function, can be used as you practice the number keys of keypad aids. Open process, a direct hit Enter to start the timer, use the small keyboard to enter a number! Software can only accept a small number of keyboard keys and the enter key, other keys do not respond.
- 2022-07-03 18:39:19下载
- 积分:1
-
a cd player procedures
一个cd播放器的程序-a cd player procedures
- 2022-03-28 18:44:18下载
- 积分:1
-
这是C++程序的Bellman-Ford算法
this is c++ program for bellman ford algorithm
- 2022-06-28 02:01:13下载
- 积分:1
-
jsp网上商城
一、系统开发环境为myEclipse,应用服务器为Tomcat,数据库环境为同时兼容MySql5.0、 Sqlserver2000、Sqlserver2005和Oracle,方便您选择和移植。二、系统采用B/S架构,开发同时通过IE、FireFox和Chrome等主流浏览器测试,使系统UI具备较强的兼容性。Web前台使用到的技术包括HTML、CSS等。三、系统采用struts+servlet+jsp架构进行开发,沿用MVC思想,使得项目层次更加清晰,提高了系统的安全性和可扩展性,方便功能扩展与二次开发。
- 2023-06-15 14:35:11下载
- 积分:1
-
some simple Java source code for all to share, we learn from each other
一些简单的JAVA源码,供大家分享,大家互相学习-some simple Java source code for all to share, we learn from each other
- 2022-09-01 12:05:03下载
- 积分:1
-
基于openCv的图像处理,相似图像识别和提取!
资源描述基于openCv的图像处理,相似图像识别和提取!运行时需要安装opencv。
- 2022-08-09 07:25:53下载
- 积分:1
-
用C语言实现死锁检测
用C语言实现死锁检测-C language Deadlock Detection
- 2022-02-01 15:35:48下载
- 积分:1
-
AODV 工作源代码
AODV 是一种按需路由协议。它从数目的路径选择最短路径。它包括三个阶段: RREQ 路由请求、 RREP 路由答复和 RRER 错误消息路由。存储节点将播出自己的 id 给邻居使用你好消息。您可以检查源代码在 ns2 文件夹 aodv.cc 和 aodv.h 来获取关于这个专题的详细信息。AODV 包含四个表,即,AODV 的邻居表、 AODV 前体列表、 AODV 广播的 ID 表和 AODV 路由表。Neighbortable 用来存储任何节点的邻居的 ID。以上就是描绘了相邻表的类,它具有公共的 andprotected 成员。在公共成员就只有一个成员函数 "AODV_Neighbour" 是实际上是一个构造函数,它 initializethe 变量 "nb_addr" 创建类实例时。它是由两个组成的 inprotected 的成员变量 1) nb_addr 和 2) nb_expire。这两个变量是商店的邻居表中。第是邻居地址,第二个是到期时间为基于。这些表或类是保持运行 AODV 协议的 thetopology 中的所有节点。Precursorlist 维护 RREQ 源和 RREQ 目的地 whilegiving 答复到源的 id。它定期删除该条目。BroadcastIdclass 是 SourceAdress(nsaddr_t src),Currentnode"Id (u_int32_t id) 的存储并使其过期时间,播出的 idrecord。在 AODV 协议源启动 RREQ 数据包时它 willbroacast 在自然和 RREQ 数据包还有一个 rq-> rq_bcast_id 的字段代表当前 RREQ 广播 id 值。所以 whileforwarding RREQ 数据包的每个节点维护此表,因此 calledBroadcastID 表的处理广播请求数据包。像所有无功的协议,在 AODV,哲学是由节点点播只传播拓扑信息。当一个节点要传输到对没有路由的主机通信时,它将生成将会被淹没一个有限的方式到其他节点的 re
- 2022-05-05 17:04:43下载
- 积分:1