导游中台-游客端
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.
 
 
 
 
chenkainan 0637bf192e 提交 11 months ago
..
test 提交 11 months ago
.travis.yml 提交 11 months ago
CONTRIBUTING.md 提交 11 months ago
LICENSE.md 提交 11 months ago
README.md 提交 11 months ago
dijkstra.js 提交 11 months ago
package.json 提交 11 months 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.