联合开发网   搜索   要求与建议
                登陆    注册
排序按匹配   按投票   按下载次数   按上传日期
按分类查找All 棋牌游戏(582) 

[棋牌游戏] SourceCode

中国象棋 本人机对弈程序采用了多种搜索算法.以下是本程序主要的类说明: 1.CEveluation类:估值类,对给定的棋盘进行估值. 2.CMoveGenerator类:走法产生器,对给定的棋盘局面搜索出所有可能的走法. 3.CSearchEngine类:搜索引擎基类. 4.CNegaMaxEngine类:负极大值法搜索引擎. 5.CAlphaBetaEngine类:采用了Alpha-Beta剪枝技术的搜索引擎. 6.CFAlphaBetaEngine类:fail-softalpha-beta搜索引擎. 7.CHistoryHeuristic类:历史启发类. 8.CAlphabeta_HHEngine类:带历史启发的Alpha-Beta搜索引擎. 9.CAspirationSearch类:渴望搜索引擎. 10.CIDAlphabetaEngine类:迭代深化搜索引擎. 11.CMTD_fEngine类:MTD(f)搜索引擎. 12.CTranspositionTable类:置换表. 13.CAlphaBeta_TTEngine类:加置换表的Alpha-Beta搜索引擎. 14.CPVS_Engine类:极小窗口搜索引擎. 15.CNegaScout_TT_HH类:使用了置换表和历史启发的NegaScout搜索引擎. 本程序还具有悔棋,还原功能,还可以记录走法. 注:本程序编写时参考了王小春的<<PC游戏编程(人机博弈)>>,他的书真是好.
Chinese chess game machine procedure I used a variety of search algorithm. The following are the major types of procedures that: (2009-08-20, Visual C++, 147KB, 下载18次)

http://www.pudn.com/Download/item/id/884607.html

[棋牌游戏] che

问题描述:按照国际象棋的规则,车可以攻击与之处在同一行或同一列上的棋子。指南车是有方向的车。横向指南车可以攻击与之处在同一行上的棋子。纵向指南车可以攻击与之处在同一列上的棋子。指南车问题要求在m×n格的棋盘上放置指南车,并确定各指南车的攻击方向,使棋盘上不受指南车攻击的方格数最多。 编程任务:对于给定的m×n格的棋盘和2 个整数x 和y。整数x 表示棋盘上有x个规定方格应放置指南车,但攻击方向未定。整数y表示除了已规定放置位置的x个指南车外,还要在棋盘上放置y个指南车,其位置和攻击方向均未定。设计一个分支限界法,计算x+y 个指南车的放置方案,使棋盘上不受指南车攻击的方格数最多。
Problem Description: In accordance with the rules of chess, can attack with vehicles in the same column or row on the chess pieces. Guide to car yes car have direction. Horizontal guide in the car can attack with a pawn on the same line. Vertical guide in the car can attack with a pawn on the same row. Guide to car questions asked in the m × n grid of the chessboard placed guide vehicles, and to determine the guidelines for car attack direction, so that from the chessboard grid attacks cart number. Programming tasks: For a given m × n grid of the chessboard and the two integers x and y. Integer x has x express chessboard grid of the provisions of the Guide should be placed car, but the direction of undetermined attack. Integer y that has been apart from the provisions of the x position to place a guide to the vehicle, but also in the board to place a guide y car, its location and direction of the attack were not set. Design of a branch and bound method to calculate x+ y个guide plac (2009-02-20, Visual C++, 1KB, 下载14次)

http://www.pudn.com/Download/item/id/648600.html