nedp / comp90025-proj1

Parallel implementation of Dijkstra's algorithm for Project 1 of COMP90025 Parallel and Multicore Computing at The University of Melbourne in semester 2 2015.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parallel Dijkstra's Algorithm

COMP90025 Project 1

A parallel program which randomly generates a graph, then runs Dijkstra's algorithm on it.

Testing

The serial version of the code can be be tested with Ceedling and its Unity testing framework:

  1. Install the ceedling gem: $ gem install ceedling
  2. Set up the ceedling environment: $ ceedling new .
  3. Run the tests: $ rake test:all

Building

$ make pdijkstra

Running

$ target/pdijkstra <size> <b> <max_weight> <seed> <nthreads>

Parameter Description
size Number of vertices in the generated graph.
b Probability (0.0 to 1.0) that a given pair of vertices will have an edge.
max_weight Maximum edge weight.
seed Seed to use for randomly generating the graph.
nthreads Number of threads to use.

About

Parallel implementation of Dijkstra's algorithm for Project 1 of COMP90025 Parallel and Multicore Computing at The University of Melbourne in semester 2 2015.


Languages

Language:C 95.3%Language:Makefile 4.2%Language:Ruby 0.5%