首页 | 本学科首页   官方微博 | 高级检索  
     

一种基于OpenMP的并行混合PVS算法*
引用本文:邹竞,马华,谢鲲.一种基于OpenMP的并行混合PVS算法*[J].计算机应用研究,2016,33(1).
作者姓名:邹竞  马华  谢鲲
作者单位:湖南涉外经济学院 信息科学与工程学院,湖南涉外经济学院 信息科学与工程学院,湖南大学 信息科学与工程学院
基金项目:国家自然科学(No. 61272148);湖南省科技计划项目(No. 2014FJ3122)
摘    要:针对传统串行混合PVS(Principal Variation Search,主要变例搜索)算法的计算量大、执行耗时长和无法利用多核资源的不足,提出了一种基于OpenMP(Open Multi-Processing)的并行混合PVS算法,该算法应用了PVSplitting(主要变例分裂)策略,自底向上将博弈树每一层的首个PV结点的每个分支的搜索线程化,利用多核CPU并行执行,并对临界区和线程调度进行了合理设计,以提高搜索效率。最后,基于一个真实的中国象棋博弈系统进行了实验,结果表明该算法拥有较高的剪枝率和加速比,能够明显提升混合PVS算法的执行性能。

关 键 词:并行计算  混合PVS算法  博弈树  OpenMP  PVSplitting
收稿时间:9/2/2014 12:00:00 AM
修稿时间:2015/11/19 0:00:00

A parallel hybrid PVS algorithm based on OpenMP
ZOU Jing,MA Hua and XIE Kun.A parallel hybrid PVS algorithm based on OpenMP[J].Application Research of Computers,2016,33(1).
Authors:ZOU Jing  MA Hua and XIE Kun
Affiliation:School of Information Science and Engineering,Hunan International Economics University,,School of Information Science and Engineering,Hunan University
Abstract:The traditional hybrid PVS (Principal Variation Search) algorithm fails in large amount of calculation and long execution time, and cannot take advantage of the multi-cores resources. This paper proposed a parallel hybrid PVS algorithm based on OpenMP (Open Multi-Processing). This algorithm used the PVSplitting strategy, and the search for the branchs of every level''s first PV node on game-tree are threading from bottom to up, executed by parallel processing on multi-cores CPU. It also presented the rational designed of critical section and thread scheduling for improving the search efficiency. Finally, this paper conducted experiments on the basis of a real Chinese chess computer game system, and the results show that this algorithm has high pruning efficiency and speedup ratio, and can improve remarkably the performance of hybrid PVS algorithm.
Keywords:parallel computing  hybrid PVS algorithm  game-tree  OpenMP  PVSplitting
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机应用研究》浏览原始摘要信息
点击此处可从《计算机应用研究》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号