文件名称:3_cubic_puzzle
- 所属分类:
- 人工智能/神经网络/遗传算法
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2015-05-03
- 文件大小:
- 8kb
- 下载次数:
- 0次
- 提 供 者:
- t**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
立方数码问题(8数码问题的三维拓展)
使用C/C++实现4个算法,即,使用启发函数h1(n)的A*算法:Astar_h1.cpp,使用启发函数h2(n)的A*算法:Astar_h2.cpp,使用启发函数h1(n)的IDA*算法:IDAstar_h1.cpp,使用启发函数h2(n)的IDA*算法:IDAstar_h2.cpp。输出文件名与算法对应。以h1为启发函数的A*算法输出到output_Ah1.txt;以h2为启发函数的A*算法输出到output_Ah2.txt;以h1为启发函数的IDA*算法输出到output_IDAh1.txt;以h2为启发函数的IDA*算法输出到output_IDAh2.txt。-Cube puzzle problem (three-dimensional expansion of 8 digital issues) using C/C++ implement four algorithms that use heuristic function h1 (n) of the A* algorithm: Astar_h1.cpp, using heuristic function h2 (n) of the A* algorithm: Astar_h2.cpp, using heuristic function h1 (n) of the IDA* algorithm: IDAstar_h1.cpp, using heuristic function h2 (n) of the IDA* algorithm: IDAstar_h2.cpp. Corresponding to the output file name and algorithms. In the heuristic function h1 A* algorithm outputs to output_Ah1.txt h2 as heuristic function with A* algorithm outputs to output_Ah2.txt h1 as heuristic function to IDA* algorithm outputs to output_IDAh1.txt with h2 as heuristic function The IDA* algorithm outputs to output_IDAh2.txt.
使用C/C++实现4个算法,即,使用启发函数h1(n)的A*算法:Astar_h1.cpp,使用启发函数h2(n)的A*算法:Astar_h2.cpp,使用启发函数h1(n)的IDA*算法:IDAstar_h1.cpp,使用启发函数h2(n)的IDA*算法:IDAstar_h2.cpp。输出文件名与算法对应。以h1为启发函数的A*算法输出到output_Ah1.txt;以h2为启发函数的A*算法输出到output_Ah2.txt;以h1为启发函数的IDA*算法输出到output_IDAh1.txt;以h2为启发函数的IDA*算法输出到output_IDAh2.txt。-Cube puzzle problem (three-dimensional expansion of 8 digital issues) using C/C++ implement four algorithms that use heuristic function h1 (n) of the A* algorithm: Astar_h1.cpp, using heuristic function h2 (n) of the A* algorithm: Astar_h2.cpp, using heuristic function h1 (n) of the IDA* algorithm: IDAstar_h1.cpp, using heuristic function h2 (n) of the IDA* algorithm: IDAstar_h2.cpp. Corresponding to the output file name and algorithms. In the heuristic function h1 A* algorithm outputs to output_Ah1.txt h2 as heuristic function with A* algorithm outputs to output_Ah2.txt h1 as heuristic function to IDA* algorithm outputs to output_IDAh1.txt with h2 as heuristic function The IDA* algorithm outputs to output_IDAh2.txt.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
3_cubic_puzzle\AStar_h1.cpp
..............\AStar_h2.cpp
..............\goal.txt
..............\IDAStar_h1.cpp
..............\IDAStar_h2.cpp
..............\input.txt
..............\output.txt
..............\statueGen.cc
3_cubic_puzzle