quantized-pathfinding

Crates.ioquantized-pathfinding
lib.rsquantized-pathfinding
version0.1.1
created_at2025-05-26 03:57:31.196642+00
updated_at2025-05-26 13:39:30.563511+00
descriptionQuantization before pathfinding
homepage
repository
max_upload_size
id1688914
size1,467,104
Luke Yoo (micttyoid)

documentation

README

Quantized-pathfinding

Motivation

I had a picking plugin, which is getting bloated. So i decided to separate the algorithmic part.

Currently working algorithm(s)

  • quantized_astar

How does this work

This 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/]

Why shoud i use this?

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/).

QnA

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.

Commit count: 0

cargo fmt