xuhaolan dcfcf32603 11 hace 3 años
..
test dcfcf32603 11 hace 3 años
CONTRIBUTING.md dcfcf32603 11 hace 3 años
LICENSE.md dcfcf32603 11 hace 3 años
README.md dcfcf32603 11 hace 3 años
dijkstra.js dcfcf32603 11 hace 3 años
package.json dcfcf32603 11 hace 3 años

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.