diff options
| author | lazydancer <jrpucula@gmail.com> | 2024-12-22 17:33:11 -0500 |
|---|---|---|
| committer | lazydancer <jrpucula@gmail.com> | 2024-12-22 17:33:11 -0500 |
| commit | 2c5b7da8165e3f8b90748e8ced1de0e3e8d52309 (patch) | |
| tree | 6d6e4e1d0cb0c7ec5e1dff83bfeda4b044258b81 /rust_backend/src/pathfinding/graph.rs | |
| download | haul-2c5b7da8165e3f8b90748e8ced1de0e3e8d52309.tar.gz | |
Initial
Diffstat (limited to 'rust_backend/src/pathfinding/graph.rs')
| -rw-r--r-- | rust_backend/src/pathfinding/graph.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rust_backend/src/pathfinding/graph.rs b/rust_backend/src/pathfinding/graph.rs new file mode 100644 index 0000000..0352007 --- /dev/null +++ b/rust_backend/src/pathfinding/graph.rs @@ -0,0 +1,7 @@ +use crate::pathfinding::models::{MapNode, Graph}; + +use std::collections::HashMap; + +pub fn generate_graph(stations: &Vec<MapNode>) -> Graph { + HashMap::new() +}
\ No newline at end of file |
