Skip to content

AlexSmarandache15/dijkstra-parallel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dijkstra-parallel

This is a study project of Dijkstra's algorithm for university, on the subject of parallel and distributed algorithms.
The project contains 7 implementations:

  • C++ Sequential
  • Java Sequential(using priority queue)
  • C++ STL Parallel
  • C++ OpenMP
  • C++ MPI
  • Java using Parallel Streams
  • Java using Threads

The input for each algorithm will be extracted from an "input.txt" file inside project folder.
The input file has the following format:
no_of_nodes source_node
c00 c01 ... c0(n-1)
c10 c11 ... c1(n-1)
...................
c(n-1)0 c(n-1)1 ... c(n-1)(n-1) Where c is the adjacency matrix for graph.
The output will be given in a "output.txt" file inside the project folder.
To run project I used: