archieve-projects/微信机器人/node_modules/dijkstrajs
Li Wei 6d6bcf309d backup: 2025-02-24 2025-02-24 15:22:12 +08:00
..
test backup: 2025-02-24 2025-02-24 15:22:12 +08:00
.travis.yml backup: 2025-02-24 2025-02-24 15:22:12 +08:00
CONTRIBUTING.md backup: 2025-02-24 2025-02-24 15:22:12 +08:00
LICENSE.md backup: 2025-02-24 2025-02-24 15:22:12 +08:00
README.md backup: 2025-02-24 2025-02-24 15:22:12 +08:00
dijkstra.js backup: 2025-02-24 2025-02-24 15:22:12 +08:00
package.json backup: 2025-02-24 2025-02-24 15:22:12 +08:00

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.