You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lion bcd5d1efca
修改
1 month ago
..
test 修改 1 month ago
.travis.yml 修改 1 month ago
CONTRIBUTING.md 修改 1 month ago
LICENSE.md 修改 1 month ago
README.md 修改 1 month ago
dijkstra.js 修改 1 month ago
package.json 修改 1 month ago

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.