搜索资源列表
FindPath_kinpoo
- 连连看 寻路算法 递归实现 /** * Author:郭剑波(KINPOO) * Last Modify:2005/11/21 13:40 * Purpose:find path for lian lian kan */-find their own path to achieve recursive algorithm / ** * Author : Jian (KINPOO) * Last Modify : 10/14/2005 13:40 * Purpose : fin
neweight
- 我的作业,TC2.0下实现图形编辑,用堆栈实现的,还有递归算法,如果需要请留言。-my operation, under WITH TC 2.0 graphics editing, using the stack to achieve, recursive algorithm, please leave if necessary.
QUEDIGUI
- 基于递归算法采用C语言实现了数据结构中经典的八皇后问题。-recursive algorithm based on the C language data structure of the classic Queen's eight problems.
triangle_game
- 三角形游戏的在linux 平台上 基于 gnu c/c++ 的实现,游戏规则:参见 http://imagiware.com/triangle/ 本程序能够递归的实现三角形游戏的解步骤(类似于九连环游戏)并有图像演示
用VC语言实现的汉罗塔
- 在程序启动时,用默认值生成塔类和碟子类的实例,并调用GDI对象绘图。当选择自动方式后,派生一个新线程递归挪动碟子并在每次挪动碟子后刷新图形。在挪动线程中,监测临界区对象作为暂停或继续的判别标志;当选择手动方式时,在碟子的移动过程中进行大碟子和小碟子的判断,如果合乎要求,允许移动,如果不合乎要求,跳出提示对话框。-commencement of the proceedings, with the default value generated tower and plate type exampl
xiangqigame
- 本文在概述计算机博弈,特别是中国象棋软件概况的基础上,分析了现有中国象棋博弈软件实现方法中存在的问题,设计了棋盘、棋子和评价函数的表示方法,应用VC和MFC设计并实现了博弈界面,在博弈树理论的基础上采用递归方法实现了α-β剪枝搜索。该程序用户界面良好,支持悔棋功能,具有一定的棋力。
Hanoi
- 汉诺塔游戏的很详细的实现!包括递归算法,自动演示动画效果,以及玩家手动操作的功能!
qipan.rar
- 设计一个国际象棋的马踏棋盘的演示程序。以一二维数组Board[8][8]表示国际象棋棋盘,以用户输入任一位置作为马的起始位置,设为(i,j),其中0≤i,j≤7,马按照走棋的规则在棋盘范围内进行移动。本程序只求出一种遍历路径,用非递归程序实现吗的行走路线。,To design a chess board horse riding demo program. A two-dimensional array Board [8] [8] that the chess board to the user
24点游戏,利用递归法
- 24点游戏,利用递归法,在vc DOS环境下运行结果,可实现多张牌多点数功能-24-point game, the use of recursion in vc DOS environment, the results can be multi-functional cards and more points
eight_queen
- 八皇后问题,老归老,但试图用各种方法来实现求解,出乎意料的是,同样的算法,非递归实现的速度竟然比递归实现慢!-Eight queen problem, the old to the old, but trying to use various methods to achieve Solving Surprisingly, the same algorithm, the speed of non-recursive implementation was slower than the recur
BaHuangHou
- 题目:八皇后问题。 八皇后问题是指求解如何在国际象棋8*8棋盘上无冲突的放置八个皇后棋子。因为在国际象棋里,皇后的移动方式是横竖交叉,所以在任意一个皇后所在的位置的水平,竖直和斜45度都不能有其他棋子的存在。一个完整的无冲突的八皇后棋子分布成为八皇后问题的一个解。设计思路:我使用了回溯的方法来解决八皇后问题,也就是逐次试探的方法。这个方法是通过函数putchess()对自身的递归调用来实现的。运行程序后,主函数调用putchess()函数在棋盘第一行第一列上放置棋子,开始向下一行递归。每一步
wuziqi
- 五子棋问题,是一个典型的递归调用的问题。该程序实现了五子棋的对弈过程,缺陷是不能实现图像处理-Gobang problem is a typical recursive call problems. The program implements the chess backgammon process, defects can not be achieved image processing
hannuota
- 汉诺塔演示 Java代码实现,里面的主要是递归函数的调用-Tower of Hanoi demo Java code to achieve, which is mainly the recursive function call
hano
- 这是一个不利用递归实现汗诺塔的例子,让我们看看原来简单的 hanoi (n-1,a,c) hanoi (n,a,b) hanoi (n-1,c,b) 由于无法使用递归,需要什么样的手段才能实现。-This is a non-recursive implementation Khan, Tower of Hanoi example, let' s take a look at the original simple hanoi (n-1, a, c) hanoi
do.c
- 递归的使用 tc2.0 编译通过 24点用一笔连起来但只能用横线和竖线进行连接,最右边第二行的圆圈处不能用线进行连接 如图所示: 思路:用递归实现,设计一个递归函数tf()进行查找下一个节点并连接以第一行第一列的点为(1,1)第二行第一列为(2,1)编好每个点的坐标,在tf函数中先查找于自身节点相邻的且可以连接的点然后进行连接,然后就以此节点为寻找下一可用结点直到tf()函数返回0,就返回。-Up with an even 24 points but o
HORSE_PROBLEM
- 使用回溯的方法实现跳马问题,同时,还使用了递归的思想。跳马问题描述:在N*N格的棋盘上,从(1,1)点出发,按日字跳马,要求不重复地跳经所有方格。求出符合要求的所有跳马方案-The method used to achieve vault back problem, while also using the recursive thinking. Horse Problem Descr iption: In the N* N grid of the board, from (1,1) point
fivepoints
- 我的处女作,用递归算法实现程序的多步思考,有一定人工智能(人一不小心就输了),有兴趣的可以将其加以改进,可达到很强大的地步(本人暂时没时间来完善它)。-My first effort, Recursive algorithm using multi-step thinking process has a certain artificial intelligence (people to accidentally lost), it can be of interest to improve,
FindPath_kinpoo
- 连连看 寻路算法 递归实现/*** Author:郭剑波(KINPOO)* Last Modify:2005/11/21 13:40* Purpose:find path for lian lian kan*/-find their own path to achieve recursive algorithm/*** Author : Jian (KINPOO)* Last Modify : 10/14/2005 13:40* Purpose : find path for Chinese C
FindPath_kinpoo
- 连连看 寻路算法 递归实现/*** Author:郭剑波(KINPOO)* Last Modify:2005/11/21 13:40* Purpose:find path for lian lian kan*/-find their own path to achieve recursive algorithm/*** Author : Jian (KINPOO)* Last Modify : 10/14/2005 13:40* Purpose : find path for Chinese C
Suduc
- 用vc++6.0实现的数独解算器,代码包含控制台和windows两个版本。用改进的回溯法递归实现寻优过程。能对有解数独迅速给出一个合法解;对无解数独可以给出报错提示。 该程序在普通计算机解决芬兰数学家于2012年7月给出的最难数独,用时需1~10秒。欢迎交流。-soduk solver could solve the hardest problem