-
在 C# 中的迷宫求解 (最短路径)
介绍了一个简单的技术,以找到一个 2D 的迷宫中两点间最短路径。类似的应用程序在这种情况下使用图,但本文将展示如何,这可以没有头痛的图。它使用类似于广度优先搜索技术。MazeSolver 类商店迷宫作为一个二维整数数组的值 "0" 开放 (可用) 节点和非零这对已关闭的节点 (墙)。如果某条路径将被发现,一种新的二维整数数组创建的路径 PathCharacter 其默认值是 "100"。类也可以跟踪对角的路径,如果它允许这样做
贯穿这篇文章,我们将使用"节点"来引用矩阵 (二维整数数组表示一个迷宫) 的元素。我假设读者是熟悉图和它的术语 (边缘、 节点等)。
- 2023-05-25 08:05:03下载
- 积分:1
-
很有意思的小游戏
很有意思的小游戏-very interesting little game
- 2022-05-17 12:08:46下载
- 积分:1
-
学生运动会成绩数据库
每个功能的实现均以函数形式实现,系统结构清晰,有必要的注释和说明。数据结构设计合理,系统各项功能以菜单形式进行选择。...
学生运动会成绩数据库
每个功能的实现均以函数形式实现,系统结构清晰,有必要的注释和说明。数据结构设计合理,系统各项功能以菜单形式进行选择。-Student Games results database realize each function are in the form of the realization of function, system structure clear, it is necessary annotations and notes. Data structure design is reasonable, the system functions in the form of menu choices.
- 2022-09-05 17:10:02下载
- 积分:1
-
wages of the original executable code are still in hope you like! The good
工资管理的原代码 还有可执行文件都在 希望大家喜欢! 很好用的-wages of the original executable code are still in hope you like! The good
- 2022-04-24 03:04:11下载
- 积分:1
-
一个C++迷宫游戏的源码及迷宫地图文件 从文件读取迷宫,键盘控制移动方向,显示步数和碰壁次数,同步显示移动的当前位置,到达出口后显示祝贺信息,迷宫地图可在文件中...
一个C++迷宫游戏的源码及迷宫地图文件 从文件读取迷宫,键盘控制移动方向,显示步数和碰壁次数,同步显示移动的当前位置,到达出口后显示祝贺信息,迷宫地图可在文件中更改。-A C++ source code and the maze game maze maze map files to read from a file, the keyboard control the direction of movement, showing the number of steps, and rebuffed the number of simultaneous display moving the current location, after the show to congratulate the arrival of export information, maze maps are available in the document changes.
- 2022-12-06 06:55:02下载
- 积分:1
-
使用递归方法计算九宫图,虽然程序很小,但很精确。值得一看。...
使用递归方法计算九宫图,虽然程序很小,但很精确。值得一看。
-Nine-palace calculated using the recursive map, although the procedure is very small, but very accurate. Worth a visit.
- 2023-03-16 12:25:03下载
- 积分:1
-
简单聊天室软件,有客户端和服务器端,比较简单
简单聊天室软件,有客户端和服务器端,比较简单-Simple chat room software, the client and server-side, relatively simple
- 2023-02-03 19:25:04下载
- 积分:1
-
" C++ university courses," Chapter 24, the contents of the source code...
《C++大学教程》 24章源代码例子 光盘内容-" C++ university courses," Chapter 24, the contents of the source code examples of CD-ROM
- 2022-02-12 16:28:14下载
- 积分:1
-
模拟光纤中的交叉相位调制称为系统的非线性效应…
Simulates nonlinear effect in optical fiber called Cross Phase Modulation for symmetric regime
- 2023-08-07 09:30:03下载
- 积分:1
-
本地数据上传数据库
抓取本地电脑TXT或EXCEL或ACCESS中的数据至数据库中
- 2022-03-22 11:35:13下载
- 积分:1