文件名称:3_cubic_puzzle
介绍说明--下载内容来自于网络,使用问题请自行百度
立方数码问题(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
3_cubic_puzzle/AStar_h2.cpp
3_cubic_puzzle/goal.txt
3_cubic_puzzle/IDAStar_h1.cpp
3_cubic_puzzle/IDAStar_h2.cpp
3_cubic_puzzle/input.txt
3_cubic_puzzle/output.txt
3_cubic_puzzle/statueGen.cc
3_cubic_puzzle
3_cubic_puzzle/AStar_h2.cpp
3_cubic_puzzle/goal.txt
3_cubic_puzzle/IDAStar_h1.cpp
3_cubic_puzzle/IDAStar_h2.cpp
3_cubic_puzzle/input.txt
3_cubic_puzzle/output.txt
3_cubic_puzzle/statueGen.cc
3_cubic_puzzle
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.