Crates.io | shortestpath |
lib.rs | shortestpath |
version | 0.2.0 |
source | src |
created_at | 2022-12-24 17:21:19.286843 |
updated_at | 2024-02-18 17:50:15.270281 |
description | Shortest Path is an experimental library finding the shortest path from A to B. |
homepage | https://gitlab.com/ufoot/shortestpath |
repository | https://gitlab.com/ufoot/shortestpath/tree/main |
max_upload_size | |
id | 745006 |
size | 50,641 |
Shortest Path is an experimental library finding the shortest path from A to B, implemented in Rust.
For now this is a toy project, clearly NOT suitable for production use.
[TODO...]
Technically, this is a variant of Dijkstra's Algorithm.
A famous, classical algorithm which we re-invented (as in, re-invent the wheel) with my friend Thomas Colcombet back in 1995. Back in those days we did not have access to Internet and never stumbled on that great work by Dijkstra but somehow managed to use its main idea. First code snippets in Liquid War 3.
This implementation tries to make it independant from the Liquid War game and offer a multi-purpose version. It still aims at speed execution rather than exactness, in the context of many agents trying to find the shortest point to a single target.
The pathfinding crate has a multi-purpose, very likely stricter version of this, along with many other path finding algorithms.
It has been a great source of inspiration.
Shortest Path is licensed under the MIT license.