API/api.medcify.app/node_modules/dijkstrajs
2022-09-26 11:41:44 +05:30
..
test final 2022-09-26 11:41:44 +05:30
.travis.yml final 2022-09-26 11:41:44 +05:30
CONTRIBUTING.md final 2022-09-26 11:41:44 +05:30
dijkstra.js final 2022-09-26 11:41:44 +05:30
LICENSE.md final 2022-09-26 11:41:44 +05:30
package.json final 2022-09-26 11:41:44 +05:30
README.md final 2022-09-26 11:41:44 +05:30

dijkstrajs.js

dijkstrajs is a simple JavaScript implementation of Dijkstra's single-source shortest-paths algorithm.

The code was originally written by Wyatt Baldwin and turned into a node module by Thomas Cort.

Requirements

Installation

npm install dijkstrajs

Examples

See test/dijkstra.test.js in the sources for some example code.