-
在 C# 中的迷宫求解 (最短路径)
介绍了一个简单的技术,以找到一个 2D 的迷宫中两点间最短路径。类似的应用程序在这种情况下使用图,但本文将展示如何,这可以没有头痛的图。它使用类似于广度优先搜索技术。MazeSolver 类商店迷宫作为一个二维整数数组的值 "0" 开放 (可用) 节点和非零这对已关闭的节点 (墙)。如果某条路径将被发现,一种新的二维整数数组创建的路径 PathCharacter 其默认值是 "100"。类也可以跟踪对角的路径,如果它允许这样做
贯穿这篇文章,我们将使用"节点"来引用矩阵 (二维整数数组表示一个迷宫) 的元素。我假设读者是熟悉图和它的术语 (边缘、 节点等)。
- 2023-05-25 08:05:03下载
- 积分:1
-
加快互联网工具和源代码,感觉很好的程序,很好的学习…
上网加速工具与源代码,感觉不错的程序,有着很好的学习价值,-accelerate Internet tools and source code, feeling good procedures, the good learning value,
- 2022-05-17 11:25:48下载
- 积分:1
-
简单的算法的三维表示,和绘图向量场的例子。
easy algorithm to 3d representation, and example of plotter vector fields.-easy algorithm to 3d representation, and example of plotter vector fields.
- 2022-02-16 06:17:44下载
- 积分:1
-
c#图像编程的基础和一些实用的小例子,对打算做图像的朋友会有帮助...
c#图像编程的基础和一些实用的小例子,对打算做图像的朋友会有帮助
- 2022-06-11 18:18:42下载
- 积分:1
-
A custom button header files, the button automatically displays the features des...
自定义按钮的头文件,按钮上面自动显示功能描述。可以重载自己的按钮。-A custom button header files, the button automatically displays the features described above. You can override its own button.
- 2023-07-23 05:45:03下载
- 积分:1
-
time can be set for automatic shutdown
设定时间可实现自动关机-time can be set for automatic shutdown
- 2022-01-26 15:10:20下载
- 积分:1
-
C++Builder计算器
C++Builder计算器-C Builder Calculator
- 2022-10-08 16:00:02下载
- 积分:1
-
考勤管理系统VC源码,经本人测试程序可以运行。共编程爱好者交流使用...
考勤管理系统VC源码,经本人测试程序可以运行。共编程爱好者交流使用-Attendance Management System VC-source, after I can run a test procedure. A total exchange of the use of programming enthusiasts
- 2022-01-24 10:15:00下载
- 积分:1
-
design patterns VC example, can be used to study design patterns. I feel very us...
设计模式的VC例子,可以用于学习设计模式。我自己觉得很有用。这个是Build模式-design patterns VC example, can be used to study design patterns. I feel very useful. This is the Build Model
- 2022-07-08 07:45:55下载
- 积分:1
-
一个不错的字体类,大家可以下载来看看。
一个不错的字体类,大家可以下载来看看。-The CAutoFont class was designed to eliminate the constant, tedious task of filling a LOGFONT structure everytime you need to create or use a font. It was designed to make font manipulation a simple task
- 2022-08-15 04:58:01下载
- 积分:1