首页    期刊浏览 2024年09月20日 星期五
登录注册

文章基本信息

  • 标题:An Efficient Multicore Algorithm for Minimal Length Addition Chains
  • 本地全文:下载
  • 作者:Hazem M. Bahig ; Yasser Kotb
  • 期刊名称:Computers
  • 电子版ISSN:2073-431X
  • 出版年度:2019
  • 卷号:8
  • 期号:1
  • 页码:23-34
  • DOI:10.3390/computers8010023
  • 出版社:MDPI Publishing
  • 摘要: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.
  • 关键词:addition chain; minimal length; parallel algorithm; branch-and-bound; multicore; high performance computing addition chain ; minimal length ; parallel algorithm ; branch-and-bound ; multicore ; high performance computing
国家哲学社会科学文献中心版权所有