Yao graph

Undirected graph with graph distances linearly bounded w.r.t. Euclidean distances
title: "Yao graph" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["computational-geometry", "geometric-graph-theory"] description: "Undirected graph with graph distances linearly bounded w.r.t. Euclidean distances" topic_path: "technology/algorithms" source: "https://en.wikipedia.org/wiki/Yao_graph" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0
::summary Undirected graph with graph distances linearly bounded w.r.t. Euclidean distances ::
::figure[src="https://upload.wikimedia.org/wikipedia/commons/6/6b/Yao_graph.svg"] ::
In computational geometry, the Yao graph, named after Andrew Yao, is a kind of geometric spanner, a weighted undirected graph connecting a set of geometric points with the property that, for every pair of points in the graph, their shortest path has a length that is within a constant factor of their Euclidean distance.
The basic idea underlying the two-dimensional Yao graph is to surround each of the given points by equally spaced rays, partitioning the plane into sectors with equal angles, and to connect each point to its nearest neighbor in each of these sectors. Associated with a Yao graph is an integer parameter k ≥ 6 which is the number of rays and sectors described above; larger values of k produce closer approximations to the Euclidean distance. The stretch factor is at most 1/(\cos \theta - \sin \theta), where \theta is the angle of the sectors. The same idea can be extended to point sets in more than two dimensions, but the number of sectors required grows exponentially with the dimension.
Andrew Yao used these graphs to construct high-dimensional Euclidean minimum spanning trees.
Software for drawing Yao graphs
References
References
- "Overlay Networks for Wireless Systems".
- "Simple Topologies".
- Yao, A. C.. (1982). "On constructing minimum spanning trees in ''k''-dimensional space and related problems". [[SIAM Journal on Computing]].
::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::