SourceCode
所属分类:棋牌游戏
开发工具:Visual C++
文件大小:147KB
下载次数:18
上传日期:2009-08-20 21:01:09
上 传 者:
ccg62
说明: 中国象棋
本人机对弈程序采用了多种搜索算法.以下是本程序主要的类说明:
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:)
文件列表:
SourceCode\AlphaBetaEngine.cpp (2109, 2002-07-27)
SourceCode\AlphaBetaEngine.h (819, 2000-07-18)
SourceCode\Alphabeta_HH.cpp (2198, 2004-08-23)
SourceCode\Alphabeta_HH.h (826, 2004-08-23)
SourceCode\AlphaBeta_TTEngine.cpp (2746, 2004-08-23)
SourceCode\AlphaBeta_TTEngine.h (840, 2004-08-23)
SourceCode\AspirationSearch.cpp (1209, 2002-07-27)
SourceCode\AspirationSearch.h (704, 2004-08-23)
SourceCode\Chess.cpp (2049, 2004-07-05)
SourceCode\Chess.dsp (7834, 2004-08-23)
SourceCode\Chess.dsw (535, 2004-08-19)
SourceCode\Chess.exe (208896, 2008-05-09)
SourceCode\Chess.GID (8628, 2004-08-19)
SourceCode\Chess.h (1334, 2004-08-23)
SourceCode\Chess.opt (60928, 2004-08-23)
SourceCode\Chess.rc (11913, 2004-08-23)
SourceCode\ChessDlg.cpp (49164, 2004-08-23)
SourceCode\ChessDlg.h (5458, 2004-08-23)
SourceCode\CoolButton.cpp (6149, 2003-04-24)
SourceCode\CoolButton.h (1527, 2003-04-24)
SourceCode\Define.h (1534, 2004-08-18)
SourceCode\Eveluation.cpp (20076, 2004-08-19)
SourceCode\Eveluation.h (2554, 2004-08-19)
SourceCode\FAlphaBetaEngine.cpp (2181, 2002-07-27)
SourceCode\FAlphaBetaEngine.h (818, 2000-07-21)
SourceCode\GradientProgressCtrl.cpp (4539, 2004-08-17)
SourceCode\GradientProgressCtrl.h (2221, 2004-08-17)
SourceCode\HelpDlg.cpp (1674, 2004-08-16)
SourceCode\HelpDlg.h (1243, 2004-08-20)
SourceCode\HistoryHeuristic.cpp (2643, 2004-08-17)
SourceCode\HistoryHeuristic.h (1402, 2004-08-17)
SourceCode\IDAlphabetaEngine.cpp (2751, 2004-08-23)
SourceCode\IDAlphabetaEngine.h (793, 2004-08-23)
SourceCode\MemDC.cpp (1262, 2004-08-17)
SourceCode\MemDC.h (681, 2002-04-09)
SourceCode\MoveGenerator.cpp (18363, 2002-07-29)
SourceCode\MoveGenerator.h (2290, 2004-07-24)
SourceCode\MTD_fEngine.cpp (3237, 2004-08-23)
SourceCode\MTD_fEngine.h (979, 2004-08-23)
SourceCode\NegaMaxEngine.cpp (2208, 2002-07-27)
... ...
近期下载者:
相关文件:
收藏者: