文件名称:winep_code
- 所属分类:
- 人工智能/神经网络/遗传算法
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 22kb
- 下载次数:
- 0次
- 提 供 者:
- k***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
这是一个典型的产生式系统的算法题.用的是有界深度优先的递归算法,是用C++Builder4.0写的.这也是人工智能或者程序设计竞赛题中最基本最常用的算法.如果自己动手编程实现了一个这样的题目,那么很多相关的题目也就都一样可以做了,比如"四皇后问题","推箱子问题","传教士和野人问题"等等。
利用深度优先的算法都是不一定能找到最优路径的,而且如果解路径过长的话还可能会搜索失败.如果保证要找到最优路径需要用另一些算法,比如宽度优先算法.无论是哪一种算法,如果问题稍微复杂一点的话,都要解决"组合爆炸"问题,即有几乎无穷种组合走法的问题,这种空间的复杂度往往是难以想象的,要求计算机的速度往往也就是体现在这方面.
所以我们每一次搜索都要以某种控制策略来决定下一步的走法,以最快的速度达到目标,减少搜索的范围.这也是人工智能的核心问题.可以说,人工智能的精髓就是穷举,人工智能的关键就是控制策略.-This is a typical production system algorithms title. Used are bounded depth-first recursive algorithm, is C++ Builder4.0 written. This is the Artificial Intelligence Programming Contest, or the most basic question most commonly used algorithm. If the Do-It-Yourself Programming achieve such a topic, then a lot of topics related to it are the same can be done, such as "Queen s four questions," "Sokoban problem," "missionaries and Savage problem" and so on.
Use depth-first algorithms are not always able to find the optimal path, and if the solution path is too long, then it may be the failure of english. If the guarantee to find the optimal path needs some other algorithms, such as breadth-first algorithm. Regardless of which an algorithm, if a little bit more complex question, then, should solve the "combinatorial explosion" problem, that is, there is almost infinite combinations take law questions, this space is often difficult to imagine the complexity and requires a computer s sp
利用深度优先的算法都是不一定能找到最优路径的,而且如果解路径过长的话还可能会搜索失败.如果保证要找到最优路径需要用另一些算法,比如宽度优先算法.无论是哪一种算法,如果问题稍微复杂一点的话,都要解决"组合爆炸"问题,即有几乎无穷种组合走法的问题,这种空间的复杂度往往是难以想象的,要求计算机的速度往往也就是体现在这方面.
所以我们每一次搜索都要以某种控制策略来决定下一步的走法,以最快的速度达到目标,减少搜索的范围.这也是人工智能的核心问题.可以说,人工智能的精髓就是穷举,人工智能的关键就是控制策略.-This is a typical production system algorithms title. Used are bounded depth-first recursive algorithm, is C++ Builder4.0 written. This is the Artificial Intelligence Programming Contest, or the most basic question most commonly used algorithm. If the Do-It-Yourself Programming achieve such a topic, then a lot of topics related to it are the same can be done, such as "Queen s four questions," "Sokoban problem," "missionaries and Savage problem" and so on.
Use depth-first algorithms are not always able to find the optimal path, and if the solution path is too long, then it may be the failure of english. If the guarantee to find the optimal path needs some other algorithms, such as breadth-first algorithm. Regardless of which an algorithm, if a little bit more complex question, then, should solve the "combinatorial explosion" problem, that is, there is almost infinite combinations take law questions, this space is often difficult to imagine the complexity and requires a computer s sp
(系统自动生成,下载前可以参看下载内容)
下载文件列表
About.cpp
About.dfm
About.h
global.cpp
GLOBAL.H
help.txt
main.cpp
main.dfm
main.h
readme.txt
TList.cpp
TList.h
winEP.bpr
winEP.cpp
winEP.dsk
winEP.res
About.dfm
About.h
global.cpp
GLOBAL.H
help.txt
main.cpp
main.dfm
main.h
readme.txt
TList.cpp
TList.h
winEP.bpr
winEP.cpp
winEP.dsk
winEP.res