Theta graph

From HandWiki
Short description: Type of geometric spanner graph


In computational geometry, the Theta graph, or [math]\displaystyle{ \Theta }[/math]-graph, is a type of geometric spanner similar to a Yao graph. The basic method of construction involves partitioning the space around each vertex into a set of cones, which themselves partition the remaining vertices of the graph. Like Yao Graphs, a [math]\displaystyle{ \Theta }[/math]-graph contains at most one edge per cone; where they differ is how that edge is selected. Whereas Yao Graphs will select the nearest vertex according to the metric space of the graph, the [math]\displaystyle{ \Theta }[/math]-graph defines a fixed ray contained within each cone (conventionally the bisector of the cone) and selects the nearest neighbor with respect to orthogonal projections to that ray. The resulting graph exhibits several good spanner properties.[1]

[math]\displaystyle{ \Theta }[/math]-graphs were first described by Clarkson[2] in 1987 and independently by Keil[3] in 1988.

Construction

Example cone of a [math]\displaystyle{ \Theta }[/math]-graph emanating from [math]\displaystyle{ p }[/math] with orthogonal projection line [math]\displaystyle{ l }[/math]

[math]\displaystyle{ \Theta }[/math]-graphs are specified with a few parameters which determine their construction. The most obvious parameter is [math]\displaystyle{ k }[/math], which corresponds to the number of equal angle cones that partition the space around each vertex. In particular, for a vertex [math]\displaystyle{ p }[/math], a cone about [math]\displaystyle{ p }[/math] can be imagined as two infinite rays emanating from it with angle [math]\displaystyle{ \theta = 2\pi/k }[/math] between them. With respect to [math]\displaystyle{ p }[/math], we can label these cones as [math]\displaystyle{ C_1 }[/math] through [math]\displaystyle{ C_k }[/math] in a counterclockwise pattern from [math]\displaystyle{ C_1 }[/math], which conventionally opens so that its bisector has angle 0 with respect to the plane. As these cones partition the plane, they also partition the remaining vertex set of the graph (assuming general position) into the sets [math]\displaystyle{ V_1 }[/math] through [math]\displaystyle{ V_k }[/math], again with respect to [math]\displaystyle{ p }[/math]. Every vertex in the graph gets the same number of cones in the same orientation, and we can consider the set of vertices that fall into each.

Considering a single cone, we need to specify another ray emanating from [math]\displaystyle{ p }[/math], which we will label [math]\displaystyle{ l }[/math]. For every vertex in [math]\displaystyle{ V_i }[/math], we consider the orthogonal projection of each [math]\displaystyle{ v \in V_i }[/math] onto [math]\displaystyle{ l }[/math]. Suppose that [math]\displaystyle{ r }[/math] is the vertex with the closest such projection, then the edge [math]\displaystyle{ \{p,r\} }[/math] is added to the graph. This is the primary difference from Yao Graphs which always select the nearest vertex; in the example image, a Yao Graph would include the edge [math]\displaystyle{ \{p,q\} }[/math] instead.

Construction of a [math]\displaystyle{ \Theta }[/math]-graph is possible with a sweepline algorithm in [math]\displaystyle{ O(n \log{n}) }[/math] time.[1]

Properties

[math]\displaystyle{ \Theta }[/math]-graphs exhibit several good geometric spanner properties.

When the parameter [math]\displaystyle{ k }[/math] is a constant, the [math]\displaystyle{ \Theta }[/math]-graph is a sparse spanner. As each cone generates at most one edge per cone, most vertices will have small degree, and the overall graph will have at most [math]\displaystyle{ k \cdot n = O(n) }[/math] edges.

The stretch factor between any pair of points in a spanner is defined as the ratio between their metric space distance, and their distance within the spanner (i.e. from following edges of the spanner). The stretch factor of the entire spanner is the maximum stretch factor over all pairs of points within it. Recall from above that [math]\displaystyle{ \theta = 2\pi/k }[/math], then when [math]\displaystyle{ k \geq 9 }[/math], the [math]\displaystyle{ \Theta }[/math]-graph has a stretch factor of at most [math]\displaystyle{ 1/(\cos\theta - \sin\theta) }[/math].[1] If the orthogonal projection line [math]\displaystyle{ l }[/math] in each cone is chosen to be the bisector, then for [math]\displaystyle{ k \geq 7 }[/math], the spanning ratio is at most [math]\displaystyle{ 1/(1 - 2\sin(\pi / k)) }[/math].[4]

For [math]\displaystyle{ k = 1 }[/math], the [math]\displaystyle{ \Theta }[/math]-graph forms a nearest neighbor graph. For [math]\displaystyle{ k = 2 }[/math], it is easy to see that the graph is connected, as each vertex will connect to something to its left, and something to its right, if they exist. For [math]\displaystyle{ k = 3 }[/math][5],[math]\displaystyle{ 4 }[/math][6] [math]\displaystyle{ 5 }[/math],[7] [math]\displaystyle{ 6 }[/math],[8] and [math]\displaystyle{ \geq 7 }[/math],[4] the [math]\displaystyle{ \Theta }[/math]-graph is known to be connected. Many of these results also give upper and/or lower bounds on their spanning ratios.

When [math]\displaystyle{ k }[/math] is an even number, we can create a variant of the [math]\displaystyle{ \Theta_k }[/math]-graph known as the half-[math]\displaystyle{ \Theta_k }[/math]-graph, where the cones themselves are partitioned into even and odd sets in an alternating fashion, and edges are only considered in the even cones (or, only the odd cones). Half-[math]\displaystyle{ \Theta_k }[/math]-graphs are known to have some very nice properties of their own. For example, the half-[math]\displaystyle{ \Theta_6 }[/math]-graph (and, consequently, the [math]\displaystyle{ \Theta_6 }[/math]-graph, which is just the union of two complementary half-[math]\displaystyle{ \Theta_6 }[/math]-graphs) is known to be a 2-spanner.[8]

Software for drawing Theta graphs

See also

References

  1. 1.0 1.1 1.2 Narasimhan, Giri; Smid, Michiel (2007), Geometric Spanner Networks, Cambridge University Press, ISBN 978-0-521-81513-0 .
  2. K. Clarkson. 1987. Approximation algorithms for shortest path motion planning. In Proceedings of the nineteenth annual ACM symposium on Theory of computing (STOC '87), Alfred V. Aho (Ed.). ACM, New York, NY, USA, 56–65.
  3. Keil, J. (1988). Approximating the complete Euclidean graph. SWAT 88, 208–213.
  4. 4.0 4.1 Ruppert, J., & Seidel, R. (1991). Approximating the d-dimensional complete Euclidean graph. In Proc. 3rd Canad. Conf. Comput. Geom (pp. 207–210).
  5. Aichholzer, Oswin; Bae, Sang Won; Barba, Luis; Bose, Prosenjit; Korman, Matias; van Renssen, André; Taslakian, Perouz; Verdonschot, Sander (October 2014), "Theta-3 is connected", Computational Geometry 47 (9): 910–917, doi:10.1016/j.comgeo.2014.05.001 
  6. Barba, Luis (2013), "On the stretch factor of the theta-4 graph", Algorithms and data structures, Lecture Notes in Computer Science, 8037, Heidelberg: Springer, pp. 109–120, doi:10.1007/978-3-642-40104-6_10 .
  7. "The θ5-graph is a spanner", Computational Geometry 48 (2): 108–119, 2015, doi:10.1016/j.comgeo.2014.08.005 .
  8. 8.0 8.1 Bonichon, N., Gavoille, C., Hanusse, N., & Ilcinkas, D. (2010). Connections between theta-graphs, Delaunay triangulations, and orthogonal surfaces. In Graph Theoretic Concepts in Computer Science (pp. 266–278). Springer Berlin/Heidelberg.