| Crates.io | quantized-pathfinding |
| lib.rs | quantized-pathfinding |
| version | 0.1.1 |
| created_at | 2025-05-26 03:57:31.196642+00 |
| updated_at | 2025-05-26 13:39:30.563511+00 |
| description | Quantization before pathfinding |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1688914 |
| size | 1,467,104 |
I had a picking plugin, which is getting bloated. So i decided to separate the algorithmic part.
quantized_astarThis preprocesses the input before the target algorithm(pathfinding) and roughly recovers the output.
flowchart LR
subgraph quantized-pathfinding
direction LR
quantizer --> algorithm
algorithm --> dequantizer
end
id1[/input/] --> quantized-pathfinding
quantized-pathfinding --> id2[/output/]
Indeed(to just use algorithm), you don't need to use this. You can, for example, implement float-like type to directly work with pathfinding](https://docs.rs/pathfinding/latest/pathfinding/).
What'd be different from theory?
It's finite. Use the boundry instead of infinity in from-book procedures.
Any unobvious catch?
The input type seems very generous but it may need more traits or method as you need within the explorative body of the algorithm.