摘要
叙述了用数据结构中的栈来解决迷宫寻路的算法思想,用Turbo C和Visual C++的图形模式分别加以直观的实现。表明了栈作为一种基本的数据结构类型,也具有一定的人工智能特性。该方法激发了学生学习的兴趣,在实践中取得了较好的教学效果。
This paper explained the idea to using stack for solving the maze pathfinding algorithm in data structure course,and intuitively implemented it with Turbo C and Visual C++ graphics mode.That stack as a basic data structure type has certain characteristics of artificial intelligence.This stimulated the students' interest in learning,better teaching effect is achieved in practice.
出处
《宁波职业技术学院学报》
2012年第5期71-73,共3页
Journal of Ningbo Polytechnic
关键词
数据结构
迷宫
栈
寻路
data structure
maze
stack
pathfinding