Skip to content

Graph datastructure & shortest path algorithms writen in C++

Notifications You must be signed in to change notification settings

nachiketa3299/RSP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSP Shortest Path Algorithms by RZN

Dependency

  • jbeder/yaml-cpp
  • For using <format>,
    • Above C++20 required
    • Not all compilers implements <format>

Data Structures

  • GraphBuilder converts yaml graph data in data/ to graph data.
  • IGraph is ADT of graph, use this interface to handle graphs without knowing specific implementation.
  • Currently only Graph_AdjacencyList implemented. (TODO)

Shortest Path Algorithms

  • Breadth First Search
  • Dijkstra
  • Bellman-Ford
  • Floyd-Warshall
  • A*

Todos

  • Implement graph using adjacency list
  • Implement graph using adjacency matrix
  • Divide implementation for:
    • Single Pair
    • Single Source
    • Single Destination
    • All Pairs
  • Implement not only for path length, but returning path itself