搜索资源列表
传教士与野人问题
- 传教士和野人问题是人工智能中的经典问题。本程序采用递归算法求解。定义一个函数,该函数返回一个解路径,路径可以用规则序列表示,也可以用状态序列表示。比如,用规则序列表示,可以表示为:(1 1)(1 0)。。。 表示:过去1个传教士,一个野人,回来一个传教士,。。。如果用状态序列表示,可以表示为:(3 3 1)(2 2 0)(3 2 )。。。 路径用一个链表表示,该函数返回该链表。在main中调用该函数,并打印输出该路径。-missionaries and Savage is a classic A
juzhenzhuanzhi
- 一个实现矩阵转置的C和C++源代码,自己以前学数据结构时做的-achieve a matrix transpose the C and C + + source code, his past data structure to do
zhaomigong_c
- 简单的演示,N的大小可以改变的,而且这个程序的速度还可以, 比以前我用递归写的那个快多了.如果N改得太大输出会有问题, 因为我用到gotoxy的,这个程序主要是练一个算法-simple demonstration, N size can be changed, but the rate of this procedure can also, than in the past I used to write a recursive that quicker. If N is too big
C语言编程例子
- 这是初学者的宝典,以以往的编程白例是不同的,有较大的区别,里面有100多个编程实例-This is a beginner's book for the past programming white cases are different, the difference is larger, there are more than 100 examples of programming
yuanma
- 我的数据结构课程设计源码,以前弄的,现在上传上去了!-My curriculum design source data structure, in the past get now upload a go!
No5
- 这是蓝桥杯的一道填空题,运用了递归知识,比较基础,适用于初学者-this is Past Years Paper
回溯
- 一些回溯算法的总结里面有马跳日棋盘问题八皇后问题取苹果等一系列已过的代码谢谢参考(Some backtracking algorithms are summed up with a horse jump day chessboard problem eight queens and a series of past codes for reference.)