⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 棋弈软件基础——残局库.htm

📁 象棋程序设计全资料集(介绍编写象棋程序的方法思路)
💻 HTM
📖 第 1 页 / 共 3 页
字号:
  face="Times New Roman">Nimzo</FONT>残局库;<FONT face="Times New Roman">Rebel 
  Tiger 2.0</FONT>和<FONT face="Times New Roman">Chess Tiger 14.0</FONT>也支持<FONT 
  face="Times New Roman">Nalimov</FONT>式<FONT color=#000080>【</FONT><FONT 
  face="Times New Roman" color=#000080>CT15</FONT><FONT 
  color=#000080>也是】</FONT>,早期<FONT 
  face="Times New Roman">Rebel</FONT>不支持任何残局库;<FONT 
  face="Times New Roman">Chessmaster 9000</FONT>及以后版本支持其专用的<FONT 
  face="Times New Roman">EDGB</FONT>残局库;<FONT face="Times New Roman">Chess 
  Genius 6.5</FONT>支持<FONT face="Times New Roman">Thompson</FONT>式;绝大部分免费的<FONT 
  face="Times New Roman">Winboard</FONT>引擎都是支持<FONT 
  face="Times New Roman">Nalimov</FONT>式,其中<FONT 
  face="Times New Roman">Crafty</FONT>在<FONT 
  face="Times New Roman">15.21</FONT>版本之前使用<FONT 
  face="Times New Roman">Edwards</FONT>式,之后只支持<FONT 
  face="Times New Roman">Nalimov</FONT>式;<FONT 
  face="Times New Roman">16.5</FONT>版本之后可使用压缩的<FONT 
  face="Times New Roman">Nalimov</FONT>式残局库。 
  <DT>  
  <DT><STRONG>  </STRONG><FONT face=Arial><STRONG>A5.</STRONG></FONT><FONT 
  face=黑体><STRONG> 从哪里可得到残局库?</STRONG></FONT> 
  <DT>  如果你有<FONT face="Times New Roman">Chessbase</FONT>发行的软件比如<FONT 
  face="Times New Roman">Fritz</FONT>,你就同时拥有<FONT 
  face="Times New Roman">3-4</FONT>子压缩<FONT 
  face="Times New Roman">Nalimov</FONT>式残局库。但你可能觉得不够,有三种方法可得到更多:购买、下载、自造。如果你有<FONT 
  face="Times New Roman">Chessmaster9000</FONT>,<FONT 
  face="Times New Roman">CD</FONT>原盘上已附带所有<FONT 
  face="Times New Roman">4</FONT>子和部分<FONT 
  face="Times New Roman">5</FONT>子残局库。写作此文时,<FONT 
  face="Times New Roman">Chessmaster9000</FONT>专用的这种<FONT 
  face="Times New Roman">EDGB</FONT>残局库既还没有得出售、也没有地方下载。 
  <DT>  <FONT face="Times New Roman">Chessbase</FONT>出版发行的<FONT 
  face="Times New Roman">The Chessbase Endgame Turbo CD</FONT>一共四张<FONT 
  face="Times New Roman">CD</FONT>,包含<FONT 
  face="Times New Roman">Nalimov</FONT>式全部<FONT 
  face="Times New Roman">3</FONT>和<FONT 
  face="Times New Roman">4</FONT>子、以及部分重要的<FONT 
  face="Times New Roman">5</FONT>子残局库,还可找得到一套<FONT 
  face="Times New Roman">9CD</FONT>的,包含更全。 
  <DT>  关于下载,你可以到<FONT 
  face="Times New Roman">ftp://ftp.cis.uab.edu/pub/hyatt/TB</FONT>去下载所有<FONT 
  face="Times New Roman">3</FONT>、<FONT face="Times New Roman">4</FONT>、<FONT 
  face="Times New Roman">5</FONT>和少部分<FONT 
  face="Times New Roman">6</FONT>子残局库<FONT 
  color=#000080>【译注:对于熟悉国际象棋软件的,这个</FONT><FONT face="Times New Roman" 
  color=#000080>FTP</FONT><FONT color=#000080>站可说大大有名,既可以下载</FONT><FONT 
  face="Times New Roman" color=#000080>Nalimov</FONT><FONT 
  color=#000080>式残局库,也是提供各版本</FONT><FONT face="Times New Roman" 
  color=#000080>Crafty</FONT><FONT color=#000080>下载的老家】</FONT>,要下载<FONT 
  face="Times New Roman">5</FONT>子以上的残局库,你需要较快的网上下载速度,因为它们很大。<FONT 
  color=#000080>【单单一个文件上百</FONT><FONT face="Times New Roman" 
  color=#000080>M</FONT><FONT color=#000080>是很平常的,而且文件很多】</FONT> 
  <DT>  至于自造残局库,可使用<FONT face="Times New Roman">tbgen.exe</FONT>这个工具,下载: 
  <DT><A href="ftp://ftp.cis.uab.edu/pub/hyatt/TB/tbexe.zip"><FONT 
  face="Times New Roman">ftp://ftp.cis.uab.edu/pub/hyatt/TB/tbexe.zip</FONT></A>,教程可在<A 
  href="http://moq.pythoz.com/WinBoard.htm" target=_blank><FONT 
  face="Times New Roman">http://moq.pythoz.com/WinBoard.htm</FONT></A>找;<A 
  href="http://www.aarontay.per.sg/winboard/EndgameP.html" target=_blank><FONT 
  face="Times New Roman">http://www.aarontay.per.sg/winboard/EndgameP.html</FONT></A>也有。但想自造<FONT 
  face="Times New Roman">5</FONT>子残局,需要很快的电脑和大量的内存。 
  <DT>  
  <DT><STRONG>  </STRONG><FONT face=Arial><STRONG>A9.</STRONG></FONT><FONT 
  face="Times New Roman"><STRONG> </STRONG></FONT><FONT 
  face=黑体><STRONG>残局库文件有多大?我需要完整的5子残局库吗?</STRONG></FONT> 
  <DT>  注意都是指<FONT face="Times New Roman">Nalimov</FONT>式。 
  <DT>  安装残局库文件越多,程序的棋力就越强。可是,一套完整的<FONT face="Times New Roman">3</FONT>、<FONT 
  face="Times New Roman">4</FONT>、<FONT 
  face="Times New Roman">5</FONT>子残局文件要占<FONT 
  face="Times New Roman">7.05GB</FONT>的硬盘空间!<FONT 
  color=#000080>【所以想下载的话有些心理准备】</FONT>注意你购买的很多号称“全版”的残局库<FONT 
  face="Times New Roman">CD</FONT>其实并不是完整的,有些不重要的残局库被剔除了,比如王<FONT 
  face="Times New Roman">+</FONT>后<FONT face="Times New Roman">+</FONT>车<FONT 
  face="Times New Roman">+</FONT>象对单王这样的<FONT 
  face="Times New Roman">5</FONT>子残局,引擎靠算完全足够了,没必要用残局库。人们多数都是下载完整的<FONT 
  face="Times New Roman">3</FONT>子和<FONT 
  face="Times New Roman">4</FONT>子库,然后选择一些<FONT 
  face="Times New Roman">5</FONT>子库来下载。由于残局中有车存在的情况较多,所以优先下载带车的残局库文件。 
  <DT>  一般不同子数的残局库文件放在同一目录下,然后在引擎的设置文件中指明残局库的路径就可使用了。除非另有特别需求可有些放在子目录下,而且要检查一下你的引擎、或界面是否允许设置指向不同的残局库路径。<FONT 
  face="Times New Roman">Yace</FONT>的作者指出,几乎所有的引擎都支持同时指向不同的残局库路径。 
  <DT>  使用残局库时,有个问题要注意处理好,否则可能出现啼笑皆非的情况。比如你有王<FONT 
  face="Times New Roman">+</FONT>车<FONT face="Times New Roman">+</FONT>兵对王<FONT 
  face="Times New Roman">+</FONT>车的残局库文件<FONT 
  face="Times New Roman">(</FONT>假定你已有全套<FONT 
  face="Times New Roman">3</FONT>和<FONT face="Times New Roman">4</FONT>子残局库<FONT 
  face="Times New Roman">)</FONT>,这种情况下你应同时还有王<FONT 
  face="Times New Roman">+</FONT>后<FONT face="Times New Roman">+</FONT>车对王<FONT 
  face="Times New Roman">+</FONT>车的残局库文件,因为要考虑兵升变为后的情况! 
  <DT>  有些引擎很“笨”的,假如你缺少王<FONT face="Times New Roman">+</FONT>后<FONT 
  face="Times New Roman">+</FONT>车对王<FONT 
  face="Times New Roman">+</FONT>车的残局库文件,在某些强方可胜的王<FONT 
  face="Times New Roman">+</FONT>车<FONT face="Times New Roman">+</FONT>兵对王<FONT 
  face="Times New Roman">+</FONT>车残局里,且兵可升变为后的情况下,它竟然不懂得升变的!为什么会这样呢?因为你有王<FONT 
  face="Times New Roman">+</FONT>车<FONT face="Times New Roman">+</FONT>兵对王<FONT 
  face="Times New Roman">+</FONT>车的残局库文件,对于当前局面引擎通过查找残局库看到强方胜;而对于兵升变为后的局面,引擎找不到相应王<FONT 
  face="Times New Roman">+</FONT>后<FONT face="Times New Roman">+</FONT>车对王<FONT 
  face="Times New Roman">+</FONT>车残局库文件,虽然兵升变为后,引擎当然评价强方获得很高分的优势<FONT 
  face="Times New Roman">(</FONT>其实也是胜势<FONT 
  face="Times New Roman">)</FONT>,但也是只会定为“相对不确定”,也就是说很高分的优势还是不如已明确指出的胜利“更高分”!类似的情况还有,比方你有王<FONT 
  face="Times New Roman">+</FONT>后<FONT face="Times New Roman">+</FONT>兵对王<FONT 
  face="Times New Roman">+</FONT>后的残局库文件却没有王<FONT 
  face="Times New Roman">+</FONT>后<FONT face="Times New Roman">+</FONT>后对王<FONT 
  face="Times New Roman">+</FONT>后文件,那么…… 
  <DT>  有些引擎比较“智能”,能避免这个问题,因此缺乏某些残局库文件也没关系;但有些比如<FONT 
  face="Times New Roman">Fritz</FONT>、<FONT 
  face="Times New Roman">Tiger</FONT>、<FONT 
  face="Times New Roman">Amy</FONT>、<FONT 
  face="Times New Roman">Comet</FONT>、<FONT 
  face="Times New Roman">Gandalf</FONT>就不会处理了。<FONT 
  color=#000080>【译注:原文如此,但他没说到哪个版本的</FONT><FONT face="Times New Roman" 
  color=#000080>Fritz</FONT><FONT color=#000080>和</FONT><FONT 
  face="Times New Roman" color=#000080>Tiger</FONT><FONT 
  color=#000080>都有这个问题】</FONT> 
  <DT>  当然,上述那个情况,如果是存在有快速将杀的可能,倒不一定出现这个问题。 
  <DT>  注意,<FONT face="Times New Roman">Yace</FONT>目前还不支持<FONT 
  face="Times New Roman">4+1</FONT>的<FONT 
  face="Times New Roman">5</FONT>子残局库,即一方有王和随便三子<FONT 
  face="Times New Roman">/</FONT>兵,另一方单王;<FONT color=#000080>【译注:</FONT><FONT 
  face="Times New Roman" color=#000080>4+1</FONT><FONT 
  color=#000080>未必很好胜,甚至难胜的;原文提到,但没说什么,这种特殊情况,比如:王</FONT><FONT 
  face="Times New Roman" color=#000080>+</FONT><FONT 
  color=#000080>三只最边的兵叠在一起对处在这边上的单王……】</FONT> 
  <DT>  
  <DT><STRONG>  </STRONG><FONT face=Arial><STRONG>A10.</STRONG></FONT><FONT 
  face="Times New Roman"><STRONG> </STRONG></FONT><FONT 
  face=黑体><STRONG>关于6子残局库</STRONG></FONT> 
  <DT>  就我所知,使用到<FONT face="Times New Roman">6</FONT>子残局的引擎还不多,尽管从原理上让引擎使用<FONT 
  face="Times New Roman">6</FONT>子残局库很简单。 
  <DT>  <FONT face="Times New Roman">6</FONT>子残局库的用法没什么变的,一样。能下载<FONT 
  face="Times New Roman">Nalimov</FONT>式<FONT 
  face="Times New Roman">6</FONT>子残局库的地方是<A 
  href="ftp://ftp.cis.uab.edu/pub/hyatt/TB/Six/" target=_blank><FONT 
  face="Times New Roman">ftp://ftp.cis.uab.edu/pub/hyatt/TB/Six/</FONT></A>,目前还不多,而且一个文件就大于<FONT 
  face="Times New Roman">2G</FONT>,所以分成两部分供下载。 
  <DT>  引擎使用查找<FONT face="Times New Roman">6</FONT>子残局库,对于系统还有一些严厉的技术要求,要求很高。 
  <DT>  目前的<FONT 
  face="Times New Roman">6</FONT>子残局库,不包含兵的几乎齐了,而包含兵的还没出现。估计全套的<FONT 
  face="Times New Roman">6</FONT>子残局库要占用<FONT 
  face="Times New Roman">1000G</FONT>的空间大小。 
  <DT>  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -