![](http://image.absoluteastronomy.com/images//topicimages/noimage.gif)
Trapezoid graph
Encyclopedia
In graph theory
, trapezoid graphs are intersection graph
s of trapezoid
s between two horizontal lines. They are a class of co-comparability graphs that contain interval graph
s and permutation graph
s 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
algorithms for chromatic number, weighted independent set
, clique cover, and maximum weighted clique.
The interval order dimension of a partially ordered set,
, is the minimum number d of interval orders P1 … Pd such that P = P1∩…∩Pd. The incomparability graph of a partially ordered set
is the undirected graph
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.
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 no intersect. Therefore, the number of layers needed to route the nets without intersection is equal to the graph’s chromatic number.
algorithm for maximum weighted independent set problem and an
algorithm for the maximum weighted clique problem.
. 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
time.
time.
Dagan et al first proposed an
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
algorithms for chromatic number, weighted independent set, clique cover, and maximum weighted clique. These algorithms all require
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
time, which results in
algorithms.
is a trapezoid graph, search for a transitive orientation
on the complement of
. Since trapezoid graphs are a subset of co-comparability graphs, if
is a trapezoid graph, its complement
must be a comparability graph. If a transitive orientation
of the complement
does not exist,
is not a trapezoid graph. If
does exist, test to see if the order given by
is a trapezoid order. The fastest algorithm for trapezoid order recognition was proposed by McConnell and Spinrad in 1994, with a running time of
. 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).
Using vertex splitting, the recognition problem for trapezoid graphs was shown by Mertzios and Corneil to succeed in
time, where
denotes the number of edges. This process involves augmenting a given graph
, and then transforming the augmented graph by replacing each of the original graph’s vertices by a pair of new vertices. This “splitted graph” is a permutation graph with special properties if an only if
is a trapezoid graph.
Graph theory
In mathematics and computer science, graph theory is the study of graphs, mathematical structures used to model pairwise relations between objects from a certain collection. A "graph" in this context refers to a collection of vertices or 'nodes' and a collection of edges that connect pairs of...
, trapezoid graphs are intersection graph
Intersection graph
In the mathematical area of graph theory, an intersection graph is a graph that represents the pattern of intersections of a family of sets. Any graph may be represented as an intersection graph, but some important special classes of graphs may be defined by the types of sets that are used to form...
s of trapezoid
Trapezoid
In Euclidean geometry, a convex quadrilateral with one pair of parallel sides is referred to as a trapezoid in American English and as a trapezium in English outside North America. A trapezoid with vertices ABCD is denoted...
s between two horizontal lines. They are a class of co-comparability graphs that contain interval graph
Interval graph
In graph theory, an interval graph is the intersection graph of a multiset of intervals on the real line. It has one vertex for each interval in the set, and an edge between every pair of vertices corresponding to intervals that intersect.-Definition:...
s and permutation graph
Permutation graph
In areas of mathematics influenced by graph theory, a permutation graph is the intersection graph of a family of line segments that connect two parallel lines in the Euclidean plane...
s 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
Martin Charles Golumbic
Martin Charles Golumbic is a mathematician and computer scientist, best known for his work in algorithmic graph theory and in artificial intelligence. He is the founding editor-in-chief of the journal Annals of Mathematics and Artificial Intelligence.-Biography:Golumbic was born in 1948 in Erie,...
, and Pinter in 1988.There exists
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-1.gif)
Independent set (graph theory)
In graph theory, an independent set or stable set is a set of vertices in a graph, no two of which are adjacent. That is, it is a set I of vertices such that for every two vertices in I, there is no edge connecting the two. Equivalently, each edge in the graph has at most one endpoint in I...
, 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,
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-2.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-3.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-4.gif)
Applications
The problems of finding maximum cliques and of coloring trapezoid graphs are connected to channel routing problems in VLSIVery-large-scale integration
Very-large-scale integration is the process of creating integrated circuits by combining thousands of transistors into a single chip. VLSI began in the 1970s when complex semiconductor and communication technologies were being developed. The microprocessor is a VLSI device.The first semiconductor...
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 no intersect. Therefore, the number of layers needed to route the nets without intersection is equal to the graph’s chromatic number.
Trapezoid representation
Trapezoids can be used to represent a trapezoid graph by using the definition of trapezoid graph. A trapezoid graph, and its corresponding trapezoid representation, can be seen in Figure 1 and 2.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. An equivalent box representation for the graph in Figure 1 is shown in Figure 3.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. In 1993, Langley showed that the bounded bitolerance graphs are equivalent to the class of trapezoid graphs.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.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. A circle trapezoid graph and its corresponding circle trapezoid representation can be seen in Figure 4. There is an![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-5.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-6.gif)
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![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-7.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-8.gif)
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![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-9.gif)
Dagan et al first proposed an
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-10.gif)
Later, using the box representation of trapezoid graphs, Felsner published
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-11.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-12.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-13.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-14.gif)
Recognition
To determine if a graph![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-15.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-16.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-17.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-18.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-19.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-20.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-21.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-22.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-23.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-24.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-25.gif)
Using vertex splitting, the recognition problem for trapezoid graphs was shown by Mertzios and Corneil to succeed in
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-26.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-27.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-28.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/6/5569403-29.gif)