Yao graph
{{Use American English|date = February 2019}}
{{Short description|Undirected graph with graph distances linearly bounded w.r.t. Euclidean distances}}
{{Use mdy dates|date = February 2019}}
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.{{cite web|title=Overlay Networks for Wireless Systems|url=http://www.cs.jhu.edu/~scheideler/courses/600.348_F04/lecture_13.pdf}} Associated with a Yao graph is an integer parameter {{math|k ≥ 6}} which is the number of rays and sectors described above; larger values of {{math|k}} produce closer approximations to the Euclidean distance.{{cite web|title=Simple Topologies|url=http://www.cs.kent.edu/~dfuhry/presentations/simple_topologies.pdf}} The stretch factor is at most , where 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.{{citation|first=A. C.|last=Yao|authorlink=Andrew Yao|title=On constructing minimum spanning trees in k-dimensional space and related problems|journal=SIAM Journal on Computing|volume=11|year=1982|pages=721–736|issue=4|doi=10.1137/0211059|citeseerx=10.1.1.626.3161}}.
Software for drawing Yao graphs
- [http://doc.cgal.org/latest/Cone_spanners_2/ Cone-based Spanners in Computational Geometry Algorithms Library (CGAL)]