...
首页> 外文期刊>Computers >An Efficient Multicore Algorithm for Minimal Length Addition Chains
【24h】

An Efficient Multicore Algorithm for Minimal Length Addition Chains

机译:最小长度加法链的高效多核算法

获取原文
   

获取外文期刊封面封底 >>

       

摘要

A minimal length addition chain for a positive integer m is a finite sequence of positive integers such that (1) the first and last elements in the sequence are 1 and m , respectively, (2) any element greater than 1 in the sequence is the addition of two earlier elements (not necessarily distinct), and (3) the length of the sequence is minimal. Generating the minimal length addition chain for m is challenging due to the running time, which increases with the size of m and particularly with the number of 1s in the binary representation of m . In this paper, we introduce a new parallel algorithm to find the minimal length addition chain for m . The experimental studies on multicore systems show that the running time of the proposed algorithm is faster than the sequential algorithm. Moreover, the maximum speedup obtained by the proposed algorithm is 2.5 times the best known sequential algorithm.
机译:正整数m的最小长度加法链是正整数的有限序列,使得(1)序列中的第一个元素和最后一个元素分别为1和m,(2)序列中大于1的任何元素为两个先前元素的加法(不一定是不同的),以及(3)序列的长度最小。由于运行时间的原因,为m生成最小长度的加法链具有挑战性,运行时间随m的大小(特别是m的二进制表示形式中的1s数)而增加。在本文中,我们引入了一种新的并行算法来找到m的最小长度加法链。在多核系统上的实验研究表明,该算法的运行时间比顺序算法要快。此外,通过所提出的算法获得的最大加速是最著名的顺序算法的2.5倍。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号