Refactor routing internals and archive retry benchmarks

This commit is contained in:
Jan Petykiewicz 2026-11-26 19:58:46 -08:00
commit ea5cfe7f31

View file

@ -181,7 +181,9 @@ For eligible unseeded layouts with fixed headings along both axes, `local-sbend`
If short, forward, same-heading shifts across both axes still need search, automatic can run the full initial guide budget first. The near-port probe and other fallbacks follow if needed. The identical guide retry is skipped when the first pass ran without a timeout. Calls with an iteration callback, shuffled net ordering, or at most 100 nodes per search use the regular search order.
On eligible ordered horizontal banks, `column-jogs` can assign lanes across separated obstacle columns before the initial search probe. It schedules the rises and drops as staggered pairs of 90-degree turns, using each net's width and the configured clearance. Calls with an iteration callback or shuffled ordering try column jogs after the probe if needed. When only one net remains after an incumbent-residual attempt, `residual-dogleg` tries a four-turn detour through gaps between the locked paths and obstacles. Both planners verify the complete layout before selecting it.
On eligible ordered horizontal banks, `column-jogs` can assign lanes across separated obstacle columns before the initial search probe. It schedules the rises and drops as staggered pairs of 90-degree turns, using each net's width and the configured clearance. Calls with an iteration callback or shuffled ordering try column jogs after the probe if needed.
The `residual-dogleg` planner tries a four-turn detour through gaps between verified paths and obstacles. When the near-port probe leaves one unfinished net on an unseeded layout of at least three nets, automatic can try this detour before expanding the search budget. This early attempt requires full coverage to be the target and runs with deterministic ordering and no iteration callback. The planner can also run after an incumbent-residual attempt. Both constructive planners verify the complete layout before selecting it.
When an incumbent-residual attempt falls short of the routing bound, automatic can retry a shared portal with a joint lane assignment. It keeps the incumbent paths locked and assigns distinct lanes to two to four residual nets at one portal. The retry needs an unresolved net at that portal and a changed guide. It uses the initial node budget and at most three congestion iterations. An improving candidate is checked together with the incumbent paths before it can be selected.