搜索资源列表
cabyrinqh
- Maze using backtracking algorithm design of the labyrinth - backtracking methods!
qnputany
- 程序目的 输入一个任意大小的迷宫,用栈求出一条走出迷宫的路径(Program to input a labyrinth of any size, use the stack and a maze path)
maze
- 通过把一个格子图中的一些边删除后生成迷宫图形.下图左边是一个5X5格子图, 有边是生成的一个迷宫图.给定一个MXN的格子图,请用种子填充算法生成一个迷宫图形(By removing some edges of a grid graph, we can create maze graphs. The left side is a 5X5 grid graph, with edges generating a labyrinth diagram. Given a MXN grid graph, pl
project1
- 迷宫有一个入口,一个出口。一个人从入口走进迷宫,目标是找到出口。阴影部分和迷宫的外框为墙,每一步走一格,每格有四个可走的方向,探索顺序为:南、东、北、西。(The labyrinth has an entrance, an exit. A man walks into the labyrinth from the entrance, and the goal is to find the exit. The outer frame of the shadow and the maze is a
迷宫求解
- 迷宫问题是取自心理学的一个古典实验。在该实验中,把一只老鼠从一个无顶大盒子的门放入,在盒子中设置了许多墙,对行进方向形成了多处阻挡。盒子仅有一个出口,在出口处放置一块奶酪,吸引老鼠在迷宫中寻找道路以到达出口。对同一只老鼠重复进行上述实验,一直到老鼠从入口走到出口,而不走错一步。老鼠经过多次试验最终学会走通迷宫的路线。设计一个计算机程序对任意设定的矩形迷宫如下图A所示,求出一条从入口到出口的通路,或得出没有通路的结论。(The maze problem is a classical experim
迷宫
- 随机生成一个简单的迷宫,可自行调整迷宫的大小(A simple labyrinth is generated randomly to adjust the size of the labyrinth itself)
迷宫游戏
- 设计一个迷宫游戏,给定迷宫的入口。如果存在出口,程序能够显示行走的路径,并最终到达出口,并输出“成功走出迷宫”;如果不存在出口,程序也能够显示行走的过程,并最终回退到入口,并输出“回退到入口” 1.定义二维数组 a 存储随机迷宫. 定义四个整型值用以存储用户输入的迷宫的长(m)宽(n)以及随机设定的入口(p)出口(q)。 定义一个字符ch接收回车键的输入. 定义整型值r与l表示当前在迷宫的位置。(Design a maze game, given the entrance to the
maze
- 迷宫只有两个门,一个门叫入口,另一个门叫出口。一个骑士骑马从入口进入迷宫,迷宫设置很多障碍,骑士需要在迷宫中寻找通路以到达出口。(There are only two doors in the labyrinth. One door is called the entrance, the other is called the exit. A knight rider enters a maze from the entrance. There are many obstacles in the
X-TAB小车迷宫程代码
- X-TAB小车迷宫程代码,巡线避障,自动寻迹(X-TAB labyrinth code)
RL
- 用python搭建了各类常用的强化学习算法的框架,通过迷宫寻路的例子实现各类算法。(The framework of all kinds of commonly used reinforcement learning algorithms is built with Python, and all kinds of algorithms are realized by the example of labyrinth finding.)
走迷宫
- 给定一个大小为N*M的迷宫。迷宫有通道和墙壁组成,每一步可以向邻接的上下左右的通道移动。请求出从起点到终点所需要的最小步数。(Given a maze of N*M size. The labyrinth is composed of channels and walls, and each step can move to the adjacent, upper and lower channels. The minimum number of steps required from the
迷宫
- 对于二维数组存储的迷宫,寻找一条最优的路径(考虑迷宫边界的问题等)(For a labyrinth of two dimensional array storage, finding an optimal path (considering the problem of the labyrinth boundary, etc.))
火烧连营
- 迷宫算法,火烧连营”是三国演义中的著名典故之一广为流传,假定文本文件c1.txt是火烧连营中的军营分布图,每个字符A代表一个营帐,营帐是可燃物,其他字符代表不可燃的空白地段,文件共有40行70列。(Labyrinth algorithm,One of the famous allusions in the romance of the Three Kingdoms is widely spread. It is assumed that the text document c1.txt is a
example
- 一个小迷宫程序的example,里面加入了图形界面编程与可视化操作(A small labyrinth program example, which added graphical interface programming and visualization operation.)
3pi(1)
- 本设计以MCU为控制核心,使用迷宫算法与机器自主学习的思想核心和电机PID调速为运动核心的一款智能迷宫小车,通过对传感器的加权平均处理进行高精度数据采集,将连续性变量转换成离散随机变量。首先根据左手运算进行迷宫整体搜索,然后进行数组记忆和最优路径运算,第二次进入赛道5秒逃出迷宫。(This design takes the MCU as the control core, uses the maze algorithm and the machine independent learning c