登录
首页 » Windows开发 » maze is the essence of the plan traverse the problem, we can use a two

maze is the essence of the plan traverse the problem, we can use a two

于 2022-05-24 发布 文件大小:2.92 kB
0 66
下载积分: 2 下载次数: 1

代码说明:

迷宫的问题实质上就是图的遍历问题,我们可以用一个二维数组存储一个迷宫的各个结点,给定一个开始的坐标和一个结束的坐标.本程序可以寻找一条路径,但这条路径不是最短的.就是说不是最优的.-maze is the essence of the plan traverse the problem, we can use a two-dimensional array storage a maze of the various nodes, to set a beginning and an end coordinates of the coordinates. This procedure can find a path, but this is not the shortest path. Not to say the best.

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

发表评论

0 个回复

  • 696518资源总数
  • 104269会员总数
  • 42今日下载