Algorithm Search⌘K

Algorithmcore

Iterated 1-Steiner heuristic

Also called 1-Steiner heuristic, Kahng-Robins heuristic.

Kahng and Robins's heuristic that repeatedly adds the Hanan grid point that shortens the rectilinear MST most, and stops when no point makes it shorter.

Time
O(R n^3 log n) totalO(n^3 log n) per_iteration
Space
Θ(n^2) extra
Where
R = the number of rounds; n = the number of pins
Properties
deterministicnot exactiterative
Origin
Andrew B. Kahng, Gabriel Robins, 1990

The iterated 1-Steiner heuristic of Andrew Kahng and Gabriel Robins builds a short rectilinear Steiner tree for a net in electronic design automation (EDA). It starts from the rectilinear minimum spanning tree of the pins. In each round it tries every point of the Hanan grid, the crossings of the horizontal and vertical lines through the pins, as one extra Steiner point, and keeps the point that makes the minimum spanning tree shortest. It then drops Steiner points that no longer help, and repeats until no point makes the tree shorter. The tree is never longer than the minimum spanning tree, so it is within 3/2 of the optimum by Hwang's theorem. It is exact for three pins, but not for all nets, since the rectilinear Steiner tree problem is NP-hard.

In plain words

You must join some pins with horizontal and vertical wire, as short as possible. Joining the pins directly, pin to pin, is the minimum spanning tree. Often the wire gets shorter if you add a branch point that is not a pin, where three wires meet.

Where should such a point go? Draw a horizontal and a vertical line through every pin. Some best tree has all its branch points on the crossings of these lines, so only these crossings are worth trying.

Try each crossing in turn. Add it as an extra pin, compute the minimum spanning tree again, and see how much wire it saves. Keep the crossing that saves most. Then do it again with the new set of pins. If a branch point you added now joins only one or two wires, throw it away, because it saves nothing. Stop when no crossing saves any wire.

The problem

The input is a set PP of nn pins in the plane. A rectilinear Steiner tree is a set SS of extra points, the Steiner points, and a tree on P∪SP \cup S whose edges are drawn as horizontal and vertical wires, so that each edge uvuv costs the L1 distance d(u,v)=∣xu−xv∣+∣yu−yv∣d(u, v) = |x_u - x_v| + |y_u - y_v|. The output is a tree of small total length. For a fixed SS the best tree is the minimum spanning tree MST(P∪S)\mathrm{MST}(P \cup S) under L1, so the task is to choose SS.

The Hanan grid of PP is the set of the crossings (xi,yj)(x_i, y_j) of the vertical lines through the pins and the horizontal lines through the pins, at most n2n^2 points. By Hanan's theorem some optimal tree has all its Steiner points on it. The gain of a point xx for the set SS is

Δ(x,S)=∣MST(P∪S)∣−∣MST(P∪S∪{x})∣.\Delta(x, S) = |\mathrm{MST}(P \cup S)| - |\mathrm{MST}(P \cup S \cup \{x\})|.

The algorithm

  1. ITERATED-1-STEINER(P)
  2. 1H ← the points of the Hanan grid of P that are not pins; S ← ∅
  3. 2loop
  4. 3T ← MST(P ∪ S); base ← length(T)
  5. 4for each x in H \ S do gain(x) ← base − length(MST(P ∪ S ∪ {x}))
  6. 5if no x has gain(x) > 0 then return T
  7. 6add to S a point x of largest gain
  8. 7repeat remove from S each point of degree at most 2 in MST(P ∪ S)
  9. 8until no point is removed

Line L4 does not build each tree from nothing. The minimum spanning tree of P∪S∪{x}P \cup S \cup \{x\} uses only edges of TT and edges from xx, so it is the minimum spanning tree of a graph with fewer than 2(∣P∣+∣S∣)2(|P| + |S|) edges, found by Kruskal's algorithm in O(nlog⁡n)O(n \log n) time. Ties in line L6 go to the first point in the order of the Hanan grid, by xx and then by yy.

Example

Take the five pins (0,0)(0, 0), (4,1)(4, 1), (1,4)(1, 4), (5,5)(5, 5) and (2,3)(2, 3), the example of the rectilinear minimum spanning tree page. The lines through the pins have x∈{0,1,2,4,5}x \in \{0, 1, 2, 4, 5\} and y∈{0,1,3,4,5}y \in \{0, 1, 3, 4, 5\}, so the Hanan grid has 25 points, and 20 of them are not pins.

round base length best points and gains added
1 16 (2,1)(2, 1) and (4,3)(4, 3) with gain 2, six points with gain 1 (2,1)(2, 1)
2 14 (2,4)(2, 4) with gain 1 (2,4)(2, 4)
3 13 none stop

In round 1 the two best points tie, and (2,1)(2, 1) comes first in the order of the grid. Both added points have degree 3 in the tree, so line L7 removes nothing. The final tree has the edges

(1,4)(1,4) to (2,4)(2,4) of length 1, (2,3)(2,3) to (2,4)(2,4) of 1, (4,1)(4,1) to (2,1)(2,1) of 2, (2,3)(2,3) to (2,1)(2,1) of 2, (0,0)(0,0) to (2,1)(2,1) of 3 and (5,5)(5,5) to (2,4)(2,4) of 4,

with total length 13. A brute force over all sets of at most three Hanan points gives 13 as the optimum, so here the heuristic is exact, and it saves 3 of the 16 units of the minimum spanning tree.

Correctness

The proof shows the following.

  • Fast gains. The minimum spanning tree of P∪S∪{x}P \cup S \cup \{x\} can be taken from the edges of MST(P∪S)\mathrm{MST}(P \cup S) and the edges from xx. This is the cycle property: an edge uvuv outside the old tree has a path in the old tree whose edges are all at most d(u,v)d(u, v).
  • Removal is safe. A Steiner point of degree 1 or 2 can be removed without making the tree longer, since its one or two edges can be replaced by nothing or by the direct edge between its two neighbors, which is no longer by the triangle inequality.
  • Never worse than the MST. The length after every round is at most the length before it, so the output is at most ∣MST(P)∣|\mathrm{MST}(P)|, and so at most 3/2 times the optimum.
  • Termination. Each round makes the length strictly shorter, so no set SS comes back, and there are finitely many subsets of the Hanan grid.
  • At most n−2n - 2 Steiner points. After line L8 every Steiner point has degree at least 3 in a tree with nn pins, which allows at most n−2n - 2 of them.
  • Exact for three pins. The point with the median xx and the median yy is on the Hanan grid, and the star from it has the optimal length, the half perimeter of the bounding box.
Proof: Iterated 1-Steiner never makes the tree longer than the minimum spanning tree, ends, keeps at most n − 2 Steiner points and is exact for three pinsfull

Let PP be a set of nn distinct pins and dd the L1 distance. For a finite set QQ of points, MST(Q)\mathrm{MST}(Q) is a minimum spanning tree of the complete graph on QQ with lengths dd, and ∣MST(Q)∣|\mathrm{MST}(Q)| is its length. The value ∣MST(Q)∣|\mathrm{MST}(Q)| does not depend on which minimum spanning tree is taken. Let HH be the Hanan grid of PP minus the pins, and let S⊆HS \subseteq H be the current set of Steiner points.

Lemma 1 (path bound). Let TT be a minimum spanning tree of a complete graph with lengths dd, and let u,vu, v be two of its vertices. Every edge on the path of TT from uu to vv has length at most d(u,v)d(u, v).

Proof. Suppose an edge ff on the path has d(f)>d(u,v)d(f) > d(u, v). Removing ff splits TT into two parts, and uu and vv are in different parts, since ff is on the path between them. Then T−f+uvT - f + uv is a spanning tree shorter than TT, a contradiction. □\square

Lemma 2 (fast gain update). Let QQ be a finite set of points, TT a minimum spanning tree of QQ and x∉Qx \notin Q. Let GG be the graph on Q∪{x}Q \cup \{x\} with the edges of TT and the edges xqxq for all q∈Qq \in Q. Then a minimum spanning tree of GG is a minimum spanning tree of the complete graph on Q∪{x}Q \cup \{x\}.

Proof. Let T∗T^* be a minimum spanning tree of the complete graph on Q∪{x}Q \cup \{x\} with the most edges in GG. Suppose T∗T^* has an edge uvuv not in GG. Every edge at xx is in GG, so u,v∈Qu, v \in Q. Removing uvuv splits T∗T^* into two parts with uu and vv in different parts. The path of TT from uu to vv has an edge ff that joins the two parts, and d(f)≤d(u,v)d(f) \le d(u, v) by Lemma 1. So T∗−uv+fT^* - uv + f is a spanning tree no longer than T∗T^*, so it is minimum, and it has one more edge in GG, a contradiction. So T∗T^* lies in GG. A minimum spanning tree of GG is no longer than T∗T^*, and no shorter, since it spans the same points. □\square

So line L4 computes the exact gain Δ(x,S)\Delta(x, S) from TT and the ∣P∪S∣|P \cup S| edges at xx.

Lemma 3 (removal is safe). Let TT be a spanning tree of P∪SP \cup S and let D⊆SD \subseteq S be a set of points that each have degree at most 2 in TT. Then ∣MST(P∪S∖D)∣≤∣T∣|\mathrm{MST}(P \cup S \setminus D)| \le |T|.

Proof. Remove the points of DD one at a time. Let ss be the next point, with degree at most 2 in the current tree. If ss has degree 1, remove ss and its edge. If ss has degree 2 with neighbors aa and bb, remove ss and its two edges, and add the edge abab. In both cases the result is a spanning tree of the remaining points, and it is no longer, since d(a,b)≤d(a,s)+d(s,b)d(a, b) \le d(a, s) + d(s, b) by the triangle inequality. A point of DD that was a neighbor of ss loses the edge to ss and gains at most one new edge, so its degree does not grow and stays at most 2. At the end we have a spanning tree of P∪S∖DP \cup S \setminus D no longer than TT, and the minimum spanning tree is no longer than that. □\square

Theorem 1 (never longer than the MST). Let LrL_r be ∣MST(P∪S)∣|\mathrm{MST}(P \cup S)| at line L3 of round rr. Then L1=∣MST(P)∣L_1 = |\mathrm{MST}(P)| and Lr+1<LrL_{r + 1} < L_r for every round rr that does not return. So the output tree TT is a rectilinear Steiner tree of PP with ∣T∣≤∣MST(P)∣|T| \le |\mathrm{MST}(P)|.

Proof. At the start S=∅S = \emptyset. If round rr does not return, line L6 adds a point xx with Δ(x,S)>0\Delta(x, S) > 0, so the length after line L6 is Lr−Δ(x,S)<LrL_r - \Delta(x, S) < L_r. Each removal in line L7 does not make the length longer, by Lemma 3. So Lr+1<LrL_{r + 1} < L_r. The output is a spanning tree of P∪SP \cup S, so it is a Steiner tree of PP with the points of SS as Steiner points, and its length is the last LrL_r, which is at most L1L_1. □\square

By Hwang's theorem, ∣MST(P)∣≤32∣RSMT(P)∣|\mathrm{MST}(P)| \le \frac{3}{2} |\mathrm{RSMT}(P)|, so the output is within a factor 3/2 of the optimum.

Theorem 2 (termination). The algorithm returns after finitely many rounds.

Proof. The value LrL_r depends only on the set SS at line L3, and LrL_r strictly decreases by Theorem 1. So the sets SS at line L3 of different rounds are all different. They are subsets of the finite set HH, so there are at most 2∣H∣2^{|H|} rounds. The loop of lines L7 and L8 ends because each pass that does not stop removes a point from the finite set SS. □\square

Lemma 4 (at most n−2n - 2 Steiner points). After line L8, ∣S∣≤max⁡(n−2,0)|S| \le \max(n - 2, 0).

Proof. After line L8 every point of SS has degree at least 3 in T=MST(P∪S)T = \mathrm{MST}(P \cup S). Let k=∣S∣k = |S|. If k≥1k \ge 1 then TT has n+k≥2n + k \ge 2 points, so every pin has degree at least 1. The degrees of a tree sum to 2(n+k−1)2(n + k - 1), so 3k+n≤2(n+k−1)3k + n \le 2(n + k - 1), which gives k≤n−2k \le n - 2. □\square

Theorem 3 (exact for n≤3n \le 3). For n≤3n \le 3 the output is a rectilinear Steiner minimal tree.

Proof. For n≤2n \le 2 every Steiner tree has length at least d(p,q)d(p, q) for the two pins, and the minimum spanning tree has exactly this length. Let n=3n = 3, and let BB be the half perimeter of the bounding box of PP, the width plus the height. Every Steiner tree of PP has length at least BB: its edges project onto the xx axis with total length at least the width, since the tree connects the leftmost and the rightmost pin, and the same holds for the yy axis. Let m=(xmed,ymed)m = (x_{\mathrm{med}}, y_{\mathrm{med}}) be the point with the median xx and the median yy of the pins, a point of the Hanan grid. For three numbers a≤b≤ca \le b \le c, ∣a−b∣+∣b−b∣+∣c−b∣=c−a|a - b| + |b - b| + |c - b| = c - a, so the star from mm to the three pins has length exactly BB. If mm is a pin, the star is a spanning tree of PP, so ∣MST(P)∣≤B|\mathrm{MST}(P)| \le B and the output, which is no longer, is optimal. Otherwise m∈Hm \in H and ∣MST(P∪{m})∣≤B|\mathrm{MST}(P \cup \{m\})| \le B. If ∣MST(P)∣=B|\mathrm{MST}(P)| = B the start is optimal. If not, the gain of mm in round 1 is positive, so the point chosen in line L6 has gain at least that of mm, and the length after round 1 is at most BB. By Theorem 1 the output is at most this, so it equals BB. □\square

Running time of one round. By Lemma 4, at line L3 the set P∪SP \cup S has fewer than 2n2n points, so the minimum spanning tree of line L3 takes O(n2)O(n^2) time on all pairs. For each of the at most n2n^2 points xx, Lemma 2 gives the gain from a graph with fewer than 4n4n edges, and Kruskal's algorithm takes O(nlog⁡n)O(n \log n) on it. Each pass of lines L7 and L8 takes O(n2)O(n^2) and removes a point, so there are O(n)O(n) passes, for O(n3)O(n^3). A round takes O(n3log⁡n)O(n^3 \log n) time and O(n2)O(n^2) space. □\square

Complexity

  • One round. The Hanan grid has at most n2n^2 points. After line L8 there are at most n−2n - 2 Steiner points, so each tree has fewer than 2n2n points. The gain of one point takes O(n)O(n) edges from xx and a Kruskal run on O(n)O(n) edges, which is O(nlog⁡n)O(n \log n). A round is O(n3log⁡n)O(n^3 \log n).
  • Rounds. The proof bounds the number of rounds RR only by the finite number of subsets of the grid. Each round adds one point, so R−1R - 1 is at least the number of Steiner points in the output. With integer coordinates each round saves at least 1, so R≤∣MST(P)∣+1R \le |\mathrm{MST}(P)| + 1.
  • Space. The Hanan grid takes Θ(n2)\Theta(n^2) space, and the trees take O(n)O(n).
  • Faster gains. The gains of all points in a round can be computed faster than one Kruskal run per point, by data structures over the old tree. The implementation here uses the simple O(nlog⁡n)O(n \log n) update per point.

Properties

  • What is proved. The output is a rectilinear Steiner tree no longer than the rectilinear minimum spanning tree, so its ratio to the optimum is at most 3/2. The loop ends. The output has at most n−2n - 2 Steiner points. The output is optimal for n≤3n \le 3. The heuristic is not optimal on all inputs.
  • What is measured. On random nets with integer coordinates from 0 to 99 (Python random.Random(2026)), compared with the brute-force optimum over pins plus at most n−2n - 2 Hanan points: for 200 nets of 5 pins, the mean ratio to the optimum was 1.0008, the worst 1.0443, and 191 nets were optimal; for 25 nets of 6 pins, the mean was 1.0007, the worst 1.0170, and 24 were optimal. On the same nets the minimum spanning tree had mean ratios 1.1106 and 1.1065. These are toy inputs, not benchmark results.
  • Greedy. Each round makes the choice with the best immediate gain. It is a greedy algorithm and a form of local search over sets of Steiner points.
  • Deterministic. With fixed tie rules the output depends only on the input.

Variants and improvements

  • Batched 1-Steiner. Instead of one point per round, sort the points by gain and add, in this order, each point whose gain is still positive after the points added before it in the round. This needs fewer rounds, and the length after each round is still never longer than before it.
  • Graphs and other metrics. The same step works in any metric where a finite set of candidate points is known, and in graphs, where the candidates are the vertices that are not terminals.
  • Lookup tables. For nets with few pins, FLUTE finds an optimal tree from precomputed tables much faster, and it is the usual choice inside placement tools.
  • Exact methods. For exact trees of larger nets, exact Steiner tree solvers use the Hanan theorem and full components. They are much slower than this heuristic.

When to use it

  • When a short rectilinear Steiner tree is needed for nets of up to a few hundred pins, and the time of a few rounds of O(n3log⁡n)O(n^3 \log n) is acceptable.
  • As a reference heuristic when testing faster Steiner tree methods.

For nets of a few pins inside an inner loop, use FLUTE. For a quick estimate with a proved bound, the rectilinear minimum spanning tree is enough.

Pitfalls

  • Keeping useless Steiner points. After later points are added, an earlier Steiner point can end up with degree 2 or 1. If it is not removed, the number of Steiner points can grow past n−2n - 2 and each round gets slower. The length is not hurt, but the bound on the round time is.
  • Rebuilding the MST from nothing. Computing each gain with a fresh minimum spanning tree on all pairs costs O(n2)O(n^2) per point and O(n4)O(n^4) per round. Use the update from the old tree.
  • Candidates off the grid. Points outside the Hanan grid are never needed for one optimal tree, and adding them as candidates only costs time.
  • Expecting optimal trees. The greedy choice can be wrong: a point with the best gain now can block a better pair of points later. The measured results above show that this is rare on small random nets, but it is not proved to be rare.

Implementations

Each implementation follows the pseudocode above. A comment @line links a line of code to a line of the pseudocode. Point at a line of the pseudocode to see the matching code. The build runs the native tests of each language.

iterated_one_steiner.pyI0RawGitHub
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/iterated-one-steiner/. The authors are listed in prov/S1Z8DM.jsonl.

from typing import Sequence

Point = tuple[int, int]
Edge = tuple[int, int, int]  # (length, i, j), indices into the point list


def l1(p: Point, q: Point) -> int:
    return abs(p[0] - q[0]) + abs(p[1] - q[1])


def kruskal(n: int, edges: list[Edge]) -> list[Edge]:
    parent = list(range(n))

    def find(a: int) -> int:
        while parent[a] != a:
            parent[a] = parent[parent[a]]
            a = parent[a]
        return a

    tree = []
    for d, a, b in sorted(edges):
        ra, rb = find(a), find(b)
        if ra != rb:
            parent[ra] = rb
            tree.append((d, a, b))
    return tree


def mst(pts: Sequence[Point]) -> list[Edge]:
    """Minimum spanning tree of pts under the L1 metric, by Kruskal on all pairs."""
    n = len(pts)
    return kruskal(n, [(l1(pts[i], pts[j]), i, j) for i in range(n) for j in range(i + 1, n)])


def mst_with(pts: Sequence[Point], tree: list[Edge], x: Point) -> list[Edge]:
    """MST of pts + [x], from the MST of pts and the edges from x, in O(n log n) time."""
    k = len(pts)
    edges = tree + [(l1(x, p), k, i) for i, p in enumerate(pts)]
    return kruskal(k + 1, edges)


def length(tree: list[Edge]) -> int:
    return sum(d for d, _, _ in tree)


def iterated_one_steiner(pins: Sequence[Point]) -> tuple[list[Point], list[Edge]]:
    """Kahng and Robins's iterated 1-Steiner heuristic for the rectilinear Steiner tree.

    Returns (points, tree): points is the pin list followed by the chosen Steiner
    points, and tree is the L1 minimum spanning tree of points as (length, i, j).
    Each round adds the Hanan point that lowers the MST length most, then drops
    the Steiner points of degree at most 2. The loop stops when no Hanan point helps.
    """
    pins = list(pins)
    n = len(pins)
    xs = sorted({p[0] for p in pins})
    ys = sorted({p[1] for p in pins})
    pinset = set(pins)
    hanan = [(x, y) for x in xs for y in ys if (x, y) not in pinset]  # @line L1
    steiner: list[Point] = []
    while True:  # @line L2
        pts = pins + steiner
        tree = mst(pts)
        base = length(tree)  # @line L3
        best_gain, best_x = 0, None
        used = set(steiner)
        for x in hanan:
            if x in used:
                continue
            gain = base - length(mst_with(pts, tree, x))  # @line L4
            if gain > best_gain:
                best_gain, best_x = gain, x
        if best_x is None:  # @line L5
            return pts, tree
        steiner.append(best_x)  # @line L6
        while True:
            pts = pins + steiner
            tree = mst(pts)
            deg = [0] * len(pts)
            for _, a, b in tree:
                deg[a] += 1
                deg[b] += 1
            keep = [p for i, p in enumerate(steiner) if deg[n + i] > 2]  # @line L7
            if len(keep) == len(steiner):  # @line L8
                break
            steiner = keep
test_iterated_one_steiner.py 77 lines
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/iterated-one-steiner/. The authors are listed in prov/S1Z8DM.jsonl.

import random
from itertools import combinations

from iterated_one_steiner import iterated_one_steiner, l1, length, mst


def exact_rsmt(pins: list[tuple[int, int]]) -> int:
    """Brute force: the least MST length over pins plus at most n - 2 points of the Hanan grid."""
    xs = sorted({p[0] for p in pins})
    ys = sorted({p[1] for p in pins})
    cand = [(x, y) for x in xs for y in ys if (x, y) not in set(pins)]
    best = length(mst(pins))
    for k in range(1, max(len(pins) - 1, 1)):
        for extra in combinations(cand, k):
            best = min(best, length(mst(pins + list(extra))))
    return best


def is_tree_on(pts: list[tuple[int, int]], tree: list[tuple[int, int, int]]) -> bool:
    n = len(pts)
    if len(tree) != max(n - 1, 0):
        return False
    parent = list(range(n))

    def find(a: int) -> int:
        while parent[a] != a:
            a = parent[a]
        return a

    for d, a, b in tree:
        if d != l1(pts[a], pts[b]) or find(a) == find(b):
            return False
        parent[find(a)] = find(b)
    return True


def test_plus() -> None:
    pins = [(1, 0), (0, 1), (2, 1), (1, 2)]
    pts, tree = iterated_one_steiner(pins)
    assert pts == pins + [(1, 1)]
    assert length(tree) == 4 == exact_rsmt(pins)


def test_five_points() -> None:
    pins = [(0, 0), (4, 1), (1, 4), (5, 5), (2, 3)]
    pts, tree = iterated_one_steiner(pins)
    assert length(mst(pins)) == 16
    assert length(tree) == 13 == exact_rsmt(pins)
    assert is_tree_on(pts, tree)


def test_edges() -> None:
    assert iterated_one_steiner([]) == ([], [])
    assert iterated_one_steiner([(2, 2)]) == ([(2, 2)], [])
    pts, tree = iterated_one_steiner([(0, 0), (3, 4)])
    assert length(tree) == 7 and len(pts) == 2


def test_against_exact(seed: int = 23) -> None:
    rng = random.Random(seed)
    for _ in range(150):
        n = rng.randint(2, 5)
        pins = [(rng.randint(0, 9), rng.randint(0, 9)) for _ in range(n)]
        pins = list(dict.fromkeys(pins))
        pts, tree = iterated_one_steiner(pins)
        assert pts[: len(pins)] == pins and is_tree_on(pts, tree)
        opt = exact_rsmt(pins)
        assert opt <= length(tree) <= length(mst(pins))
        if len(pins) <= 3:
            assert length(tree) == opt
    for _ in range(4):
        pins = list(dict.fromkeys((rng.randint(0, 20), rng.randint(0, 20)) for _ in range(6)))
        pts, tree = iterated_one_steiner(pins)
        assert exact_rsmt(pins) <= length(tree) <= length(mst(pins))

History

M. Hanan showed in 1966 that some optimal rectilinear Steiner tree has its Steiner points on the grid of lines through the pins, which gives a finite set of candidates. F. K. Hwang showed in 1976 that the minimum spanning tree is at most 3/2 times the optimal Steiner tree, so any method that starts from the spanning tree and never makes it longer keeps this bound. Andrew Kahng and Gabriel Robins presented the iterated 1-Steiner heuristic at ICCAD in 1990 and published the journal version in 1992. It became a common reference heuristic for rectilinear Steiner trees in VLSI routing. Later methods such as FLUTE (2005 and 2008) aimed at similar quality in much less time.

References

  1. Andrew B. Kahng and Gabriel Robins, A new class of iterative Steiner tree heuristics with good performance, IEEE Transactions on Computer-Aided Design 11(7), 893 to 902, 1992, the 1-Steiner step, its iteration over the Hanan points and the removal of Steiner points of degree at most 2
  2. Andrew B. Kahng and Gabriel Robins, A new family of Steiner tree heuristics with good performance: the iterated 1-Steiner approach, Proceedings of ICCAD 1990, 428 to 431, the conference version of the same method
  3. M. Hanan, On Steiner's problem with rectilinear distance, SIAM Journal on Applied Mathematics 14(2), 255 to 265, 1966, the theorem that the candidate points can be taken on the grid of lines through the pins
  4. F. K. Hwang, On Steiner minimal trees with rectilinear distance, SIAM Journal on Applied Mathematics 30(1), 104 to 114, 1976, the bound of 3/2 on the ratio of the rectilinear minimum spanning tree to the Steiner minimal tree

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH1 sketch
  • a full proof of time.per_iteration
  • a full proof of time.total
  • a full proof of space.extra
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
Code (python)I0 not checked yet
  • the tests did not run in this build
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW2 basic
  • a scene preset for the example