Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

Orthogonal hyperedge routing

Also known as Hyperedge routing

routing connector-routing

Orthogonal hyperedge routing connects a net of three or more ports with one tree of horizontal and vertical segments (a rectilinear Steiner tree). Its graph gives every vertex of the orthogonal visibility graph a horizontal and a vertical copy, joined by an edge that costs one bend. Heuristic 1 grows shortest-path trees from all ports at once and joins them with the cheapest links, as in Kruskal's method. Heuristic 2 grows and joins in turns, so later growth reuses the merged tree at no cost. A final step shifts straight runs only when that makes the tree strictly cheaper; the result is good but not proven optimal.

Pseudocode

algorithm InterleavedHyperedge(T)input: ports T of one net, separated orthogonal visibility graph G′output: a tree over edges of G′ that connects every port of Tfor each t in T doadd-route({t})                           ▷ a sub-route; its nodes enter FRONTIER at cost 0BRIDGES ← ∅while FRONTIER ≠ ∅ or BRIDGES ≠ ∅ doif BRIDGES = ∅ or 2 · min-cost(FRONTIER) < min-cost(BRIDGES) then(c, n, owner) ← extract-min(FRONTIER)if n is not reached and owner is alive thenreach(n, c, owner)for each (m, w) in edges(G′, n) doif m is not reached theninsert(FRONTIER, (c + w, m, owner))else if owner[m] ≠ owner theninsert(BRIDGES, (c + w + cost[m], n, m))else(c, a, b) ← extract-min(BRIDGES)if fresh(c, a, b) then                 ▷ both owners alive, cost still currentS ← merge(route(a), route(b), path-to(a), path-to(b), edge(a, b))if S holds every port of T thenreturn improve(prune-leaves(S))forget(owner[a], owner[b])add-route(S)                         ▷ grow again from all of S at cost 0return failure

In the crates

Lineage

Comes from

builds on Orthogonal visibility graph

Led to

Nothing on this site.

Papers

  1. Orthogonal Hyperedge Routing Michael Wybrow, Kim Marriott, Peter J. Stuckey · 2012· Diagrammatic Representation and Inference (Diagrams 2012), LNCS introduces doi 10.1007/978-3-642-31223-6_10