TOPICS
Search

Trapezoid Graph


A trapezoid graph is an intersection graph of trapezoids between two fixed parallel lines. Each graph vertex corresponds to the convex hull of one closed interval on each line. The intervals may be single points, so the hull can be a triangle or a line segment. Distinct vertices are adjacent exactly when their hulls meet (Dagan et al. 1988).

One hull precedes another when its interval on each line lies strictly to the left of the other's interval on that line, using the same direction along both lines. The resulting partial order is the intersection of two interval orders, and incomparability is exactly intersection of the hulls. Conversely, two interval orders realizing a partial order can be represented on the two lines. Thus trapezoid graphs are exactly the incomparability graphs of partially ordered sets of interval dimension at most 2 (Dagan et al. 1988). In particular, every trapezoid graph is a cocomparability graph.

Using matching intervals on the two lines gives rectangles and realizes every interval graph. Using point intervals gives line segments and realizes every permutation graph in the inversion sense. Dagan et al. (1988) give an example of a trapezoid graph belonging to neither class.

For a graph with n vertices and m edges, Ma and Spinrad (1994) gave an O(n^2) recognition algorithm, and Mertzios and Corneil (2011) gave an O(n(n+m)) vertex-splitting algorithm that also constructs a trapezoid representation on acceptance. Both start from the graph itself. Here O denotes big-O notation.

Given a trapezoid representation, Dagan et al. (1988) found an optimal vertex coloring in O(nk) time after sorting the trapezoids by their left endpoints on one line, where k is the chromatic number. Felsner et al. (1997) represented each trapezoid by the Cartesian product of its two base intervals in planar coordinates. The resulting rectangle is used in the partial order: it precedes a second rectangle if its upper corner is strictly below the other's lower corner in both coordinates. Using this representation, they gave O(nlogn) algorithms for optimal vertex coloring, a minimum clique covering, a maximum-weight independent vertex set, and a maximum-weight clique. The weighted problems take nonnegative vertex weights.

The bounded tolerance graphs form a proper subclass whose recognition problem is an NP-complete problem even on trapezoid graph inputs (Mertzios et al. 2011).


See also

Cocomparability Graph, Intersection Graph, Interval Graph, Interval Order, Permutation Graph, Tolerance Graph, Triangle Intersection Graph

Explore with Wolfram|Alpha

References

Dagan, I.; Golumbic, M. C.; and Pinter, R. Y. "Trapezoid Graphs and Their Coloring." Disc. Appl. Math. 21, 35-46, 1988. https://doi.org/10.1016/0166-218X(88)90032-7.Felsner, S.; Müller, R.; and Wernisch, L. "Trapezoid Graphs and Generalizations, Geometry and Algorithms." Disc. Appl. Math. 74, 13-32, 1997. https://doi.org/10.1016/S0166-218X(96)00013-3.Ma, T.-H. and Spinrad, J. P. "On the 2-Chain Subgraph Cover and Related Problems." J. Algorithms 17, 251-268, 1994. https://doi.org/10.1006/jagm.1994.1034.Mertzios, G. B. and Corneil, D. G. "Vertex Splitting and the Recognition of Trapezoid Graphs." Disc. Appl. Math. 159, 1131-1147, 2011. https://doi.org/10.1016/j.dam.2011.03.023.Mertzios, G. B.; Sau, I.; and Zaks, S. "The Recognition of Tolerance and Bounded Tolerance Graphs." SIAM J. Comput. 40, 1234-1257, 2011. https://doi.org/10.1137/090780328.

Cite this as:

Weisstein, Eric W. "Trapezoid Graph." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/TrapezoidGraph.html

Subject classifications