Intnpc
Intnpc
North-Holland
Douglas B. WEST
University of Illinois, Urbana, IL 61801, USA
David B. SHMOYS*
University of California, Berkeley, CA 94720, USA
1. Introduction
2. A preliminary reduction
Instance: A graph G = (V,E) in which every vertex has three neighbors but no
three vertices form a cycle.
Question: Does G have a Hamiltonian circuit?
A-A
Fig. 1. Local replacement for triangle-free cubic graphs.
In fact, the lemma remains true if we drop the requirement that u and v belong
to different parts in the bipartite graph. However, this is harder to prove, and our
reductions require only the version stated above. We will make critical use of the
graphs K2+r-l,r+l, such as &,s, to ensure that representations can be constructed
only in certain ways.
Interval number is NP-complete 299
“0 “I
---
“2 “3 ._. “n “0 “I
E
U
c
. . .
---
W
outside intervals can intersect at most one other interval for a vertex in G. This will
force the matching of an H-representation to occur among the outside intervals and
a Hamiltonian cycle to occur among the inside intervals. The reader may wish to
refer to Fig. 3 as we describe the gadgets to be added.
The idea behind the gadgets added for the first step is straightforward. Add a
vertex t joined to every vertex of G. This forces every vertex of G to have an interval
intersecting an interval for E. These we call the ‘inside’ intervals. Actually, to en-
force the condition that all 2-representations of G’ contain an H-representation for
G, we want all of these ‘inside’ intervals to lie within a single interval for z. So, we
attach additional gadgets to z to insure that only one of the intervals for z contains
any of the ‘inside’ intervals, and to control what happens at the endpoints of the
intervals in&). The details of this will be described more explicitly below.
To insure that each vertex of G has another interval outsidef(z), we need only
add, for each vertex u E G, some structure M(u) containing a vertex adjacent to IJ
but not to z. We choose a structure M(u) that accomplishes the second step men-
tioned above. In particular, for each UE V(G) let M(o)=&, and join u to one
vertex of M(o). No other edges join M(o) to any other vertices in G’. Note that
K,,, is 2-tight, so if the G’ being constructed has 2-representation, then the inter-
vals of each M(o) appear contiguously. The only other interval that can intersect
these is the outside interval for u. If it lies wholly withinf(M(u)), it cannot be used
for anything else. So, using Lemma 2, we may assume that the outside interval for
u overlaps f(M(u)) at one of its endpoints.
To complete the construction of G’, we describe the gadgets mentioned earlier
that are used to pin down the ways in which the intervals for t can appear. Add three
more copies of K,,, to the graph, called Hi, Hz, and Ws. Join z to two vertices in
the same part of Hi, and join one vertex from the other part of Hi to a vertex in
Hz. Also, place one edge from z to a vertex of H3_ We have described all of the
vertices of G’, and this completes the construction except for a few more edges
needed to maintain feasibility of the H-representations, as will be seen shortly.
To understand the role of the Hi, consider the intervals representing the sub-
graph induced by z and the vertices in the Hi. A 2-representation of G’ must contain
Interval number is NP-complete 301
r M(vo)
- vo v, vz
. . . -.vn-I vn VO v- Mb) M(u) u w M(w)
-- I o---z ...
>
Hz HI “3
Fig. 4. The 2-representation of G’.
The result of Theorem 1 holds equally well for f > 2; 2-representations merely pro-
vide a convenient place to get started.
Proof. Given Theorem 1, we need only reduce (t - I)-REP to t REP. Let G be any
graph. We will construct a supergraph G’ of G such that G has a (t- l)-representa-
tion if and only if G’ has a f-representation. For each o E G, create three copies of
&>+I-t,t+1. Call them Hi(o), i = 1,2,3. Join o to one vertex of Hz(u). Add two
more edges, one joining Hz(u) to each of H,(o) and H,(u), using vertices from the
two different parts of Hz (see Fig. 5). If G has n vertices and m edges, then G’ has
n(1 + 3tZ + 6t) vertices and m + 3nt*(t + 2) edges, so this is a polynomial transfor-
mation.
H,(VI
Hz(v)
Another related result follows easily at this point. Recall that the depth of a repre-
sentation is the maximum number of intervals in it that cover a single point on the
line, and the depth-r interval number i,(G) is the smallest t such that the graph has
a depth-r f-representation.
Several interesting special cases remain. What happens for depth 2? In particular,
any t-representation of a triangle-free graph must have depth 2. This leads us to ask
whether there is an efficient algorithm to determine the interval number of a
triangle-free graph. To reach NP-completeness we need not have anything larger
than triangles, because the graph generated in the main transformation has no K4.
Similarly, Scheinerman and West [ 1l] proved that the interval number of a planar
graph never exceeds 3. Given a planar representation of a graph, their proof gives
an efficient algorithm to find a 3_representation, but it does not determine whether
the interval number is 3 or smaller. Hence we ask, is there an efficient algorithm
to determine the interval number of a planar graph?
Acknowledgement
We wish to thank our good friend Pattie Suyemoto for suggesting this collabora-
tion.
References
[l] S. Benzer, On the topology of the genetic fine structure, Proc. Nat. Acad. Sci. 45 (1959) 1607-1620.
[2] KS. Booth and G.S. Leuker, Testing for the consecutive ones property, interval graphs, and graph
planarity testing using PQ-tree algorithms, J. Comput. System. Sci. 13 (1976) 335-379.
[3] P. Chambon, Split genes, Scientific American 244 (May 1981) 60-71.
[4] M.R. Garey and D.S. Johnson, Computers and Intractibility, A Guide to the Theory of NP-Com-
pleteness (Freeman, San Francisco, 1979).
[5] J.R. Griggs, Extremal values of the interval number of a graph, II, Discrete &lath. 28 (1979) 37-47.
[6] J.R. Griggs and D.B. West, Extremal values of the interval number of a graph, SIA,M J. Algebraic
Discrete Methods 1 (1980) l-7.
[7] L. Hopkins and W.T. Trotter Jr., A bound on the interval number of a complete mutipartite graph,
in: G. Chartrand. Y. Alavi, D.L. Goldsmith, L. Lesniak-Foster and D.R. Lick, eds., The Theory
and Applications of Graphs (Wiley, New York, 1981) 391-407.
[8] L. Hopkins, W.T. Trotter Jr. and D.B. West, The interval number of the complete multipartite
graph, Discrete Appl. Math. 8 (1984) 163-187.
191 L.T. Kou, Polynomial complete consecutive information retrieval problems, SIAM J. Comput. 6
(1977) 67-75.
Interval number is NP-complete 305
[IO] L.T. KOU, L.J. Stockmeyer and C.K. Wong, Covering edges by cliques with regard to keyword con-
flicts and intersection graphs, Comm. ACM 21 (1978) 135-138.
[I 11 E.R. Scheinerman and D.B. West, The interval number of a planar graph: three intervals suffice,
J. Combin. Theory (B), to appear.
[12] W.T. Trotter Jr. and F. Harary, On double and multiple interval graphs, J. Graph Theory 3 (1979)
205-2 I 1.