登录
首页 » Windows开发 » 八数码问题也称为九宫问题。在3×3的棋盘,摆有八个棋子,每个棋子上标有1至8的某一数字,不同棋子上标的数字不相同。棋盘上还有一个空格,与空格相邻的棋子可以移到空...

八数码问题也称为九宫问题。在3×3的棋盘,摆有八个棋子,每个棋子上标有1至8的某一数字,不同棋子上标的数字不相同。棋盘上还有一个空格,与空格相邻的棋子可以移到空...

于 2023-06-28 发布 文件大小:14.03 kB
0 104
下载积分: 2 下载次数: 1

代码说明:

八数码问题也称为九宫问题。在3×3的棋盘,摆有八个棋子,每个棋子上标有1至8的某一数字,不同棋子上标的数字不相同。棋盘上还有一个空格,与空格相邻的棋子可以移到空格中。要求解决的问题是:给出一个初始状态和一个目标状态,找出一种从初始转变成目标状态的移动棋子步数最少的移动步骤。 -8 issue of the digital problem, also known as Nine-palace. In the 3 × 3 chessboard placed eight pieces, each piece is marked 1 to 8, a number of different pieces on the subject are not the same. There is also a board space, and spaces adjacent pieces can be moved to the space. To be resolved is: given an initial state and a target state, to find a target state from the initial movement into the least number of pieces of mobile steps step.

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

发表评论

0 个回复

  • pbtowordandexcel目录:PowerBuilder 9中通过OLE技术工作…
    pbtowordandexcel目录:在PowerBuilder 9.0中通过OLE技术实现与WORD和Excel通信的例子; pb9com目录:在PowerBuilder 9.0实现COM开发的例子; Media目录:使用OLE控件实现媒体播放器的功能,还包含一个使用API MCI设备实现媒体播放的例子; DDE目录:包含DDE客户端源程序; DBOLE目录:使用OLE控件实现大型二进制数据的保存与显示的源程序; XPMenu目录:XPMenu菜单的例子,setup子目录可自动安装注册DLL。-pbtowordandexcel directory : PowerBuilder 9.0 in through OLE technology with Word and Excel Communications examples; pb9com Contents : PowerBuilder 9.0 in the development of the COM achieve example; Media Contents : use OLE achieve media player functions, also includes an API MCI equipment used to achieve the broadcast media examples; DDE directory : includes DDE client source; DBOLE directory : use OLE large binary data to achieve the preservation and display of the source; XPMenu directory : XPMenu menu example, setup subdirectory can be registered automatically installed DLL.
    2023-01-04 19:50:03下载
    积分:1
  • 使用c++编写的Pos机前台程序。自带小型汉字库,可在控制台上直接运行...
    使用c++编写的Pos机前台程序。自带小型汉字库,可在控制台上直接运行-use Pos c prepared by the procedures for the future. Store bringing their small, the console directly operation
    2022-08-09 02:55:41下载
    积分:1
  • 使用VC搭建界面的冒泡算法
    使用VC搭建界面的冒泡算法-use interface structures and bubbling Algorithm
    2023-01-20 09:35:03下载
    积分:1
  • 文件管理系统
    此系统是对于多文件的管理,相当于分包管理文件,就是多文件夹管理。c#编写,支持拖拽等操作,方便文件的添加删除等操作。用树来管理,体现了树和list的使用,值得借鉴,树存在点击变图标等操作。
    2022-06-18 01:29:28下载
    积分:1
  • TP7.0常用内置子程序
    TP7.0常用内置子程序-TP7.0 commonly used built-Subroutine
    2022-07-04 02:48:59下载
    积分:1
  • NDIS 函数简明手册
    NDIS 函数简明手册-NDIS function concise manual
    2022-03-30 03:37:31下载
    积分:1
  • 详细阐述了线性矩阵不等式的方法,并用一个实际例子,用matlab实现了,对初学者非常有用....
    详细阐述了线性矩阵不等式的方法,并用一个实际例子,用matlab实现了,对初学者非常有用.-Described in detail the method of linear matrix inequalities, and a practical example, using matlab realized, very useful for beginners.
    2022-04-12 13:27:34下载
    积分:1
  • 应用程序在选定的硬盘中搜索MP3文件,我..
    这个应用程序在选定的硬盘中搜索MP3文件,在一个列表视图控件中显示搜索的文件和它们的信息,并在双击时播放它。 -the application procedures in the selection of drives to search for MP3 files, in a ClistCtrl shows search of documents and their information and double-click it for broadcast.
    2022-05-17 11:44:36下载
    积分:1
  • 该程序用贪心算法来求解最小生成树问题 采用贪婪准则:每次选择边权值最小边。如果该边加入后不构成环,则加入。...
    该程序用贪心算法来求解最小生成树问题 采用贪婪准则:每次选择边权值最小边。如果该边加入后不构成环,则加入。-procedures with the greedy algorithm to solve the problem using the minimum spanning tree greedy guidelines : each side the right to choose the minimum value side. If the edge after the entry does not constitute a part, while accession.
    2022-06-11 11:33:35下载
    积分:1
  • 此为字符处理函数,有多个例子,适合初学者
    此为字符处理函数,有多个例子,适合初学者-This is the characters deal with functions, there are multiple examples for beginners
    2022-06-17 19:17:22下载
    积分:1
  • 696522资源总数
  • 104042会员总数
  • 18今日下载