登录
首页 » Windows开发 » 在 C# 中的迷宫求解 (最短路径)

在 C# 中的迷宫求解 (最短路径)

于 2023-05-25 发布 文件大小:84.71 kB
0 287
下载积分: 2 下载次数: 1

代码说明:

介绍了一个简单的技术,以找到一个 2D 的迷宫中两点间最短路径。类似的应用程序在这种情况下使用图,但本文将展示如何,这可以没有头痛的图。它使用类似于广度优先搜索技术。MazeSolver 类商店迷宫作为一个二维整数数组的值 "0" 开放 (可用) 节点和非零这对已关闭的节点 (墙)。如果某条路径将被发现,一种新的二维整数数组创建的路径 PathCharacter 其默认值是 "100"。类也可以跟踪对角的路径,如果它允许这样做 贯穿这篇文章,我们将使用"节点"来引用矩阵 (二维整数数组表示一个迷宫) 的元素。我假设读者是熟悉图和它的术语 (边缘、 节点等)。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • text retrieval procedures, the longest match, can immediately find all the sente...
    全文检索程序,最长匹配,可以立刻找到所有出现的句子,需要语料库,(例如人民日报)。-text retrieval procedures, the longest match, can immediately find all the sentences need to Corpus (for example, the People"s Daily).
    2023-03-15 21:30:03下载
    积分:1
  • 常用的软件来记忆英语单词都是基于不好理解的。
    一般常用的英语背诵软件都是以单词为主,不能很好的理解英语句子的结构,而"英语句子通"能帮你实现整句的背诵,而且有整句的即时语音,中国人学英语往往注重背单词,而忽略了句子,往往达不到说一口流利英语的效, "英语句子通"的出现弥补了这个空白。 附了NewConcept第一册的部分句子(mdb数据库形式,不加密),可以自己添加。 软件要求:window系列平台,微软语音引擎(如装了金山词霸就可以了) 需vb6运行库,ado引擎。 注:附全部vb源代码!!! -commonly used software to memorize English words are based not well understood English sentence structure, "English sentence-" can help you achieve recitation of sentence, but the sentence instant voice, the Chinese people tend to focus on learning English words back, while ignoring the sentence, often fail Fluent in English, said the effect, "English sentence links" can make up this gap. A list of NewConcept the first part of the sentence (mdb database form and encryption), it will add its own. Software requirements : window Series platform, Microsoft Speech engine (such as installing a free email can be a) need VB6 runtime, ado engine. Note : A full vb source code! ! !
    2022-02-04 15:51:03下载
    积分:1
  • FatFs /小
    The FatFs/Tiny-FatFs module is opened for education, reserch and development. fat file.You can use, modify and republish it for personal, non-profit or profit use without any limitation under your responsibility.
    2022-07-19 12:04:21下载
    积分:1
  • 一个图标编辑源程序,实现了图标的编辑。用的是vb语言。
    一个图标编辑源程序,实现了图标的编辑。用的是vb语言。-an icon editing source code, achieving icon editor. The language is vb.
    2022-08-16 18:11:08下载
    积分:1
  • 用NOKIA手机发短消息的VB源程,采用VB开发!仅供参考!
    用NOKIA手机发短消息的VB源程,采用VB开发!仅供参考!-Nokia phones send text messages using the VB source way, using VB! Only reference!
    2022-03-12 03:25:35下载
    积分:1
  • In The Art of Project Management, you ll learn from a veteran manager of softwar...
    In The Art of Project Management, you ll learn from a veteran manager of software and web development how to plan, manage and lead projects. This personal account of hard lessons learned over a decade of work in the industry distills complex concepts and challenges into practical nuggets of useful advice. Inspiring, funny, honest, and compelling, this is the book you and your team need to have within arms reach. It will serve you well with your current work, and on future projects to come.
    2022-07-18 07:55:20下载
    积分:1
  • 宾馆客房管理系统
    宾馆客房管理系统-Hotels Rooms Management System
    2022-06-11 12:32:01下载
    积分:1
  • This sample demonstrates how to use callback procedures when calling asynchro...
    This sample demonstrates how to use callback procedures when calling asynchronous Vix functions.
    2022-07-26 17:43:46下载
    积分:1
  • 一个用c++编写的网页程序,可以作为大家的学习
    一个用c++编写的网页程序,可以作为大家的学习-Using a web page written in c++ program can be used as our learning
    2022-03-15 22:38:37下载
    积分:1
  • 监视浏览器的上网时间
    监视浏览器的上网时间-surveillance browser Internet
    2023-02-01 22:30:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载