In computational geometry, the relative neighborhood graph (RNG) is an undirected graph defined on a set of points in the Euclidean plane by connecting two points
p
q
r
p
q
showed how to construct the relative neighborhood graph of
n
O(nlogn)
O(n)
Because it is defined only in terms of the distances between points, the relative neighborhood graph can be defined for point sets in any and for non-Euclidean metrics.[1] [5] [7] [8] Computing the relative neighborhood graph, for higher-dimensional point sets, can be done in time
O(n2)
The relative neighborhood graph is an example of a lens-based beta skeleton. It is a subgraph of the Delaunay triangulation. In turn, the Euclidean minimum spanning tree is a subgraph of it, from which it follows that it is a connected graph.
The Urquhart graph, the graph formed by removing the longest edge from every triangle in the Delaunay triangulation, was originally proposed as a fast method to compute the relative neighborhood graph.[9] Although the Urquhart graph sometimes differs from the relative neighborhood graph[10] it can be used as an approximation to the relative neighborhood graph.[11]