Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a23f9d604a3324ce

Jump to content

Yao graph

From Wikipedia, the free encyclopedia

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.[1] 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.[2] The stretch factor is at most , where is the angle of the sectors.[3] 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.[3]

Software for drawing Yao graphs

[edit]

See also

[edit]

References

[edit]
  1. "Overlay Networks for Wireless Systems" (PDF). Archived from the original (PDF) on November 20, 2021. Retrieved March 23, 2011.
  2. "Simple Topologies" (PDF).
  3. 1 2 Yao, A. C. (1982), "On constructing minimum spanning trees in k-dimensional space and related problems", SIAM Journal on Computing, 11 (4): 721–736, CiteSeerX 10.1.1.626.3161, doi:10.1137/0211059.