lhl 8884f64fe1 10-8 пре 3 година
..
test 8884f64fe1 10-8 пре 3 година
CONTRIBUTING.md 8884f64fe1 10-8 пре 3 година
LICENSE.md 8884f64fe1 10-8 пре 3 година
README.md 8884f64fe1 10-8 пре 3 година
dijkstra.js 8884f64fe1 10-8 пре 3 година
package.json 8884f64fe1 10-8 пре 3 година

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.