-
尖峰时刻 AStar
RushHour
========
C + + 编写的规划求解 RushHour 拼图
此代码将解析任何种类的 RushHour 拼图与 m 行和 n 列,与不同的长度,不只是车
标准游戏。它基于公开为闭的集和优先级队列使用哈希表 AStar 搜索
设置。为启发式函数,用的阻塞的汽车的数量为红车加一。
一辆汽车在任何方向的一个或多个单一步骤代表只有一个动作。
称为"out.txt"文件中打印最少的移动次数和每次更改的审计委员会。
输入的数据是从称为"in.txt"文件中读取。谜题是给在 ASCII 模式中。
执行时间是低于 2 秒,对于难的难题。对于容易,0.5 秒的时间是足够多。
- 2023-01-18 21:15:04下载
- 积分:1
-
实现图象平滑(去噪声),锐化算法的源代码
实现图象平滑(去噪声),锐化算法的源代码-Picture smoothing,Sharping algorithm code
- 2022-10-28 14:00:03下载
- 积分:1
-
And jitter to achieve patterning technology, and bmp2txt command
实现图案化和抖动技术,以及bmp2txt
命令行编译过程如下
vcvars32
rc bmp.rc
cl dither.c bmp.res user32.lib gdi32.lib
注意事项:
运行时,文件c: est.bmp必须存在-And jitter to achieve patterning technology, and bmp2txt command-line compiler as follows vcvars32 rc bmp.rc cl dither.c bmp.res user32.lib gdi32.lib Note: run-time, the file c: test.bmp must exist
- 2022-11-10 12:05:04下载
- 积分:1
-
图像打开,检索的各种代码。
图像打开,检索的各种代码。-Image opened, the code retrieval.
- 2022-07-16 01:50:46下载
- 积分:1
-
canny检测器是很有效的边缘检测器,该函数可以实现对目标图像的边缘提取。该方法总结如下:1.图像使用带有指定标准差的高斯滤波器来平滑,以此减少噪声;2.在每一...
canny检测器是很有效的边缘检测器,该函数可以实现对目标图像的边缘提取。该方法总结如下:1.图像使用带有指定标准差的高斯滤波器来平滑,以此减少噪声;2.在每一点计算局部梯度和边缘方向;3.第二步中确定的边缘点会导致梯度幅度图像中出现脊,然后追踪所有脊的顶部,并将所有不再脊顶部的像素设置为0;4.执行边缘链接-canny detector is very effective edge detector, this function can be achieved on the target image edge detection. This method is summarized as follows: 1. Image used with the specified standard deviation of the Gaussian filter to smooth out, thereby reducing the noise 2. In the calculation of each point of local gradient and edge direction 3. The second step in determining the edge points will led to the image gradient magnitude ridge appears, and then keep track of all of the top of the ridge, and ridge at the top of all the pixels are no longer set to 0 4. the implementation of the edge link
- 2022-03-05 01:13:25下载
- 积分:1
-
VC编写的将曲线图像数字化的软件
VC编写的将曲线图像数字化的软件-VC curve will be prepared by the digital image software
- 2022-07-22 19:31:32下载
- 积分:1
-
预览,图片, 动画
预览,图片, 动画-preview, pictures, animation
- 2022-03-25 06:11:39下载
- 积分:1
-
计算机图形学的中点划圆算法,使自己做的,大家共享!
计算机图形学的中点划圆算法,使自己做的,大家共享!-Computer Graphics of the midpoint circle algorithm is zoned so that their own to do, and everyone to share!
- 2022-05-19 08:08:04下载
- 积分:1
-
for electronic engineering teaching, the original software Address : http://peop...
用于电子工程专业教学用,软件原地址: http://people.msoe.edu/~saadat/matlabgui.htm-for electronic engineering teaching, the original software Address : http://people.msoe.edu/ ~ Saadat/matlabgui.htm
- 2022-02-02 05:12:21下载
- 积分:1
-
使用CPLD在屏幕上图像,3bit 8中颜色
在屏幕上可以有红 碌 蓝 三个矩形...
使用CPLD在屏幕上图像,3bit 8中颜色
在屏幕上可以有红 碌 蓝 三个矩形-Using the CPLD on the screen image, 3bit 8 in color on the screen can have red rectangle Lu Lan 3
- 2023-07-03 14:40:03下载
- 积分:1