Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Algorithm

Lee algorithm

Graph Algorithm

The Lee algorithm is a solution to maze routing problems that is based on breadth-first search. It always gives an optimal solution if one exists, but it is slow and needs a lot of memory. The method has four stages. Initialization marks the start point with 0. Wave expansion then repeatedly marks every unlabeled neighbor of the points marked i with i plus 1, until the target is reached or no more points can be marked. Backtrace walks from the target to the start by always stepping to a neighboring node with a lower mark, adding each node to the path. Clearance finally blocks that path for future wirings and deletes all the marks. In chip layout the wave expansion marks only points in the routable area, not blocks or parts that are already wired, and to limit segmentation a route should keep to one direction as long as possible. The article cites a 1961 paper by C. Y. Lee on path connections and a 1974 paper by F. Rubin on the Lee path connection algorithm.

Connections

In Field

Source Lee algorithm (Wikipedia)
Sources
Lee algorithm (Wikipedia)
  • In Field: Algorithms and Complexity Theory, Lead
    The Lee algorithm is one possible solution for maze routing problems based on breadth-first search.
  • In Group: Graph Traversal and Connectivity Algorithms, Lead
    The Lee algorithm is one possible solution for maze routing problems based on breadth-first search.
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.