lhl 4c0a86d693 3-18 3 лет назад
..
test 4c0a86d693 3-18 3 лет назад
CONTRIBUTING.md 4c0a86d693 3-18 3 лет назад
LICENSE.md 4c0a86d693 3-18 3 лет назад
README.md 4c0a86d693 3-18 3 лет назад
dijkstra.js 4c0a86d693 3-18 3 лет назад
package.json 4c0a86d693 3-18 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.