WangZixian fecfac1207 TEXT 10 ماه پیش
..
test fecfac1207 TEXT 10 ماه پیش
.travis.yml fecfac1207 TEXT 10 ماه پیش
CONTRIBUTING.md fecfac1207 TEXT 10 ماه پیش
LICENSE.md fecfac1207 TEXT 10 ماه پیش
README.md fecfac1207 TEXT 10 ماه پیش
dijkstra.js fecfac1207 TEXT 10 ماه پیش
package.json fecfac1207 TEXT 10 ماه پیش

README.md

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.