dijkstra-suite
A Dijkstra's algorithm implementation that aims to be simple to use and fast to run
[!CAUTION] WIP: this crate is WORK IN PROGRESS and not ready to be used in production
Documentation
Check the documentation with example on docs.rs.
Quick Start
Add dijkstra-suite to your project, running
or add it to your Cargo.toml file
[]
= "0.1.0-beta.2"
Usage
Create a Graph and run it through dijkstra_path() function providing a starting and an ending node
use dijkstra_path;
use Graph;
use Path;
use ;
let mut graph: = default;
let node_a = Node ;
let node_b = Node ;
let node_c = Node ;
let node_d = Node ;
let node_e = Node ;
graph.insert;
graph.insert;
graph.insert;
graph.insert;
graph.insert;
let result = dijkstra_path;
let expected_path: = Path ;
assert_eq!
License
Authors
written with ποΈποΈ by Tanque
tanque Stands With Ukraine πΊπ¦οΈ
"Freedom doesn't come cheap"
tanque stands with people of Ukraine in their fight against the brutal russian aggression and unrightful occupation of their homeland
tanque stands with people of Ukraine in their fight for Freedom, for Peace, for Self-Determination, for Happiness
tanque stands with this generation of young ukrainians robbed away of their youth by the war, who will have to find the strength to get up once again and rebuild from the rubbles
By your side, for as long as it takes πͺοΈ
Slava Ukraini πΊπ¦οΈ
Donate
Please contribute and donate through official government channels or globally-know remarkable institutions:
-
UNITED24: Institutinal fundraising, charity and media platform of Ukrainian Government. It's possible to donate for food, medicine, medical assistance, refugees support and more
-
Medecins Sans Frontieres: Life-saving medical assistance both in war and peace time, all over the world
-
Protect A Volunteer: Independent matching platform to support a Volunteer on the frontline
Or use below badge:
humans die, but IDEAS are bulletproof
πΊπ¦οΈ οΈπͺπΊοΈ π³οΈβποΈ