Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Floyd Warshall Shortest Path Algorithm Analysis

Twitter Badge GitHub license alt text

Requirements

Requires some form of C++ compliation; preferably g++.

Usage

  • Invoke the make command to create an executable called floydWarshall.exe
  • Run the executable with..
    • ./floydWarshall [inputSize] [true/false]
    • Where inputSize is the size of the weighted graph
    • True for more dense graphs and false for more sparse graphs
  • Runs 2 implementations (one optimized) of the Floyd Warshall Algorithm with random weights and outputs the average run times of both

Concepts and Languages Used

  • How Floyd Washshall is performed and where optimizations could be made.
  • C++ was used because it is a high level language I felt comfortable using.
  • Timing the performance of algorithms in C++ using high-resolution clock.

About

An algorithm analysis and performance test of Floyd Warshall; an algorithm for finding the shortest paths in a weighted graph.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages