1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! A Dijkstra's algorithm implementation that aims to be simple to use and fast to run
//!
//! ** simple.** nodes id and its cost are defined by yuor own types
//!
//! ```toml
//! [dependencies]
//! dijkstra-suite = "0.1.0-alpha.0"
//! ```
//!
//! ## Usage
//!
//! Just import the `add()` function and call it
//!
//! ```rust
//! use dijkstra_suite::add;
//!
//! let sum = add(400, 20);
//!
//! # assert_eq!(sum, 420);
//! ```