An open API service indexing awesome lists of open source software.

https://github.com/raitraidma/pggraph

Implements graph algorithms in PostgreSQL. Currently implemented: Kruskal's algorithm, Dijkstra's algorithm.
https://github.com/raitraidma/pggraph

Last synced: about 1 year ago
JSON representation

Implements graph algorithms in PostgreSQL. Currently implemented: Kruskal's algorithm, Dijkstra's algorithm.

Awesome Lists containing this project

README

          

# PgGraph

# Minimum spanning tree
* https://en.wikipedia.org/wiki/Minimum_spanning_tree

## Kruskal's algorithm
* https://en.wikipedia.org/wiki/Kruskal%27s_algorithm
* Implementation is in kruskal.sql
* Example is in kruskal_test.sql

# Shortest path problem
* https://en.wikipedia.org/wiki/Shortest_path_problem

## Dijkstra's algorithm
* https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm
* Implementation is in dijkstra.sql
* Example is in dijkstra_test.sql