Logo image
A Linear-C implementation of Dijkstra's algorithm
Technical documentation   Open access

A Linear-C implementation of Dijkstra's algorithm

Chung-Hsing Hsu, Don Smith and Saul Levy
Rutgers University
1996
DOI:
https://doi.org/10.7282/t3-g4x0-zp04

Abstract

Linear-C is a data-parallel extension to C. In this report we show, by implementing Dijkstra's algorithm in Linear-C to solve the shortest-paths problem, that (1) data-parallelism in Dijkstra's algorithm can be easily expressed in Linear-C, (2) even a small amount of data parallelism can speed up the whole algorithm substantially, and (3) the algorithm, the data representation, and the efficiency are closely inter-related. Three implementations are provided, each with a different level of data parallelism exploited. The programs are explained, their time complexities are analyzed, and their strength and weakness in efficiency are compared.
pdf
lcsr-tr-274188.80 kBDownloadView
Version of Record (VoR) Open Access
url
Report an accessibility issueView
Please complete a content remediation request to report an accessibility issue with a library electronic resource, website, or service.

Metrics

109 File downloads
104 Record Views

Details

Logo image