摘要: 笔记S:问题的一种状态h*(S):所求的最短距离h(s):S的估价函数g(s):S之前的代价函数f(s):s的启发函数h(s)有h(s)#includeusing namespace std;int n;int a[20];bool check(){ for(i... 阅读全文
posted @ 2017-12-08 00:53 GhostCai 阅读(91) 评论(0) 推荐(0)