搜索资源列表
野人-传教士
- 用c++实现的人工智能中野人和传教士问题,有注释部分!-achieve with the AI Savage and missionaries, a Notes!
chuanjiaoshi
- C/C++求解野人与传教士问题。自定义野人和传教士人数。-C / C for savage problems with the missionaries. Since the definition of savage and the number of missionaries.
five_file
- hws01:野人和传教士问题 hws02:用Romberg外推法求积分近似值 hws03:八数码问题 hws04:模拟退火算法 hws05:遗传算法解决旅行商问题
传教士野人过河问题
- 设有3个传教士和3个野人来到河边,打算乘一只船从右岸渡到左岸去。该船的负载能力为两人。在任何时候,如果野人人数超过传教士人数,那么野人就会把传教士吃掉。他们怎样才能用这条船安全地把所有人都渡过河去?
传教士和野人过河问题程序
- 传教士和野人过河问题程序- The missionary and the savage cross river the question procedure
传教士与野人渡河问题深度优先搜索
- 学习人工智能作的一个小设计,用VC++6.0来基本实现传教士和野人渡河问题,这个算法是应用深度优先搜索算法。-study artificial intelligence for a small design, VC 6.0 to achieve missionaries and savage river, the algorithm is the use of depth-first search algorithm.
野人传教士问题
- 这是关于人工智能中关于传教士和野人问题的详细说明,请大家参考,提出修改意见-on Artificial Intelligence missionaries and Savage on the details, please refer to proposed amendments. .
传教士与野人问题
- 传教士和野人问题是人工智能中的经典问题。本程序采用递归算法求解。定义一个函数,该函数返回一个解路径,路径可以用规则序列表示,也可以用状态序列表示。比如,用规则序列表示,可以表示为:(1 1)(1 0)。。。 表示:过去1个传教士,一个野人,回来一个传教士,。。。如果用状态序列表示,可以表示为:(3 3 1)(2 2 0)(3 2 )。。。 路径用一个链表表示,该函数返回该链表。在main中调用该函数,并打印输出该路径。-missiona
chuanjiaoshi
- C/C++求解野人与传教士问题。自定义野人和传教士人数。-C/C for savage problems with the missionaries. Since the definition of savage and the number of missionaries.
five_file
- hws01:野人和传教士问题 hws02:用Romberg外推法求积分近似值 hws03:八数码问题 hws04:模拟退火算法 hws05:遗传算法解决旅行商问题-hws01: Savage and missionary issues hws02: using Romberg extrapolation method for integral approximation hws03: 8 digital issues h
test
- 此程序是关于求解野人和传教士的过河问题。实现自动对一个智利测试题的求解!-This program is about the savage and missionaries across the river to solve the problem. Automatic testing of a Chilean problem solving!
chuanjiaoshi
- 有N个传教士和N个野人要过河,现在有一条船只能承载K个人(包括野人),K<N,在任何时刻,如果有野人和传教士在一起,必须要求传教士的人数多于或等于野人的人数。-N and N have a savage missionary to cross the river, there is now a boat can only hold K individuals (including Savage), K <N,在任何时刻,如果
chuanjiaoshi
- 1. 野人与传教士过河问题:有传教士和野人各三人需要过河,他们都会划船。现只有一条船,一次只能载两人。假设野人多于传教士时传教士就会被吃掉。编程求出所有能确保全部安全的过河的计划,并给出Visual Prolog程序-1. Savage and missionaries across the river problem: There are three missionaries and savages the need to cross
CorssRiver
- 有N个传教士和N个野人要过河,现在有一条船只能承载K个人(包括野人),K<N,在任何时刻,如果有野人和传教士在一起,必须要求传教士的人数多于或等于野人的人数。 用A*算法实现。-N and N have a savage missionary to cross the river, there is now a boat can only hold K individuals (including Savage), K <
MCproblem
- 经典的MC问题(野人和传教士问题),给定人数和船载人的数目,即可给出一个解,解的形式是一个三元组的序列,分别表示每一步之后左岸的人数和船的位置。-Classic MC problem (Savage and missionaries problem), given the number and the number of ships manned, to give a solution, the solution in the form
Savage-and-preachers
- 从前有一条河,河的左岸有m个传教士、m个野人和一艘最多可乘n人的小船。约定左岸,右岸和船上或者没有传教士,或者野人数量少于传教士,否则野人会把传教士吃掉。搜索一条可使所有的野人和传教士安全渡到右岸的方案。-Once upon a time there was a river, on the left bank of the river have m a missionary, m a savage and a ship can take
M-C-across-the-river-problem
- 用java对野人和传教士过河问题的实现,内涵源码,传教士和野人过河是一个经典的智力难题。 希望对初学者学习java有所帮助-M with Java savage and missionaries across the river to the realization of the problem, connotation source, missionaries and savage across the river is a cl
MACPS
- 运用java语言编写数据结构的野人和传教士安全渡河程序。-Data structures using java language savages and missionaries safe crossing procedures.
missionary_and-_savage
- 一个原创的基于Qt4实现的野人与传教士问题的代码,可以设置野人和传教士的个数,可以看到如果野人和传教士各自的个数多于4人时无解-Based on an original code Savage and missionaries problem Qt4 achieve, you can set the number of savages and missionaries, we can see no solution if Savage
starA
- A*算法解决传教士和野人过河问题。有N个传教士和N个野人要过河,现在有一条船只能承载K个人(包括野人),K<N,在任何时刻,如果有野人和传教士在一起,必须要求传教士的人数多于或等于野人的人数。-A* algorithm to solve the missionaries and Savage river issues. With N and N Savage missionaries to cross the river, the