lhl 2576c8578e 1-13-1 3 år sedan
..
test 2576c8578e 1-13-1 3 år sedan
CONTRIBUTING.md 2576c8578e 1-13-1 3 år sedan
LICENSE.md 2576c8578e 1-13-1 3 år sedan
README.md 2576c8578e 1-13-1 3 år sedan
dijkstra.js 2576c8578e 1-13-1 3 år sedan
package.json 2576c8578e 1-13-1 3 år sedan

README.md

dijkstrajs.js

NPM

Build Status

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.