检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]南京师范大学计算机科学与技术学院,南京210000
出 处:《电脑编程技巧与维护》2013年第10期15-16,19,共3页Computer Programming Skills & Maintenance
摘 要:利用状态空间法描述八数码问题,将其抽象成为一个从起始状态搜索到达目标状态的路径的问题,并在Visual C++6.0环境下,用C++语言实现了其盲目搜索和启发式搜索算法。其中,盲目搜索采用的是宽度搜索和深度搜索,启发式搜索策略采用的是有序搜索。通过比较两种搜索策略的时间复杂度和空间复杂度,在搜索步骤较多的情况下,启发式搜索具有明显的优势,并在此结论的基础上分析了启发式搜索具有优势的原因。This paper uses state-space method to describe Sudoku problem which is abstracted as a search path problem from it's initial state to it's target state . In Visual C++ 6.0 environment, the blind search and heuristic search algorithms are realized using C++ language. The blind search adopts the width search strategy and the depth search strategy, the heuristic search strategy adopts order search strategy. By comparing time complexity and space complexity of the two kinds of search strategies, in the complex case, heuristic search has obvious advantage. Also, this paper analyzes the sources of advantages based on the conclusion.
分 类 号:TP311.11[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.127