Commit Graph

10 Commits

Author SHA1 Message Date
Mikolaj Wielgus 5e8d5974f4 refactor(astar): Add interface to separately push single node and pop 2025-11-19 19:29:38 +01:00
Mikolaj Wielgus 88f8b3610d refactor(autorouter/planar_reconfigurer): Use generic A* to find planar configurations
This makes the 4x4_1206_led_matrix_breakout test fail.

However, commenting out

```
if curr_g_score + *edge_g_cost >= entry_score {
    continue;
}
```

makes the test successful again. I will investigate this soon.
2025-11-18 18:42:34 +01:00
Mikolaj Wielgus df23ea8398 router: move top-level files to own `router` module 2024-04-14 20:25:01 +00:00
Mikolaj Wielgus 66d5b3e605 mesh: Remove `Visitable`, `VisitMap` trait impls
I don't know why the original A* implementation needed tem.
2023-11-04 18:33:14 +00:00
Mikolaj Wielgus 4e8e9298e6 astar: Probe neighbors before adding tem to queue 2023-10-12 00:19:38 +00:00
Mikolaj Wielgus af61a6b120 router: Rename `Route` to `Tracer` and simplify related code 2023-10-11 22:23:18 +00:00
Mikolaj Wielgus c492bd1dda Parametrize routing using `RouteStrategy` trait 2023-09-02 06:05:13 +02:00
Mikolaj Wielgus bea6d84878 Implement `AstarStrategy` trait to not borrow A* context multiple times 2023-09-02 01:44:35 +02:00
Mikolaj Wielgus 1d5b428bf9 Split out drawing routines from `Router` into `Draw` 2023-08-30 06:34:56 +02:00
Mikolaj Wielgus 14f6b9f870 Implement basic A* routing 2023-08-27 21:14:42 +02:00