WXF象棋规则的完整实现
Complete Implementation of WXF Chinese Chess Rules
AI总结:
本文提出一种完整实现WXF中国象棋规则的算法,通过多项优化加速重复局面处理,在所有110个示例中正确裁定,集成至引擎后使胜率提升5%。
摘要:
与国际象棋中所有重复局面均判和不同,中国象棋中的重复局面可能根据双方所做出的重复类型,导致赢、和或输的结果。中国象棋应用开发面临的最大障碍之一是缺乏能够正确判定比赛的系统。本文提出了一种完整算法,可在WXF手册中的所有110个示例情况下正确裁定WXF规则。我们引入了几种新颖的优化方法,在不影响程序正确性的情况下加快了重复局面的处理速度。该算法可在引擎中使用,将其集成到原型引擎后,我们观察到棋力总共提高了+10点评分,即胜率增加了5%。
英文摘要:
Unlike repetitions in Western Chess where all repetitions are draws, repetitions in Chinese Chess could result in a win, draw, or loss depending on the kind of repetition being made by both players. One of the biggest hurdles facing Chinese Chess application development is a proper system for judging games correctly. This paper introduces a complete algorithm for ruling the WXF rules correctly in all 110 example cases found in the WXF manual. We introduce several novel optimizations for speeding up the repetition handling without compromising the program correctness. This algorithm is usable in engines, and we saw a total increase in playing strength by +10 point rating increase, or an increased 5% winrate when integrating this approach into our prototype engine.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。