An efficient multicore algorithm for minimal length addition chains

Bahig, Hazem; Kotb, Yasser;

Abstract


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.


Other data

Title An efficient multicore algorithm for minimal length addition chains
Authors Bahig, Hazem ; Kotb, Yasser
Keywords Addition chain;Branch-and-bound;High performance computing;Minimal length;Multicore;Parallel algorithm
Issue Date 1-Mar-2019
Publisher MDPI
Journal Computers 
Volume 8
Issue 1
ISSN 2073-431X
DOI 10.3390/computers8010023
Scopus ID 2-s2.0-85073472869
Web of science ID WOS:000464342200001

Recommend this item

Similar Items from Core Recommender Database

Google ScholarTM

Check

Citations 8 in scopus
views 20 in Shams Scholar


Items in Ain Shams Scholar are protected by copyright, with all rights reserved, unless otherwise indicated.