张佳燕 10c03ccc6b first 8 mēneši atpakaļ
..
test 10c03ccc6b first 8 mēneši atpakaļ
.travis.yml 10c03ccc6b first 8 mēneši atpakaļ
CONTRIBUTING.md 10c03ccc6b first 8 mēneši atpakaļ
LICENSE.md 10c03ccc6b first 8 mēneši atpakaļ
README.md 10c03ccc6b first 8 mēneši atpakaļ
dijkstra.js 10c03ccc6b first 8 mēneši atpakaļ
package.json 10c03ccc6b first 8 mēneši atpakaļ

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.