九宫重排深度优先搜索、广度优先搜索、A*算法实现c++
首先感谢大神!没用大神的讲解不知道实验要怎么交代,大神代码讲解在此深度优先:#include<iostream>#include<vector>#include<algorithm>#include<ctime>using namespace std;const int GRID = 3;int rightPos[9] = { 0,0,0,0,0,0,0,0,0 };int depth=10;int sum=0;class state


最近
文章
专栏
代码仓
资源
收藏
关注/订阅/互动
社区
帖子
问答
课程
视频
