2000字范文,分享全网优秀范文,学习好帮手!
2000字范文 > c语言迷宫算法设计 基于C语言的可连通迷宫算法设计及实现(毕业学术论文设计).doc...

c语言迷宫算法设计 基于C语言的可连通迷宫算法设计及实现(毕业学术论文设计).doc...

时间:2019-06-10 02:46:05

相关推荐

c语言迷宫算法设计 基于C语言的可连通迷宫算法设计及实现(毕业学术论文设计).doc...

可连通迷宫算法设计及实现

摘 要

随着科技的日益发展,计算机信息知识越来越被人们所认知和使用。在当今时代,计算机毫无疑问地已成为人们常用的日常工具,尤其在学习和娱乐两方面成为了网络的两大亮点。主要是因为网络提供了一个虚拟的环境,可以给人们提供一个开放性、快速、高效、自由等优点的平台,实现网上、网下育人相结合,促进人们整体素质的提高 。

本文通过C语言程序设计和数据结构等相关知识,设计一个可以生成可连通迷宫的算法,并实现该算法,设计恰当的数据结构来表示迷宫并且在Microsoft Visual C++6.0环境中,经过调试运行,实现设计目标。阐述了系统可连通迷宫的内容和要求,论证了该迷宫的可连通性。

采用“穷举求解”方法,并结合栈和链表的相关知识,经过编译和运行后,得出了所有的可连通的路径和一条最优路径,并显示出来。

本文在教学和娱乐中有较大的价值,而且可连通迷宫程序的实现有利于在以后的开发项目中提供良好的思维方式和参考价值。

关键词: C语言,迷宫,栈,链表,穷举求解

Algorithm Design and Realization of Connected Maze

Abstract

Along with the development of science and technology, computer information have been more cognized and used by people, in the modern age, computer undoubtedly has become commonly used as daily tools, especially in study and entertainment. It’s mainly to supply a fictitious circumstance which is also a good flat with advantages of openness, high speed, effectiveness and etc.

It designed a algorithm that can generate a connected maze and then realize it. Besides, it designed a proper data structure to express the maze and reach the goal after compile and run in Microsoft Visual C++6.0 environment . It expatiates the continent and request of connected maze, also prove the connection of maze.

Through using "exhaustively solving" method and list of relevant knowledge, after compiling and running, it obtained all the way that can be connected with the optimal way with a strength, and displayed.

In sum, this article has a great value in teaching and entertainment,

and also provide a proper thinking method and reference in the coming developing project in realization of connected maze.

Keywords: The C language,Maze, Stack,List, Exhaustively solving

第 PAGE III 页

目录

TOC \o "1-3" \h \z \u HYPERLINK \l "_Toc294016879" 1 绪论 PAGEREF _Toc294016879 \h 1

HYPERLINK \l "_Toc294016880" 1.1. 课题背景 PAGEREF _Toc294016880 \h 1

HYPERLINK \l "_Toc294016881" 1.2. 现状分析 PAGEREF _Toc294016881 \h 1

HYPERLINK

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。