Trapezoid graph
In graph theory, trapezoid graphs are intersection graphs of trapezoids between two horizontal lines. They are a class of co-comparability graphs that contain interval graphs and permutation graphs as subclasses. A graph is a trapezoid graph if there exists a set of trapezoids corresponding to the vertices of the graph such that two vertices are joined by an edge if and only if the corresponding trapezoids intersect. Trapezoid graphs were introduced by Dagan, Golumbic, and Pinter in 1988. There exists [math]\displaystyle{ {O}(n\log n) }[/math] algorithms for chromatic number, weighted independent set, clique cover, and maximum weighted clique.
Definitions and characterizations
Given a channel, a pair of two horizontal lines, a trapezoid between these lines is defined by two points on the top and two points on the bottom line. A graph is a trapezoid graph if there exists a set of trapezoids corresponding to the vertices of the graph such that two vertices are joined by an edge if and only if the corresponding trapezoids intersect. The interval order dimension of a partially ordered set, [math]\displaystyle{ P=(X, \lt ) }[/math], is the minimum number d of interval orders P1 … Pd such that P = P1∩…∩Pd. The incomparability graph of a partially ordered set [math]\displaystyle{ P=(X, \lt ) }[/math] is the undirected graph [math]\displaystyle{ G=(X, E) }[/math] where x is adjacent to y in G if and only if x and y are incomparable in P. An undirected graph is a trapezoid graph if and only if it is the incomparability graph of a partial order having interval order dimension at most 2.[1]
Applications
The problems of finding maximum cliques and of coloring trapezoid graphs are connected to channel routing problems in VLSI design. Given some labeled terminals on the upper and lower side of a two-sided channel, terminals with the same label will be connected in a common net. This net can be represented by a trapezoid containing the rightmost terminals and leftmost terminals with the same label. Nets may be routed without intersection if and only if the corresponding trapezoids do not intersect. Therefore, the number of layers needed to route the nets without intersection is equal to the graph’s chromatic number.
Equivalent representations
Trapezoid representation
Trapezoids can be used to represent a trapezoid graph by using the definition of trapezoid graph. A trapezoid graph's trapezoid representation can be seen in Figure 1.
Box representation
Dominating rectangles, or box representation, maps the points on the lower of the two lines of the trapezoid representation as lying on the x-axis and that of the upper line as lying on the y-axis of the Euclidean plane. Each trapezoid then corresponds to an axis-parallel box in the plane. Using the notion of a dominance order (In RK, x is said to be dominated by y, denoted x < y, if xi is less than yi for i = 1, …, k), we say that a box b dominates a box b’ if the lower corner of b dominates the upper corner of b’. Furthermore, if one of two boxes dominates the other we say that they are comparable. Otherwise, they are incomparable. Thus, two trapezoids are disjoint exactly if their corresponding boxes are comparable. The box representation is useful because the associated dominance order allows sweep line algorithms to be used.[2]
Bitolerance graphs
Bitolerance graphs are incomparability graphs of a bitolerance order. An order is a bitolerance order if and only if there are intervals Ix and real numbers t1(x) and tr(x) assigned to each vertex x in such a way that x < y if and only if the overlap of Ix and Iy is less than both tr(x) and t1(y) and the center of Ix is less than the center of Iy.[3] In 1993, Langley showed that the bounded bitolerance graphs are equivalent to the class of trapezoid graphs.[4]
Relation to other families of graphs
The class of trapezoid graphs properly contains the union of interval and permutation graphs and is equivalent to the incomparability graphs of partially ordered sets having interval order dimension at most two. Permutation graphs can be seen as the special case of trapezoid graphs when every trapezoid has zero area. This occurs when both of the trapezoid’s points on the upper channel are in the same position and both points on the lower channel are in the same position.
Like all incomparability graphs, trapezoid graphs are perfect.
Circle trapezoid graphs
Circle trapezoid graphs are a class of graphs proposed by Felsner et al. in 1993. They are a superclass of the trapezoid graph class, and also contain circle graphs and circular-arc graphs. A circle trapezoid is the region in a circle that lies between two non-crossing chords and a circle trapezoid graph is the intersection graph of families of circle trapezoids on a common circle. There is an [math]\displaystyle{ O(n^2) }[/math] algorithm for maximum weighted independent set problem and an [math]\displaystyle{ {O}(n^2 \log n) }[/math] algorithm for the maximum weighted clique problem.
k-Trapezoid graphs
k-Trapezoid graphs are an extension of trapezoid graphs to higher dimension orders. They were first proposed by Felsner, and they rely on the definition of dominating boxes carrying over to higher dimensions in which a point x is represented by a vector [math]\displaystyle{ ( x_1, \ldots , x_k ) }[/math]. Using (k − 1)-dimensional range trees to store and query coordinates, Felsner’s algorithms for chromatic number, maximum clique, and maximum independent set can be applied to k-trapezoid graphs in [math]\displaystyle{ {O}(n \log^{k-1}n) }[/math] time.
Algorithms
Algorithms for trapezoid graphs should be compared with algorithms for general co-comparability graphs. For this larger class of graphs, the maximum independent set and the minimum clique cover problem can be solved in [math]\displaystyle{ {O}(n^2\log n) }[/math] time.[5] Dagan et al. first proposed an [math]\displaystyle{ {O}(nk) }[/math] algorithm for coloring trapezoid graphs, where n is the number of nodes and k is the chromatic number of the graph. Later, using the box representation of trapezoid graphs, Felsner published [math]\displaystyle{ {O}(n\log n) }[/math] algorithms for chromatic number, weighted independent set, clique cover, and maximum weighted clique. These algorithms all require [math]\displaystyle{ {O}(n) }[/math] space. These algorithms rely on the associated dominance in the box representation that allows sweeping line algorithms to be used. Felsner proposes using balanced trees that can do insert, delete, and query operations in [math]\displaystyle{ {O}(\log n) }[/math] time, which results in [math]\displaystyle{ {O}(n\log n) }[/math] algorithms.
Recognition
To determine if a graph [math]\displaystyle{ {G} }[/math] is a trapezoid graph, search for a transitive orientation [math]\displaystyle{ {F} }[/math] on the complement of [math]\displaystyle{ {G} }[/math]. Since trapezoid graphs are a subset of co-comparability graphs, if [math]\displaystyle{ {G} }[/math] is a trapezoid graph, its complement [math]\displaystyle{ {G'} }[/math] must be a comparability graph. If a transitive orientation [math]\displaystyle{ {F} }[/math] of the complement [math]\displaystyle{ {G'} }[/math] does not exist, [math]\displaystyle{ {G} }[/math] is not a trapezoid graph. If [math]\displaystyle{ {F} }[/math] does exist, test to see if the order given by [math]\displaystyle{ {F} }[/math] is a trapezoid order. The fastest algorithm for trapezoid order recognition was proposed by McConnell and Spinrad in 1994, with a running time of [math]\displaystyle{ O(n^2) }[/math]. The process reduces the interval dimension 2 question to a problem of covering an associated bipartite graph by chain graphs (graphs with no induced 2K2).[6] Using vertex splitting, the recognition problem for trapezoid graphs was shown by Mertzios and Corneil to succeed in [math]\displaystyle{ O(n(n+m)) }[/math] time, where [math]\displaystyle{ m }[/math] denotes the number of edges. This process involves augmenting a given graph [math]\displaystyle{ {G} }[/math], and then transforming the augmented graph by replacing each of the original graph’s vertices by a pair of new vertices. This “split graph” is a permutation graph with special properties if an only if [math]\displaystyle{ {G} }[/math] is a trapezoid graph.[7]
Notes
- ↑ Ido Dagan, Martin Charles Golumbic, and Ron Yair Pinter. Trapezoid graphs and their coloring. Discrete Appl. Math., 35–46, 1988.
- ↑ Stefan Felsner, Rudolf Muller, and Lorenz Wernisch. Trapezoid graphs and generalizations, geometry and algorithms. In Algorithm theory—SWAT ’94 (Aarhus, 1994), volume 824 of Lecture Notes in Comput. Sci., pages 143–154. Springer, Berlin, 1994.
- ↑ Kenneth P. Bogart, Garth Isaak. Proper and unit bitolerance orders and graphs. Discrete Mathematics 181(1–3): 37–51 (1998).
- ↑ Martin Charles Golumbic and Irith B.-A. Hartman, eds., Graph Theory, Combinatorics and Algorithms: Interdisciplinary Applications, Springer-Verlag, New York, 2005
- ↑ R. McConnell and J. Spinrad, Linear-time modular decomposition and efficient transitive orientation of undirected graphs, Proc. 5. Ann. Symp. on Discr. Alg. (1994).
- ↑ Golumbic, Martin Charles, and Ann N. Trenk. Tolerance Graphs. Cambridge [u.a.: Cambridge Univ., 2004.
- ↑ G. B. Mertzios and D. G. Corneil. Vertex splitting and the recognition of trapezoid graphs. Discrete Applied Mathematics, 159(11), pages 1131-1147, 2011.
References
- Golumbic, Martin Charles (1980). Algorithmic Graph Theory and Perfect Graphs. Academic Press. ISBN 0-444-51530-5. http://www.elsevier.com/wps/find/bookdescription.cws_home/699916/description#description. Second edition, Annals of Discrete Mathematics 57, Elsevier, 2004.
Original source: https://en.wikipedia.org/wiki/Trapezoid graph.
Read more |