登录
首页 » Windows开发 » A*算法解决八数码

A*算法解决八数码

于 2022-02-06 发布 文件大小:1.69 MB
0 206
下载积分: 2 下载次数: 1

代码说明:

题目    The 15-puzzle has been around for over 100 years; even if you don"t know it by that name, you"ve seen it. It is constructed with 15 sliding tiles, each with a number from 1 to 15 on it, and all packed into a 4 by 4 frame with one tile missing. Let"s call the missing tile "x"; the object of the puzzle is to arrange the tiles so that they are ordered as:   1  2  3  4  5  6  7  8  9 10 11 12 13 14 15  x where the only legal operation is to exchange "x" with one of the tiles with which it shares an edge. As an example, the following sequence of moves solves a slightly scrambled puzzle: 

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

发表评论

0 个回复

  • 变换常用工具箱,有VC++、MATLAB等实现…
    Curelet变换常用工具箱,有VC++,Matlab等实现的代码,希望 对做图像处理的人士有益。-Curelet transform common toolbox, there are VC++, Matlab and other implementation code, want to make a useful image processing people.
    2023-02-10 17:20:03下载
    积分:1
  • GBA-LOGO制作器
    GBA logo制作工具1.0版相关说明 本软件是由模拟天下汉化小组阿一于2003年4月7日完工 由于第一次编写此类软件,所以制作效果还不是很好,比如LOGO还没有很多的效果,并不支持声音等等。不过相信下一个版本一定会更完善的。 也请大家多多支持。以后会推出更多的软件给大家的。。。呵呵^_^ 软件使用注意点:   1:对于要插入LOGO的GBA文件必需是标准的游戏ROM。   2:图片必需是bmp格式,并且是宽240、高160、颜色可以必需保证256色以上。现暂时不支持更多的图片格式。   3:插入地址后面必需要保证有80K的空白数据区,否则有可能引起游戏不能正常进行。 如果对于此软件有什么疑问请到模拟天下论坛来提问:http://bbs.emucn.net 顺便说明一下:现在小天使的GBA制作工具已经比我这个完善好多,我意见大家去使用那个吧。。。(不过我相信下一个版本的功能一定会追上去的,嘻嘻) 小天使的网站:http://www.chinaemu.net/zhuanti/angel/
    2022-04-28 04:37:13下载
    积分:1
  • sample语法语义分析器,用vc6.0编写,多文件加类构成,有大量注释,不过存在某些错误,鉴于时间关系还没改正。...
    sample语法语义分析器,用vc6.0编写,多文件加类构成,有大量注释,不过存在某些错误,鉴于时间关系还没改正。-sample semantic parser, using vc6.0 writing, multi-file plus class composition, there are a large number of annotations, but there were some errors, in view of the time yet to correct.
    2022-07-03 15:54:34下载
    积分:1
  • jbpm与OA项目
    删除角色-----------------1.角色列表-->删除2.RoleAction.deleteRole(); public String deleteRole(){ roleId roleService.deleteEntity(new Role(roleId)); return "findAllRolesAction" ; }3.略4.略用户授权管理----------------1.导航栏-->用户授权2.UserAuthorizeAction.findAllUsers(); public String findAllUsers(){ this.allUsers = userService.findAllEntities(); return "userAuthorizeListPage" ; }3.略4.略修改授权--------------------1.授权列表-->修改授权2.UserAuthorizeAction.editAuthorize(); public String editAuthorize(){ userId this.model = userService.getEntity(userId); this.noOwnRoles = roleService.findRolesNotInRange(model.getRoles());
    2023-07-06 04:25:06下载
    积分:1
  • vc代码通过调用matlab生成的DLL文件实现VC和matlab的混合编程
    vc代码通过调用matlab生成的DLL文件实现VC和matlab的混合编程-vc code matlab generated by calling the DLL file to achieve a mixture of VC and matlab programming
    2023-02-08 18:20:04下载
    积分:1
  • optical character recognizatuion
    搜索引擎优化是主动的
    2022-03-20 14:47:02下载
    积分:1
  • 实验物体沿正弦曲线运动 1.实验目的 (1)初步熟悉应用windows API函数进行编程的入门,编写简单的Windows应用程序,建立窗口、句丙,认知...
    实验物体沿正弦曲线运动 1.实验目的 (1)初步熟悉应用windows API函数进行编程的入门,编写简单的Windows应用程序,建立窗口、句丙,认知消息循环、画笔、画刷,建立坐标。 (2)实验物体沿正弦曲线运动,该物体为一个大小渐变以及颜色都会变化的小球,变化的的转折点是正弦曲线一个完整周期(2∏)里的四分之一,二分之一,和四分之三处(即∏/4 ∏/2 3∏/4处) (3)通过放胶片电影的原理实现物体沿正弦曲线运动。胶片电影有原理是在规定时间(一般为1秒)播放24幅连续的画面,由于人的视觉暂留,所以人们在观看电影时,看到的就不是一幅一幅的画面,而是丰富精彩的场景。本程序通过调用sleep(100)函数使程序暂停0.1秒。当i
    2022-01-21 02:30:31下载
    积分:1
  • win系统下串口通信程序代码
    window下的一款非常简单实用的串口通信程序,这个程序界面简洁,内容基础,适合初学者学习使用,另外,这款程序经研究可以与linux系统下的串口通信。
    2022-03-15 07:59:04下载
    积分:1
  • 这是一个函数迭代系统,可以很直观地了解函数迭代。
    这是一个函数迭代系统,可以很直观地了解函数迭代。-This is a method, system, it is quite intuitive understanding of function iteration.
    2022-08-02 22:08:55下载
    积分:1
  • DELPHI图书租赁管理系统
    DELPHI图书租赁管理系统-lease management system
    2023-03-10 11:15:03下载
    积分:1
  • 696516资源总数
  • 106605会员总数
  • 12今日下载