搜索资源列表
8_puzzle
- 8数码问题的Java求解,采用A*算法。数据结构采用的Vector<int[]>。输出为"no solution"或一系列表示求解过程的字符串。 某些30步的测试样例需要半分钟左右,但是绝对是正确解~~万望您能不吝点滴时间耐心等待……orz thnx~~ 我用的启发函数计算了现在的网格距离目标网格还有多远。 具体算法是,将每一格中的数字的坐标与其应该在的坐标的差加到一起,得到这个最终值h(x) 也就是Manhattan_Distance 源码使用
EightQueens
- 8 Puzzle source code in java
pentu
- 这是一个flash源文件,效果很好,测试平台为flash 8.0(如果提示问题请选择合适的版本试试),代码的效果是:拼图游戏-This is a flash source file, the effect is good, the test platform for flash 8.0 (if the question, please select the appropriate version to try), the effect of the code is: jigsaw puzzle
pintuyouxi
- 这是一个flash源文件,效果很好,测试平台为flash 8.0(如果提示问题请选择合适的版本试试),代码的效果是:拼图程序的代码。as较多,思路参考吧-This is a flash source file, the effect is good, the test platform for flash 8.0 (if the question, please select the appropriate version to try), the effect is the code: the