Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

Rip-up and reroute

routing connector-routing

Rip-up and reroute repairs routes that conflict, for example when too many connectors use one channel (the free space between obstacles). It removes (rips up) the routes in a conflict and routes them again, while the other routes stay in place. The new routes can then avoid the crowded areas, and the step repeats until no conflict is left or a limit is reached. In connector-routing, route_all does this inside PathFinder, with edge costs that grow on contested channels. It does not guarantee an optimal or conflict-free result, so route_all reports the overuse that is left.

Pseudocode

algorithm RipUpAndReroute(C, G, k)input: connectors C on routing graph G, at most k iterationsoutput: one route per connectorfor each c in C doroute[c] ← a-star(G, c, cost)commit(route[c])                       ▷ occupies tracks of the resources it usesfor i in 2, …, k doU ← connectors c whose route[c] uses a resource over capacityif U = ∅ thenbreakraise-costs()                          ▷ PathFinder: history and present factor growfor each c in U dorip-up(route[c])                     ▷ frees its tracks; the other routes stayroute[c] ← a-star(G, c, cost)        ▷ cost is higher on contested resourcescommit(route[c])return route

In the crates

Lineage

Comes from

Nothing on this site.

Led to

PathFinder combines it

Papers

  1. PathFinder: A Negotiation-Based Performance-Driven Router for FPGAs Larry McMurchie, Carl Ebeling · 1995· ACM Third International Symposium on Field-Programmable Gate Arrays (FPGA '95) applies doi 10.1145/201310.201328