












Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!













Departamento de Matem´atica Aplicada I Universidad de Sevilla http://www.ma1.us.es/ {natalia, cobos, dana, almar}@us.es
Departamento de Matem´atica Aplicada II Universitat Polit`ecnica de Catalunya http://www.upc.es/ [email protected]
Abstract We prove that every triangle-free planar graph is the intersection graph of a set of segments in the plane. Moreover, the segments can be chosen in only three directions (horizontal, vertical and oblique) and in such a way that no two segments cross, i.e., intersect in a common interior point. This particular class of intersection graphs is also known as contact graphs.
Communicated by H. de Fraysseix and and J. Kratochv´ıl: submitted October 1999; revised February 2001 and July 2001.
∗Partially supported by projects SEUI-PB98-0933 and CUR Gen. Cat.
1999SGR00356.
Given a set S of segments in the plane, its intersection graph has a vertex for every segment and two vertices are adjacent if the corresponding segments intersect. Intersection graphs of segments and other geometrical objects have been widely studied in the past. For instance, if the segments are contained in a straight line then we have the interval graphs [5], a well-known family of perfect graphs. If the segments are chords of a circle then the intersection graph is called a circle graph, see for instance [8, 10]. An interesting result, due to de Fraysseix, Osona de Mendez and Pach [4], and independently to Ben-Arroyo Hartman, Newman and Ziv [2], says that every planar bipartite graph is the contact graph (a particular case of intersection graph, where no two segments cross) of a set of horizontal and vertical segments and, in a different formulation, Tamassia and Tollis proved in [11] almost the same result. On the other hand, it is known that the recognition of such graphs is an NP-complete problem (see [6], [7] and recently [3]). This result provides a partial answer to a question of Scheinerman [9]: Is every planar graph the intersection graph of a set of segments in the plane? The main result in this paper, which is a significant extension of [4], is that every triangle-free planar graph is the intersection graph of a family of segments. Moreover, the segments can be drawn in only three directions and in such a way that they do not cross, i.e. the segments do not have any interior point in common. This particular class of intersection graphs is also known as contact graphs. We call such a representation a segment representation of the graph.
h
h
h
h
h4 h
h
h h h
h h
v
v
v v3 v4 (^) v5 v2 v3 v
v
v
v
v
o1 v
o
o
o
o
o
Figure 1: A segment representation of a planar graph.
Our technique is similar in spirit to the one used in [2] for bipartite planar graphs with some transformations. A key point in our proof is Gr¨otzsch’s The- orem [12], which guarantees that every planar triangle-free graph is 3-colorable.
IMPL
DMPR
DMPL
IMPR s (^) s 1
s s
1
n
n
Figure 2: Monotone paths.
Let IG be a segment representation of a plane triangle-free graph G. Recall that the face boundaries of the representation correspond to closed walks in G. A face F of a segment representation is pseudo-convex if its boundary can be divided into an IMPR, a DMPR, a DMPL and an IMPL (clockwise). It can be seen that the partition of a pseudo-convex face into monotone paths is not unique, but there are only a few possibilities and this does not modify the proofs of the theorems. From now on, we consider the boundary of a pseudo-convex face clockwise.
F
DMPR
IMPL DMPL
IMPR
Pseudo-convex Face (^) Non Pseudo-convex Face
Figure 3: The four paths of a pseudo-convex face.
Given a pseudo-convex face, we define the upper subpath as the union of its IMPR and its DMPR and, the lower subpath as the union of its DMPL and IMPL subpath. Analogously, we define the right subpath as the union of the DMPR and DMPL, and the left subpath as the union of the IMPL and IMPR. In this way the boundary of a pseudo-convex face can be considered as the
union of the upper and lower subpaths, and also as the union of the right and left subpaths. We say that the upper and lower subpaths are opposite subpaths to each other (analogously with the right and the left subpaths).
F
Right subpath
Left subpath
Upper subpath
Lower subpath
Figure 4: The upper, lower, right and left subpaths of a pseudo-convex face.
Note that if F is a pseudo-convex face, and P is a monotone path inside F connecting two segments in its boundary, then P partitions F into two new pseudo-convex faces. Moreover, if two segments on the boundary of F can be extended inside F until they cross, those extended segments also would split F into two new pseudo-convex faces. In order to build a segment representation of a plane graph G, we proceed by representing the boundary of the outerface of G by contact segments, using a pseudo-convex representation. If two vertices of the outerface are joined in G by a path, we represent this path as a monotone segment path inside the representation of the outerface, obtaining two pseudo-convex faces. Recursively we represent monotone paths of G until the representation of the graph is com- pleted. We see then that in order to represent a graph by contact segments it is necessary to join segments by segment paths inside the faces of the represen- tation. We need to extend segments of the boundary of the faces inside them to contact the segments. However it is not always possible to extend segments inside a pseudo-convex face. A segment of a pseudo-convex is extensible along one of its ends if and only if its angle inside the face is concave. Thus, a segment of a pseudo-convex face is extensible by one of its ends, or by both or by none, depending on the adjacent segments (see Figure 5).
Enlarging a segment means to increase its length, and obviously we also need to increase the length of other segments of the representation and make a translation of other segments without modifying their length. With this op- eration we can keep away the obstacles and to overlap parallel segments, if we want to join them by a segment path. The other operation allows us to extend a segment by one of its ends, if it was not possible before. It changes the sense of drawing of its adjacent segment and the other segments of its monotone path, to preserve the pseudo-convexity of the face.
Figure 7: Transforming the segment representation.
The following technical lemmas allow us to construct a topological equivalent representation where we modify some segments, allowing to join the segments by a path of any length.
Lemma 1 Let IG be a segment representation of a subdivision of a 3-connected plane graph G such that all its faces are pseudo-convex, let k be a positive real number and let s be a segment on the boundary of a face F of IG. Then IG can be transformed into another segment representation IG satisfying:
Proof: The proof is by induction on the number of faces of the graph G. Firstly, we suppose that F is just the boundary of IG, and let s be the segment of F that we want to enlarge. We can distinguish three cases depending on the direction of s.
Case 1 Let s be a horizontal segment. If s is a horizontal segment in the upper subpath of F (analogously if s is in the lower subpath) we look for a horizontal segment s′^ in the lower subpath of F. If there exists such segment we enlarge s and s′^ by the same amount and we make a translation of all the segments between s and s′, transforming F into another pseudo-convex face (see Figure 8 (a)). If there does not exist a horizontal segment s′^ in the lower subpath of F , there must exist a vertical segment s′^ and an oblique segment s′′^ which are adjacent in the lower subpath of F , because the boundary of F is a closed path. In this case, we increase the length of s, s′^ and s′′^ and we make a translation of the rest of the segments (see Figure 8 (b)).
s
s'
s
s'
s (^) s
s' s''
s' s''
(a)
(b)
Figure 8: How to enlarge a segment of a pseudo-convex face by any amount, using parallel segments (a), using three segments (b).
Case 2 If s is a vertical segment, the proof is as Case 1, considering the bound- ary of F as the union of the right and left subpaths.
Case 3 If s is an oblique segment, the proof is similar to the other cases, con- sidering the boundary of F as the union of the upper and lower subpaths.
to the unbounded face (i.e., the boundary of the face in G corresponding to Fn has an edge in the unbounded face H of G) and such that s is not in Fn ∩ H. Thus, if we construct the graph G 1 as the graph obtained from G by deleting all the edges of the face of G corresponding to Fn which are contained in the outerface, then we can assure that s belongs to G 1.
G
Fn
1 2
3 4 5
v v
v v v G (^1)
IG IG 1
s (^1)
2 3
4 5
s s
s s
Figure 10: Induction.
Let v 1 ,... , vk be the vertices of G, corresponding to the segments s 1 ,... , sk of Fn, which are also on the outerface, where v 2 ,... , vk− 1 are of degree two. By removing the segments of IG corresponding to the vertices v 2 ,... , vk− 1 , we obtain a segment representation IG 1 of G 1. Since IG 1 has n − 1 faces, enlarging in any amount some of the segments, we can transform its segment representation into another one which has the same convex faces. To obtain this new representation, we have to enlarge other segments in IG 1 besides s, but we have preserved the structure of the segments in the representation. So, we are able to represent again the segments corre- sponding to v 2 ,... , vk− 1 enlarging the length of one (or two) of them, if it is necessary, to obtain a segment representation of G. 2
We can see, using Lemma 1, that by enlarging some segments, a segment representation with pseudo-convex faces can be transformed into another one preserving the topology of the embedding. But this is not sufficient to join segments inside a face, so we need another kind of transformation.
Changing the sense of drawing of the segments of a monotone path of a pseudo-convex face F (for instance, the segments which were drawn to the left are drawn to the right) it is possible to draw a new pseudo-convex face F where these segments belong now to another monotone path. The remaining paths of F only change in the length of some of the segments (see Figure 11).
1
2 3 4
2
4
F F
s s^1
s s s s s^3 s
Figure 11: How to restructure a face through a path.
In the segment representation, the change of the face F to F produces some changes in the faces adjacent to F along the monotone path, and we obtain another segment representation with pseudo-convex faces as in the proof of Lemma 1 (see Figure 12). When we change the drawing in the manner described above, we say that the face F is restructured through the monotone path.
Lemma 2 Let IG be a segment representation of a subdivision of a 3-connected plane graph G such that all its faces are pseudo-convex. Let F be a face of IG. Then, IG can be transformed into another segment representation IG satisfying:
Proof: We first suppose that F is just the boundary of IG. It is easily seen that we can change the drawing of the segments so that they belong to the previous or the following monotone path. Suppose now that IG has n bounded pseudo-convex faces. Let F be the face that we want to restructure through the monotone path s 1 ,... , sn. It is neces- sary to change the sense of drawing of all the segments of the restructured path, thus the other faces that contain in their boundaries the segments s 1 ,... , sn will be also restructured, but they will preserve their pseudo-convexity. The main idea is that no other face of the representation will be modified, except for the length of some segments, but by Lemma 1 it is possible to increase the length of the segments of the representation preserving the pseudo-convexity.
This result will allow us to build a segment representation in three directions of subdivisions of 3-connected graphs as follows. Firstly we build a segment rep- resentation of a subdivision of K 4 and then insert, in reverse order, the edges and paths that were removed to obtain from G the subdivision of K 4. In order to do this, we need two basic operations: (1) insert a segment path between two segments of the same face and (2) join two segments of the same face. The second operation is, at least, as difficult as the first one, so we will concentrate only in the second operation. As we see in Figure 6, we can find some problems in the segment repre- sentation to join two segments inside a face. Most of the cases can be solved by changing the drawing of the segments of the representation with the basic operations “enlarge segments” and “restructure faces”, but there are four rare cases that need an special operation. We need at this point some new definitions. Given a 3-colored plane graph G with colors {h, o, v}, a path P = {u 1 ,... , un} of G is rare if it verifies one of the following conditions:
Case 1. u 1 is colored as h, u 2 as o, and un as v.
Case 2. u 1 is colored as v, un− 1 as h, and un as o.
Case 3. u 1 is colored as h, u 2 as o, un− 1 as h, and un as o.
Case 4. u 1 is colored as o, u 2 as v, un− 1 as v, and un as h.
s s v
(^12) v n
n-
v 1
r 1 w (^1)
w 2
r 2 wn
rn
sn
wn-
Figure 13: Rare face (four rare paths).
A face of a graph is called rare if there exists a monotone path containing a rare subpath (see Figure 13). We say that a rare face is repaired if we subdivide its rare path with a new vertex colored as v between u 1 and u 2 in the first and the third case, and between un− 1 and un in the second case, or a new vertex colored as h between u 1 and u 2 in the fourth case.
In the following lemma, when we say that two segments s and t can be joined by a segment path of length k, we mean a path {s, s 1 , s 2 ,... , sk, t}.
Lemma 3 Let IG be a segment representation of a plane graph G and let s 1 and s 2 be two distinct non adjacent segments in a pseudo-convex non-rare face F. Then IG can be transformed into another segment representation IG satisfying
Proof: The proof falls naturally into two cases: the segments have the same direction, or they do not.
s
s 1
2
s (^1) s (^2) s s 1 2
s
s 1 2 s
s 1 2
(a)
(b)
(c)
Figure 14: Joining segments
Case 1: s 1 and s 2 do not have the same direction. Suppose the segments cannot be joined inside F directly. The lines containing
(a)
(b)
s
s
1
2
s
s
1
2
s s 1
2
s s
1 2
Figure 16: Joining segments.
2
The interest of these Lemmas is that they allow us to proof the following.
Lemma 4 Any triangle-free plane graph which is a subdivision of a 3-connected graph can be represented by segments in three directions.
Proof: As G is a triangle-free plane graph, in virtue of Gr¨otzsch’s Theorem [12], G admits a 3-coloring with the colors h, v and o (horizontal, vertical and oblique, respectively). Since G is a subdivision of a 3-connected graph, we can find a vertex, not in the outerface of G, connected by three disjoint paths to three vertices in the outerface. These paths and the outerface determine a graph K, which is a subdivision of K 4. Using Theorem 1 [1] it is possible to build a sequence of graphs G 1 ,... , Gn and a sequence of paths Q 1 ,... , Qn− 1 such that G 1 = G, Gi is a subdivision of a 3-connected plane graph, Gi is obtained from Gi− 1 by deleting the path Qi− 1 , and the graph obtained from Gn− 1 deleting Qn− 1 is K. When the path Qi is deleted, a new face F appears in Gi+1 as the union of two faces in Gi. The boundary of F can be divided into two paths; on the one hand the path beginning in the first vertex of Qi and ending in the last one and, on the other hand, the rest of the boundary. If one of them is rare, we must
repair F by subdividing an edge with a new vertex (that we label as a repaired vertex), to make the face F non-rare. So, we can construct another sequence G′ 1 ,... , G′ n where G′ i is Gi with a new repaired vertex, if necessary.
u (^) u
u
u
Rare face (four rare paths) Repaired face
s (^) s v
(^12) v n
n-
v 1
r 1 w (^1)
r (^2) w (^2) w (^) n
rn
s (^) n
wn-
Figure 17: Repairing rare paths.
It is easy to give a segment representation of K′^ with all its faces pseudo- convex. It suffices to represent pseudo-convexly the outerface of K′^ and proceed according to the above remark. Using Lemma 3 it is possible to add the path Qi to the segment representation of G′ i+1 to obtain a pseudo-convex face repre- sentation of G′ i. Since every subgraph is a subdivision of a 3-connected graph, the path Qi cannot join adjacent vertices and so we can apply Lemma 3. In order to obtain a segment representation of the graph G, we must remove the repaired vertices. These segments cannot be removed directly, because we must change the drawing of one of the segments adjacent to the repaired vertex, so it is necessary to modify the representation. Since this is the last operation of the representation, and the repaired vertex is not adjacent to any other segment, it is possible to remove it, as illustrated in Figure 18. Notice that we could not remove the repaired vertices if the rare path would have exactly three segments u 1 , u 2 and u 3 , but this case is not possible because joining u 1 with u 3 it will be form a triangle, and G was a triangle-free graph. 2
We can now formulate our main result as follows.
Theorem 2 Every triangle-free planar graph is the contact graph of a set of segments in three directions.
Proof: Let G be a triangle-free plane graph. Since G has no triangles, we can obtain a 3-coloring of G using Gr¨otzsch’s Theorem [12]. The colors will be labeled as h, v and o (horizontal, vertical and oblique, respectively). We can build a new triangle-free plane graph G 1 , subdivision of a 3-connected graph, which contains G as a subgraph, by adding new vertices and edges joining the
resentations (see Figure 1). The problem lies in the fact that we have followed a constructive proof to obtain a segment representation using the pseudo-convex faces representation of a subdivision of a 3-connected graph. This construction would not be possible in general if the graph contains triangles, because if we fix the three directions of the segments we can observe that the graph in Figure 19 cannot be represented by non-crossing segments.
h
h
v
o v
o
(^1) o 1
1
v 1
1
h 1
2
2
2
o 2 v 2 h 2
Figure 19: Two segments must cross.
In this example we see the intersection graph of a family of segments, but this representation by segments of the graph contains regions that do not correspond to faces of the embedding of the graph. So, the topology of the embedding of the plane graph cannot be preserved and inductive arguments are no longer possible. This problem admits a partial solution as follows. A 3-coloring of a plane graph G with colors {h, v, o} is good if all the triangles of G are colored (clockwise), as h − v − o. The proof of Theorem 2 can be adapted yielding the following result:
Theorem 3 Let G be a 3-colored plane graph. The coloring is good if and only if there exists a segment representation IG verifying that the faces of G correspond to faces of IG, and the boundaries of the faces are preserved.
[1] D.W. Barnette. On Steinitz’s theorem concerning convex 3-polytopes and on some properties of planar graphs In The many facets of graph theory. Lectures Notes in Mathematics Springer, Berlin, 110:27–39, 1969.
[2] I. Ben-Arroyo Hartman, I. Newman and R. Ziv. On grid intersection graphs. In Discrete Math., 87:41–52, 1991.
[3] P. Hlineny. Contact graphs of line segments are NP-complete. In Discrete Math., 235:95–106, 2001.
[4] H. de Fraysseix, P. Osona de Mendez and J. Pach. Representation of planar graphs by segments. In Colloquia Mathematica Societatis J´anos Bolyai, Intuitive Geometry, Szeged (Hungary), 1991.
[5] M.C. Golumbic. Algorithmic Graph Theory and Perfect Graphs. Academic Press, 1980.
[6] J. Kratochv´ıl. A special planar satisfiability problem and a consequence of its NP-completeness. In Discrete Applied Math., 52:233–252, 1994.
[7] J. Kratochv´ıl and J. Matouˇsek. Intersection graphs of segments. In J. of Comb. Theory, Serie B, 62:289–315, 1994.
[8] W. Naji. Reconnaisance des graphes de cordes. In Discrete Math., 54:329– 337, 1985.
[9] E.R. Scheinerman. Intersection classes and multiple intersection parameters of graphs. Ph D. thesis,, Princeton University, 1984.
[10] J. Spinrad. Recognition of circle graphs. In J. of Algorithms, 16:264–282,
[11] R. Tamassia and I.G. Tollis. A unified approach to visibility representation of planar graphs. In Discrete and Computational Geometry, 1:321–341, 1986.
[12] C. Thomassen. Gr¨otzsch’s 3-colour theorem and its counterparts for the torus and the projective plane. In J. Comb. Theory B, 62:268–279, 1994.