Crates.io | graph-algorithms |
lib.rs | graph-algorithms |
version | 0.1.3 |
source | src |
created_at | 2023-04-23 22:52:48.333161 |
updated_at | 2023-05-02 12:49:31.221598 |
description | A crate for 5 graph algorithms - DIJKSTRA'S, BFS, DFS, KOSARAJU'S and BELLMAN FORD ALGORITHM |
homepage | |
repository | https://github.com/SanskrutiReddy/Rust-crate-for-graph-algorithms |
max_upload_size | |
id | 846885 |
size | 57,313 |
This is a Rust command-line application that implements 5 graph algorithms, namely
To get started with this application, you must have Rust and Cargo installed on your system. Once you have Rust and Cargo installed, you can clone this repository and run the following command to build and run the application:
cargo run
This will start the application and present a menu of available algorithms. Select an algorithm by entering the corresponding number and pressing Enter. The application will then run the selected algorithm. After that you can enter the necessary details displayed on the command prompt to display the results.
To run the test cases, you can mention the following command:
cargo test