项目作者: vishaln15

项目描述 :
Finding shortest path from source node to all nodes using dijkstra's in linearithmic time
高级语言: C
项目地址: git://github.com/vishaln15/ShortestPathFinder.git
创建时间: 2020-10-21T04:53:41Z
项目社区:https://github.com/vishaln15/ShortestPathFinder

开源协议:

下载


ShortestPathFinder

Finding shortest path from source node to all nodes using dijkstra’s in linearithmic time

To implement Dijkstra’s (single source shortest path) algorithm in O(n log(n)) time, Priority queue was used since deletion of a node in Priority Queue happens in constant time. Therefore this aids in bringing down the time complexity from O(n2) to O(n log(n)).