九宫问题(八数码)求解过程动态演示

所属分类:Windows编程
开发工具:Visual C++
文件大小:34KB
下载次数:245
上传日期:2004-12-17 21:02:09
上 传 者cnxmx
说明:  (九宫问题)在一个3×3的九宫中有1-8这8个数及一个空格随机的摆放在其中的格子里。现在要求实现这个问题:将该九宫格调整为如图1-1右图所示的形式。调整的规则是:每次只能将与空格(上、下、或左、右)相邻的一个数字平移到空格中。试编程实现这一问题的求解。 -----------VC完整应用程序代码
((JiuGongTu) in a 3 3 JiuGongTu are 1-8 this August and the number of a random display spaces in which the grid yard. Now demands of the problem : this Jiugongge adjusted to the squad as shown in Figure 1-1 forms. Adjusted rules : Each will only spaces (upper and lower, or left and right), a number of adjacent spaces- were moved. Test Programming Solution of this problem.----------- VC complete application code)

文件列表:
9Gird.cpp (4585, 2004-12-06)
9Gird.dsp (4662, 2004-12-05)
9Gird.dsw (535, 2004-12-04)
9Gird.exe (49152, 2004-12-06)
9Gird.h (414, 2004-12-06)
9Gird.ICO (1078, 2004-12-04)
9Gird.rc (3801, 2004-12-06)
NineGird.cpp (10844, 2004-12-06)
NineGird.h (1359, 2004-12-06)
resource.h (1040, 2004-12-04)
SMALL.ICO (318, 2004-12-05)
StdAfx.cpp (292, 2004-12-04)
StdAfx.h (977, 2004-12-04)

近期下载者

相关文件


收藏者