-
在 C# 中的迷宫求解 (最短路径)
介绍了一个简单的技术,以找到一个 2D 的迷宫中两点间最短路径。类似的应用程序在这种情况下使用图,但本文将展示如何,这可以没有头痛的图。它使用类似于广度优先搜索技术。MazeSolver 类商店迷宫作为一个二维整数数组的值 "0" 开放 (可用) 节点和非零这对已关闭的节点 (墙)。如果某条路径将被发现,一种新的二维整数数组创建的路径 PathCharacter 其默认值是 "100"。类也可以跟踪对角的路径,如果它允许这样做
贯穿这篇文章,我们将使用"节点"来引用矩阵 (二维整数数组表示一个迷宫) 的元素。我假设读者是熟悉图和它的术语 (边缘、 节点等)。
- 2023-05-25 08:05:03下载
- 积分:1
-
Using vb development, access databases, realize the books to register and to bor...
用vb开发,access数据库,实现了图书登记,借阅查询;读者登记,会员查询等功能-Using vb development, access databases, realize the books to register and to borrow inquiries reader registration, membership inquiries and other functions
- 2022-07-21 06:37:18下载
- 积分:1
-
Vb.net电子书
Vb.net电子书,里面详细介绍了基本语法介绍,各种控件的使用说明,以及如何开发windowsAPI程序,对于学习VB编程的人来说,这是一本非常不错的资料。
- 2022-01-30 21:44:37下载
- 积分:1
-
这个样本是在华盛顿软件协会赢得的阶段发展的…
This sample was developed on stage at the Washington Software Association s WinSIG meeting on the ninth of September, 1996 using Visual C++ 4.2.
- 2022-06-14 04:45:35下载
- 积分:1
-
用户输入十个数据,能够计算他们的平均值,方差,均方根
用户输入十个数据,能够计算他们的平均值,方差,均方根-10 user input data, to calculate their average, variance, root-mean-square
- 2022-01-25 15:44:20下载
- 积分:1
-
an online examination system, can be logged to register for the examination, the...
一个在线考试系统,进行注册登录即可进行考试,采用了线程-an online examination system, can be logged to register for the examination, the use of threads
- 2022-05-12 18:20:43下载
- 积分:1
-
利用函数重载实现的c++日志库
自己实现的日志库,使用宏定义输出一系列的重载函数仅支持3个及3个以内的参数个数。参数类型可为int和char×参考了SAStatusLog的实现。但是基本不一样的
- 2023-06-19 23:55:03下载
- 积分:1
-
this file is for camer in the windows mobie device pda.
this file is for camer in the windows mobie device pda.
- 2022-01-26 01:15:55下载
- 积分:1
-
用API写的音频捕捉与播放程序,结构简单,容易重用
用API写的音频捕捉与播放程序,结构简单,容易重用-this pragram is use api to captrue and playing sound,the contruction easy,and also easy to reuse
- 2022-04-30 12:37:00下载
- 积分:1
-
Finishing some delphi development of a number of frequently used function
整理的一些delphi 开发中中经常用到一些函数-Finishing some delphi development of a number of frequently used function
- 2022-06-28 10:03:05下载
- 积分:1