daShangDao_psiWebApp/node_modules/dijkstrajs
2026-06-03 10:53:47 +08:00
..
test first commit 2026-06-03 10:53:47 +08:00
.travis.yml first commit 2026-06-03 10:53:47 +08:00
CONTRIBUTING.md first commit 2026-06-03 10:53:47 +08:00
dijkstra.js first commit 2026-06-03 10:53:47 +08:00
LICENSE.md first commit 2026-06-03 10:53:47 +08:00
package.json first commit 2026-06-03 10:53:47 +08:00
README.md first commit 2026-06-03 10:53:47 +08:00

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.