This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

On restrictions of balanced 2-interval graphs

Philippe Gambette
LIAFA, UMR CNRS 7089, Université Paris 7, France
Département Informatique, ENS Cachan, France
gambette@liafa.jussieu.fr
   Stéphane Vialette
LRI, UMR CNRS 8623, Université Paris-Sud 11, France
vialette@lri.fr
Abstract

The class of 2-interval graphs has been introduced for modelling scheduling and allocation problems, and more recently for specific bioinformatic problems. Some of those applications imply restrictions on the 2-interval graphs, and justify the introduction of a hierarchy of subclasses of 2-interval graphs that generalize line graphs: balanced 2-interval graphs, unit 2-interval graphs, and (xx,xx)-interval graphs. We provide instances that show that all the inclusions are strict. We extend the NP-completeness proof of recognizing 2-interval graphs to the recognition of balanced 2-interval graphs. Finally we give hints on the complexity of unit 2-interval graphs recognition, by studying relationships with other graph classes: proper circular-arc, quasi-line graphs, K1,5K_{1,5}-free graphs, …

Keywords: 2-interval graphs, graph classes, line graphs, quasi-line graphs, claw-free graphs, circular interval graphs, proper circular-arc graphs, bioinformatics, scheduling.

1 2-interval graphs and restrictions

The interval number of a graph, and the classes of kk-interval graphs have been introduced as a generalization of the class of interval graphs by McGuigan [McG77] in the context of scheduling and allocation problems. Recently, bioinformatics problems have renewed interest in the class of 2-interval graphs (each vertex is associated to a pair of disjoint intervals and edges denote intersection between two such pairs). Indeed, a pair of intervals can model two associated tasks in scheduling [BYHN+06], but also two similar segments of DNA in the context of DNA comparison [JMT92], or two complementary segments of RNA for RNA secondary structure prediction and comparison [Via04].

Refer to caption Refer to caption Refer to caption
(a) (b) (c)
Figure 1: Helices in a RNA secondary structure (a) can be modeled as a set of balanced 2-intervals among all 2-intervals corresponding to complementary and inverted pairs of letter sequences (b), or as an independent subset in the balanced associated 2-interval graph (c).

RNA (ribonucleic acid) are polymers of nucleotides linked in a chain through phosphodiester bonds. Unlike DNA, RNAs are usually single stranded, but many RNA molecules have secondary structure in which intramolecular loops are formed by complementary base pairing. RNA secondary structure is generally divided into helices (contiguous base pairs), and various kinds of loops (unpaired nucleotides surrounded by helices). The structural stability and function of non-coding RNA (ncRNA) genes are largely determined by the formation of stable secondary structures through complementary bases, and hence ncRNA genes across different species are most similar in the pattern of nucleotide complementarity rather than in the genomic sequence. This motivates the use of 2-intervals for modelling RNA secondary structures: each helix of the structure is modeled by a 2-interval. Moreover, the fact that these 2-intervals are usually required to be disjoint in the structure naturally suggests the use of 2-interval graphs. Furthermore, aiming at better modelling RNA secondary structures, it was suggested in [CHLV05] to focus on balanced 2-interval sets (each 2-interval is composed of two equal length intervals) and their associated intersection graphs referred as balanced 2-interval graphs. Indeed, helices in RNA secondary structures are most of the time composed of equal length contiguous base pairs parts. To the best of our knowledge, nothing is known on the class of balanced 2-interval graphs.

Sharper restrictions have also been introduced in scheduling, where it is possible to consider tasks which all have the same duration, that is 2-interval whose intervals have the same length [BYHN+06, Kar05]. This motivates the study of the classes of unit 2-interval graphs, and (x,x)(x,x)-interval graphs. In this paper, we consider these subclasses of interval graphs, and in particular we address the problem of recognizing them.

A graph G=(V,E)G=(V,E) of order nn is a 2-interval graph if it is the intersection graph of a set of nn unions of two disjoint intervals on the real line, that is each vertex corresponds to a union of two disjoint intervals Ik=IlkIrkI^{k}=I^{k}_{l}\cup I^{k}_{r}, k1,nk\in\llbracket 1,n\rrbracket (ll for “left” and rr for “right”), and there is an edge between IjI^{j} and IkI^{k} iff IjIkI^{j}\cap I^{k}\neq\emptyset. Note that for the sake of simplicity we use the same letter to denote a vertex and its corresponding 2-interval. A set of 2-intervals corresponding to a graph GG is called a realization of GG. The set of all intervals, k=1n{Ilk,Irk}\bigcup_{k=1}^{n}\{I^{k}_{l},I^{k}_{r}\}, is called the ground set of GG (or the ground set of {I1,,In}\{I^{1},\ldots,I^{n}\}).

The class of 2-interval graphs is a generalization of interval graphs, and also contains all circular-arc graphs (intersection graphs of arcs of a circle), outerplanar graphs (have a planar embedding with all vertices around one of the faces [KW99]), cubic graphs (maximum degree 3 [GW80]), and line graphs (intersection graphs of edges of a graph).

Unfortunately, most classical graph combinatorial problems turn out to be NP-complete for 2-interval graphs: recognition [WS84], maximum independent set [BNR96, Via01], coloration [Via01], …Surprisingly enough, the complexity of the maximum clique problem for 2-interval graphs is still open (although it has been recently proven to be NP-complete for 3-interval graphs [BHLR07]).

For practical application, restricted 2-interval graphs are needed. A 2-interval graph is said to be balanced if it has a 2-interval realization in which each 2-interval is composed of two intervals of the same length [CHLV05], unit if it has a 2-interval realization in which all intervals of the ground set have length 1 [BFV04], and is called a (x,x)(x,x)-interval graph if it has a 2-interval realization in which all intervals of the ground set are open, have integer endpoints, and length xx [BYHN+06, Kar05]. In the following sections, we will study those restrictions of 2-interval graphs, and their position in the hierarchy of graph classes illustrated in Figure 2.

Refer to caption
Figure 2: Graph classes related to 2-interval graphs and its restrictions. A class pointing towards another strictly contains it, and the dashed lines mean that there is no inclusion relationship between the two. Dark classes correspond to classes not yet present in the ISGCI Database [BLS+].

Note that all (x,x)(x,x)-interval graphs are unit 2-interval graphs, and that all unit 2-interval graphs are balanced 2-interval graphs. We can also notice that (1,1)(1,1)-interval graphs are exactly line graphs: each interval of length 1 of the ground set can be considered as the vertex of a root graph and each 2-interval as an edge in the root graph. This implies for example that the coloration problem is also NP-complete for (2,2)(2,2)-interval graphs and wider classes of graphs. It is also known that the complexity of the maximum independent set problem is NP-complete on (2,2)(2,2)-interval graphs [BNR96]. Recognition of (1,2)(1,2)-union graphs, a related class (restriction of multitrack interval graphs), was also recently proven NP-complete [HK06].

2 Useful gadgets for 2-interval graphs and restrictions

For proving hardness of recognizing 2-interval graphs, West and Shmoys considered in [WS84] the complete bipartite graph K5,3K_{5,3} as a useful 2-interval gadget. Indeed, all realizations of this graph are contiguous, that is, for any realization, the union of all intervals in its ground set is an interval. Thus, by putting edges between some vertices of a K5,3K_{5,3} and another vertex vv, we can force one interval of the 2-interval vv (or just one extremity of this interval) to be blocked inside the realization of K5,3K_{5,3}. It is not difficult to see that K5,3K_{5,3} has a balanced 2-interval realization, for example the one in Figure 3.

Refer to caption Refer to caption Refer to caption
(a) (b) (c)
Figure 3: The complete bipartite graph K5,3K_{5,3} (a,b) has a balanced 2-interval realization (c): vertices of S5S_{5} are associated to balanced 2-intervals of length 77, and vertices of S3S_{3} are associated to balanced 2-intervals of length 1111. Any realization of this graph is contiguous, i.e., the union of all 2-intervals is an interval.

However, K5,3K_{5,3} is not a unit 2-interval graph. Indeed, each 2-interval I=IlIrI=I_{l}\cup I_{r} corresponding to a degree 5 vertex intersect 55 disjoint 2-intervals, and hence one of IlI_{l} or IrI_{r} intersect at least 33 intervals, which is impossible for unit intervals. Therefore, we introduce the new gadget K4,4eK_{4,4}-e which is a (2,2)(2,2)-interval graph with only contiguous realizations.

Refer to caption Refer to caption Refer to caption
(a) (b) (c)
Figure 4: The graph K4,4eK_{4,4}-e (a), a nicer representation (b), and a 2-interval realization with open intervals of length 2 (c).
Property 1.

Any 2-interval realization of K4,4eK_{4,4}-e is contiguous.

Proof.

Write G=(V,E)G=(V,E) the graph K4,4eK_{4,4}-e. To study all possible realizations of GG, let us study all possible realizations of G[VI8]G[V-I^{8}].

As 2-intervals I1I^{1}, I2I^{2}, I3I^{3} and I4I^{4} are disjoints, their ground set fixed={[li,ri],\mathcal{I}_{\textrm{fixed}}=\{[l_{i},r_{i}], 1i8,1\leq i\leq 8, ri<li+1}r_{i}<l_{i+1}\} is a set of eight disjoint intervals. The ground set mobile\mathcal{I}_{\textrm{mobile}} of I5I^{5}, I6I^{6} and I7I^{7} is a set of six disjoint intervals. Let xix_{i} be the number of intervals of mobile\mathcal{I}_{\textrm{mobile}} intersecting i8i\leq 8 intervals of fixed\mathcal{I}_{\textrm{fixed}}. We have directly:

x0+x1+x2+x3+x4+x5+x6+x7+x8=|mobile|=6.x_{0}+x_{1}+x_{2}+x_{3}+x_{4}+x_{5}+x_{6}+x_{7}+x_{8}=|\mathcal{I}_{\textrm{mobile}}|=6. (1)

As there are 12 edges in G[V\{v8}]G[V\backslash\{v_{8}\}] which is bipartite, we also have:

x1+2x2+3x3+4x4+5x5+6x6+7x7+8x812.x_{1}+2x_{2}+3x_{3}+4x_{4}+5x_{5}+6x_{6}+7x_{7}+8x_{8}\geq 12. (2)

Finally, to build a realization of GG from a realization of G[V\{v8}]G[V\backslash\{v_{8}\}] , one must place I8I^{8} so as to intersect three disjoint intervals of fixed\mathcal{I}_{\textrm{fixed}}. Thus one of the intervals of I8I^{8} intersects at least two intervals ]lk,rk[]l_{k},r_{k}[ and ]ll,rl[]l_{l},r_{l}[ (k<lk<l) of fixed\mathcal{I}_{\textrm{fixed}}. So there is “a hole between those two intervals”, for example [rk,lk+1][r_{k},l_{k+1}], which is included in one of the intervals of I8I^{8}. So we notice that I8I^{8} has to fill one of the seven holes of fixed\mathcal{I}_{\textrm{fixed}}. Thus, the intervals of mobile\mathcal{I}_{\textrm{mobile}} can not fill more than six holes, and the observation that an interval intersecting ii consecutive intervals (for i1i\geq 1) fills i1i-1 holes, we get:

x2+2x3+3x4+4x5+5x6+6x7+7x86.x_{2}+2x_{3}+3x_{4}+4x_{5}+5x_{6}+6x_{7}+7x_{8}\leq 6. (3)

Equations 1, 2 and 3 are necessary for any valid realization of G[V\{v8}]G[V\backslash\{v_{8}\}] which gives a valid realization of GG.

Let’s suppose by contradiction that the union of all intervals of the ground set of GG is not an interval. Then there is a hole, that is an interval included in the covering interval of {I1,,I8}\{I^{1},\ldots,I^{8}\}, which intersect no IiI^{i}. We proceed like for equation 3, with the constraint that another hole cannot be filled by the intervals of mobile\mathcal{I}_{\textrm{mobile}}, so we get instead:

x2+2x3+3x4+4x5+5x6+6x7+7x85.x_{2}+2x_{3}+3x_{4}+4x_{5}+5x_{6}+6x_{7}+7x_{8}\leq 5. (4)

By adding 1 and 4, and subtracting 2, we get x01x_{0}\leq-1 : impossible! So we have proved that the union of all intervals of the ground set of any realization of GG is indeed an interval. ∎

3 Balanced 2-interval graphs

We show in this section that the class of balanced 2-interval graphs is strictly included in the class of 2-interval graphs, and strictly contains circular-arc graphs. Moreover, we prove that recognizing balanced 2-interval graphs is as hard as recognizing (general) 2-interval graphs.

Property 2.

The class of balanced 2-interval graphs is strictly included in the class of 2-interval graphs.

Proof.

We build a 2-interval graph that has no balanced 2-interval realization. Let’s consider a chain of gadgets K5,3K_{5,3} (introduced in previous section) to which we add three vertices I1I^{1}, I2I^{2}, and I3I^{3} as illustrated in Figure 5.

(a)
Refer to caption
(b)
Refer to caption
Figure 5: An example of unbalanced 2-interval graph (a) : any realization groups intervals of the seven K5,3K_{5,3} in a block, and the chain of seven blocks creates six “holes” between them, which make it impossible to balance the lengths of the three 2-intervals I1I^{1}, I2I^{2}, and I3I^{3}.

In any realization, the presence of holes showed by crosses in the Figure gives the following inequalities for any realization: l(Il2)<l(Il1)l({I_{l}}^{2})<l({I_{l}}^{1}), l(Il3)<l(Ir2)l({I_{l}}^{3})<l({I_{r}}^{2}), and l(Ir1)<l(Ir3)l({I_{r}}^{1})<l({I_{r}}^{3}) (or if the realization of the chain of K5,3K_{5,3} appears in the symmetrical order: l(Il1)<l(Il3)l({I_{l}}^{1})<l({I_{l}}^{3}), l(Ir3)<l(Il2)l({I_{r}}^{3})<l({I_{l}}^{2}), and l(Ir2)<l(Ir1)l({I_{r}}^{2})<l({I_{r}}^{1})). If this realization was balanced, then we would have l(Il1)=l(Ir1)<l(Ir3)=l(Il3)<l(Ir2)=l(Il2)l({I_{l}}^{1})=l({I_{r}}^{1})<l({I_{r}}^{3})=l({I_{l}}^{3})<l({I_{r}}^{2})=l({I_{l}}^{2}) (or for the symmetrical case: l(Ir1)=l(Il1)<l(Il3)=l(Ir3)<l(Il2)=l(Ir2)l({I_{r}}^{1})=l({I_{l}}^{1})<l({I_{l}}^{3})=l({I_{r}}^{3})<l({I_{l}}^{2})=l({I_{r}}^{2})) : impossible! So this graph has no balanced 2-interval realization although it has a 2-interval generalization. ∎

Theorem 1.

Recognizing balanced 2-interval graphs is an NP-complete problem.

Proof.

We just adapt the proof of West and Shmoys [WS84, GW95]. The problem of determining if there is a Hamiltonian cycle in a 3-regular triangle-free graph is proven NP-complete, by reduction from the more general problem without the no triangle restriction. So we reduce the problem of Hamiltonian cycle in a 3-regular triangle-free graph to balanced 2-interval recognition.

Let G=(V,E)G=(V,E) be a 3-regular triangle-free graph. We build a graph GG^{\prime} which has a 2-interval realization (a special one, very specific, called HH-representation and which we prove to be balanced) iff GG has a Hamiltonian cycle.

Refer to caption
Refer to caption
Figure 6: There is a balanced 2-interval of GG^{\prime} (which has been dilated in the drawing to remain readable) iff there is an HH-representation (that is a realization where the left intervals of all 2-intervals are grouped together in a contiguous block) for its induced subgraph GG iff there is a Hamiltonian cycle in GG.

The construction of GG^{\prime}, illustrated in Figure 6(a) is almost identical to the one by West and Shmoys, so we just prove that GG^{\prime} has a balanced realization, shown in Figure 6 (b), by computing lengths for each interval to ensure it. All K5,3K_{5,3} have a balanced realization as shown in section 1 of total length 79, in particular H3H_{3}. We can thus affect length 83 to the intervals of v0v_{0}. The intervals of the other viv_{i} can have length 3, and their M(vi)M(v_{i}) length 79, so through the computation illustrated in Figure 6, intervals of zz can have length 80+82+2(n1)+380+82+2(n-1)+3, that is 163+2n163+2n. We dilate H1H_{1} until a hole between two consecutive intervals of its S3S_{3} can contain an interval of zz, that is until the hole has length 165+2n165+2n : so after this dilating, H1H_{1} has length 79(165+2n)79(165+2n). Finally if GG has a Hamiltonian cycle, then we have found a balanced 2-interval realization of GG of total length 13,273+241n13,273+241n. ∎

It is known that circular-arc graphs are 2-interval graphs, they are also balanced 2-interval.

Property 3.

The class of circular-arc graphs is strictly included in the class of balanced 2-interval graphs.

Proof.

The transformation is simple: if we have a circular-arc representation of a graph G=(V,E)G=(V,E), then we choose some point PP of the circle. We partition VV in V1V2V_{1}\cup V_{2}, where PP intersects all the arcs corresponding to vertices of V1V_{1} and none of the arcs of the vertices of V2V_{2}. Then we cut the circle at point PP to map it to a line segment: every arc of V2V_{2} becomes an interval, and every arc of V1V_{1} becomes a 2-interval. To obtain a balanced realization we just cut in half the intervals of V2V_{2} to obtain two intervals of equal length for each. And for each 2-interval [g(Il),d(Il)][g(Ir),d(Ir)][g(I_{l}),d(I_{l})]\cup[g(I_{r}),d(I_{r})] of V1V_{1}, as both intervals are located on one of the extremities of the realization, we can increase the length of the shortest so that it reaches the length of the longest without changing intersections with the other intervals. The inclusion is strict because K2,3K_{2,3} is a balanced 2-interval graph (as a subgraph of K5,3K_{5,3} for example) but is not a circular-arc graph (we can find two C4C_{4} in K2,3K_{2,3}, and only one can be realized with a circular-arc representation). ∎

4 Unit 2-interval and (x,x)-interval graphs

Property 4.

Let x,x2x\in\mathbb{N},x\geq 2. The class of (x,x)(x,x)-interval graphs is strictly included in the class of (x+1,x+1)(x+1,x+1)-interval graphs.

Proof.

We first prove that an interval graph with a representation where all intervals have length kk (and integer open bounds) has a representation where all intervals have length k+1k+1.

We use the following algorithm. Let SS be initialized as the set of all intervals of length kk, and let TT be initially the empty set. As long as SS is not empty, let I=[a,b]I=[a,b] be the left-most interval of SS, remove from SS each interval [α,β][\alpha,\beta] such that α<b\alpha<b (including II), add [α,β+1][\alpha,\beta+1] to TT, and translate by +1 all the remaining intervals in SS. When SS is empty, the intersection graph of TT, where all intervals have length k+1k+1 is the same as the intersection graph for the original SS.

We also build for each x2x\geq 2 a (x+1,x+1)(x+1,x+1)-interval graph which is not a (x,x)(x,x)-interval graph. We consider the bipartite graph K2xK_{2x} and a perfect matching {(vi,vi),i1,x}\{(v_{i},v^{\prime}_{i}),i\in\llbracket 1,x\rrbracket\}. We call KxK^{\prime}_{x} the graph obtained from K2xK_{2x} with the following transformations, illustrated in Figure 7(a): remove edges (vi,vi)(v_{i},v^{\prime}_{i}) of the perfect matching, add four graphs K4,4eK_{4,4}-e called X1X_{1}, X2X_{2}, X3X_{3}, X4X_{4} (for each XiX_{i}, we call vliv_{l}^{i} and vriv_{r}^{i} the vertices of degree 3), link vr2v_{r}^{2} and vl3v_{l}^{3}, link all viv_{i} to vr1v_{r}^{1} and vl4v_{l}^{4}, link all viv^{\prime}_{i} to vl2v_{l}^{2} and vr3v_{r}^{3}, and finally add a vertex aa (resp. bb) linked to all viv_{i}, viv^{\prime}_{i}, and to two adjacent vertices of X1X_{1} (resp. X4X_{4}) of degree 4. We illustrate in Figure 7(b) that KxK^{\prime}_{x} has a realization with intervals of length x+1x+1. We can prove by induction on xx that KxK^{\prime}_{x} has no realization with intervals of length xx: it is rather technical, so we just give the idea. Any realization of KxK^{\prime}_{x} forces the block X2X_{2} to share an extremity with the block X3X_{3}, so each 2-interval viv^{\prime}_{i} has one interval intersecting the other extremity of X2X_{2}, and the other intersecting the other extremity of X3X_{3}. Then constraints on the position of vertices viv_{i} force their intervals to appear as two “stairways” as shown in Figure 7(b). So vr1v_{r}^{1} must contain xx extremities of intervals which have to be different, so it must have length x+1x+1.

(a)
Refer to caption
 
(b)
Refer to caption

Figure 7: The graph K4K^{\prime}_{4} (a) is (5,5)-interval but not (4,4)-interval.

The complexity of recognizing unit 2-interval graphs and (x,x)(x,x)-interval graphs remains open, however the following shows a relationship between those complexities.

Lemma 1.

{\{unit 2-interval graphs}=x{(x,x)\}=\bigcup\limits_{x\in\mathbb{N}^{*}}\{(x,x)-interval graphs}\}.

Proof.

The \supset part is trivial. To prove \subset, let G=(V,E)G=(V,E) be a unit 2-interval graph. Then it has a realization with |V|=n|V|=n 2-intervals, that is 2n2n intervals of the ground set. So we consider the interval graph of the ground set, which is a unit interval graph. There is a linear time algorithm based on breadth-first search to compute a realization of such a graph where interval endpoints are rational, with denominator 2n2n [CKN+95]. So by dilating by a factor 2n2n such a realization, we obtain a realization of GG where intervals of the ground set have length 2n2n. ∎

Theorem 2.

If recognizing (x,x)(x,x)-interval graphs is polynomial for any integer xx then recognizing unit 2-interval graphs is polynomial.

5 Investigating the complexity of unit 2-interval graphs

In this section we show that all proper circular-arc graphs (circular-arc graphs such that no arc is included in another in the representation) are unit 2-interval graphs, and we study a class of graphs which generalizes quasi-line graphs and contains unit 2-interval graphs.

Recall that, according to Property 3, circular-arc graphs are balanced 2-interval graphs. However, circular-arc graphs are not necessarily unit 2-interval graphs.

Property 5.

The class of proper circular-arc graphs is strictly included in the class of unit 2-interval graphs.

Proof.

As in the proof of Property 3, we choose a point PP on the circle of the representation of a proper circular-arc graph GG, and maps the cut circle into a line segment. We extend the outer extremities of intervals that have been cut so that no interval contains another. Thus we obtain a set of 2-intervals for arcs containing PP, and a set II of intervals for arcs not containing PP. For each interval of II, we add a new interval disjoint of any other to get a 2-interval. If we consider the intersection graph of the ground set of such a representation, it is a proper interval graph. So it is also a unit interval graph [Rob69], which provides a unit 2-interval representation of GG.

To complete the proof, we notice that the domino (two cycles C4C_{4} having an edge in common) is a unit 2-interval graph but not a circular-arc graph. ∎

Quasi-line graphs are those graphs whose vertices are bisimplicial, i.e., the closed neighborhood of each vertex is the union of two cliques. This graph class has been introduced as a generalization of line graphs and a useful subclass of claw-free graphs [Ben81, FFR97, CS05, KR07]. Following the example of quasi-line graphs that generalize line graphs, we introduce here a new class of graphs for generalizing unit 2-interval graphs. Let kk\in\mathbb{N}^{*}. A graph G=(V,E)G=(V,E) is all-kk-simplicial if the neighborhood of each vertex vVv\in V can be partitioned into at most kk cliques. The class of quasi-line graphs is thus exactly the class of all-22-simplicial graphs. Notice that this definition is equivalent to the following: in the complement graph of GG, for each vertex uu, the vertices that are not in the neighborhood of uu are kk-colorable.

Property 6.

The class of unit 2-interval graphs is strictly included in the class of all-4-simplicial graphs.

Proof.

The inclusion is trivial. What is left is to show that the inclusion is strict. Consider the following graph which is all-44-simplicial but not unit 2-interval: start with the cycle C4C_{4}, call its vertices viv_{i}, i1,4i\in\llbracket 1,4\rrbracket, add four K4,4eK_{4,4}-e gadgets called XiX_{i}, and for each ii we connect the vertex viv_{i} to two connected vertices of degree 4 in XiX_{i}. This graph is certainly all-44-simplicial. But if we try to build a 2-interval realization of this graph, then each of the 2-intervals vkv_{k} has an interval trapped into the block XkX_{k}. So each 2-interval vkv_{k} has only one interval to realize the intersections with the other viv_{i}: this is impossible as we have to realize a C4C_{4} which has no interval representation. ∎

Property 7.

The class of claw-free graphs is not included in the class of all-4-simplicial graphs.

Proof.

The Kneser Graph KG(7,2)KG(7,2) is triangle-free, but not 4-colorable [Lov78]. We consider the graph obtained by adding an isolated vertex vv and then taking the complement graph, i.e., KG(7,2){v}¯\overline{KG(7,2)\uplus\{v\}}. It is claw-free as KG(7,2)KG(7,2) is triangle-free. And if it was all-44-simplicial, then the neighborhood of vv in KG(7,2){v}¯\overline{KG(7,2)\uplus\{v\}}, that is KG(7,2)¯\overline{KG(7,2)}, would be a union of at most four cliques, so KG(7,2)KG(7,2) would be 4-colorable: impossible so this graph is claw-free but not all-4-simplicial. ∎

Property 8.

The class of all-kk-simplicial graphs is strictly included in the class of K1,k+1K_{1,k+1}-free graphs.

Proof.

If a graph GG contains K1,k+1K_{1,k+1}, then it has a vertex with k+1k+1 independent neighbors, and hence GG is not all-kk-simplicial. The wheel W2k+1W_{2k+1} is a simple example of a graph which is K1,k+1K_{1,k+1}-free but in which the center can not have its neighborhood (a C2k+1C_{2k+1}) partitioned into kk cliques or less. ∎

Unfortunately, all-kk-simplicial graphs do not have a nice structure which could help unit 2-interval graph recognition.

Theorem 3.

Recognizing all-kk-simplicial graphs is NP-complete for k3k\geq 3.

Proof.

We reduce from the Graph kk-colorability problem, which is known to be NP-complete for k3k\geq 3 [Kar72]. Let G=(V,E)G=(V,E) be a graph, and let GG^{\prime} be the complement graph of GG to which we add a universal vertex vv. We claim that GG is kk-colorable iff GG^{\prime} is all-kk-simplicial.

If GG is kk-colorable, then the non-neighborhood of any vertex in GG is kk-colorable, so the neighborhood of any vertex in G¯\overline{G} is a union of at most kk cliques. And the neighborhood of vv is also a union of at most kk cliques, so GG^{\prime} is all-kk-simplicial.

Conversely, if GG^{\prime} is all-kk-simplicial, then in particular the neighborhood of vv is a union of at most kk cliques. Let’s partition it into kk vertex-disjoint cliques X1,,XkX_{1},\ldots,X_{k}. Then, coloring GG such that two vertices have the same color iff they are in the same XiX_{i} leads to a valid kk-coloring of GG. ∎

6 Conclusion

Motivated by practical applications in scheduling and computational biology, we focused in this paper on balanced 2-interval graphs and unit 2-intervals graphs. Also, we introduced two natural new classes: (x,x)(x,x)-interval graphs and all-kk-simplicial graphs.

We mention here some directions for future works. First, the complexity of recognizing unit 2-interval graphs and (x,x)(x,x)-interval graphs remains open. Second, the relationships between quasi-line graphs and subclasses of balanced 2-intervals graphs still have to be investigated. Last, since most problems remains NP-hard for balanced 2-interval graphs, there is thus a natural interest in investigating the complexity and approximation of classical optimization problems on unit 2-interval graphs and (x,x)(x,x)-interval graphs.

Acknowledgments

We are grateful to Vincent Limouzy in particular for bringing to our attention the class of quasi-line graphs, and Michael Rao and Michel Habib for useful discussions.

References

  • [Ben81] A. Ben Rebea. Étude des stables dans les graphes quasi-adjoints. PhD thesis, Université de Grenoble, 1981.
  • [BFV04] G. Blin, G. Fertin, and S. Vialette. New results for the 2-interval pattern problem. In Proceedings of the 15th Symposium on Combinatorial Pattern Matching (CPM’04), 2004.
  • [BHLR07] A. Butman, D. Hermelin, M. Lewenstein, and D. Rawitz. Optimization problems in multiple-interval graphs. In Proceedings of the 18th Annual Symposium On Discrete Algorithms (SODA’07), pages 268–277, 2007.
  • [BLS+] A. Brandstädt, V. B. Le, T. Szymczak, F. Siegemund, H.N. de Ridder, S. Knorr, M. Rzehak, M. Mowitz, and N. Ryabova. ISGCI: Information System on Graph Class Inclusions. http://wwwteo.informatik.uni-rostock.de/isgci/classes.cgi.
  • [BNR96] V. Bafna, B. O. Narayanan, and R. Ravi. Nonoverlapping local alignments (weighted independent sets of axis-parallel rectangles). Discrete Applied Math., 71(1):41–54, 1996.
  • [BYHN+06] R. Bar-Yehuda, M. M. Halldórson, J. Naor, H. Shachnai, and I. Shapira. Scheduling split intervals. SIAM Journal on Computing, 36(1):1–15, 2006.
  • [CHLV05] M. Crochemore, D. Hermelin, G. M. Landau, and S. Vialette. Approximating the 2-interval pattern problem. In Proceedings of the 13th Annual European Symposium on Algorithms (ESA’05), volume 3669 of LNCS, pages 426–437, 2005.
  • [CKN+95] D. G. Corneil, H. Kim, S. Natarajan, S. Olariu, and A. P. Sprague. Simple linear time recognition of unit interval graphs. Information Processing Letters, 55:99–104, 1995.
  • [CS05] M. Chudnovsky and P. Seymour. The structure of claw-free graphs. In Surveys in Combinatorics, volume 327 of London. Math. Soc. Lecture Notes, pages 153–172. Cambridge University Press, 2005.
  • [FFR97] R. Faudree, E. Flandrin, and Z. Ryjáček. Claw-free graphs - a survey. Discrete Mathematics, 164:87–147, 1997.
  • [GW80] J. R. Griggs and D. B. West. Extremal values of the interval number of a graph. SIAM Journal on Algebraic and Discrete Methods, 1:1–7, 1980.
  • [GW95] A. Gyárfás and D. B. West. Multitrack interval graphs. Congress Numerantium, 109:109–116, 1995.
  • [HK06] M. M. Halldórsson and R. K. Karlsson. Strip graphs: Recognition and scheduling. In Proceedings of the 32nd Workshop on Graph-Theoretic Concepts in Computer Science (WG’06), volume 4271 of LNCS, pages 137–146, 2006.
  • [JMT92] D. Joseph, J. Meidanis, and P. Tiwari. Determining DNA sequence similarity using maximum independent set algorithms for interval graphs. In Proceedings of the Third Scandinavian Workshop on Algorithm Theory (SWAT’92), volume 621 of LNCS, pages 326–337, 1992.
  • [Kar72] R. M. Karp. Reducibility among combinatorial problems, pages 85–103. Plenum Press, 1972.
  • [Kar05] R. Karlsson. A survey of split intervals and related graphs, 2005. Manuscript.
  • [KR07] A. King and B. Reed. Bounding χ\chi in terms of ω\omega ans δ\delta for quasi-line graphs, 2007. Article in preparation.
  • [KW99] A. V. Kostochka and D. B. West. Every outerplanar graph is the union of two interval graphs. Congress Numerantium, 139:5–8, 1999.
  • [Lov78] L. Lovász. Kneser’s conjecture, chromatic number, and homotopy. Journal of Combinatorial Theory Series A, 25:319–324, 1978.
  • [McG77] R. McGuigan, 1977. Presentation at NSF-CBMS Conference at Colby College.
  • [Rob69] F. S. Roberts. Indifference graphs. In Proof Techniques in Graph Theory, Proceedings of the Second Ann Arbor Graph Theory Conference, pages 139–146, 1969.
  • [Via01] S. Vialette. Aspects algorithmiques de la prédiction des structures secondaires d’ARN. PhD thesis, Université Paris 7, 2001.
  • [Via04] S. Vialette. On the computational complexity of 22-interval pattern matching. Theoretical Computer Science, 312(2-3):223–249, 2004.
  • [WS84] D. B. West and D. B. Shmoys. Recognizing graphs with fixed interval number is NP-complete. Discrete Applied Math., 8:295–305, 1984.

7 Appendix

We give the detailed proofs of Theorem 1 and Property 4.

Proof of Theorem 1.

Let G=(V,E)G=(V,E) be a 3-regular triangle-free graph. We build a graph GG^{\prime} which has a 2-interval realization (a special one, very specific, and which we prove to be balanced) iff GG has a Hamiltonian cycle.

First we will detail how we build GG^{\prime} starting from the graph GG, and adding some vertices, in particular K5,3K_{5,3} gadgets. The idea is that the edges of GG will partition into a Hamiltonian cycle and a perfect matching iff all 2-intervals of the realization of GG^{\prime} can have their left interval realizing the Hamiltonian cycle, and their right interval realizing the perfect matching. A realization with such a placement of the intervals is called an “H-representation” of GG.

We proceed as illustrated in Figure 6. We choose some vertex of GG that we call v0v_{0} (which will be the “origin” of the Hamiltonian cycle), and the other are called v1,,vnv_{1},\ldots,v_{n}. For each vertex viv_{i} of GG we link it to a vertex of the S5S_{5} of a K5,3K_{5,3} called M(vi)M(v_{i}) (which will block one of the four extremities of the 2-interval viv_{i}). We link all vertices to a new vertex zz, which is linked to no M(v)M(v) except M(v0)M(v_{0}) (thus the interval of each viv_{i} intersecting M(vi)M(v_{i}), for i0i\neq 0, won’t intersect zz). We add three K5,3K_{5,3}, H1H_{1}, H2H_{2} and H3H_{3} : two vertices of the S5S_{5} of H1H_{1} are linked to zz, a third one is linked to one vertex of the S5S_{5} of H2H_{2}, one vertex of the S5S_{5} of H3H_{3} is linked to zz, and all vertices of H3H_{3} to v0v_{0}.

To explain this construction in detail, we study the realization of GG^{\prime}, if we suppose it is a (balanced) 2-interval graph, and we prove that it leads us to find a Hamiltonian cycle in GG.

As the realization of H1H_{1} and H2H_{2} are two contiguous blocks of intervals then one of their extremities must intersect. As zz is linked to two disjoint vertices of H1H_{1}, both intervals of zz are used to realize those intersections. But one interval of zz that we call zrz_{r}, also has to intersect one vertex of H3H_{3} which is not linked to H1H_{1}, so zrz_{r} intersects the second extremity of the block H1H_{1} (the first extremity being occupied by the extremity of H2H_{2}). And as zrz_{r} intersects only one interval of H3H_{3}, it must be the extremity of H3H_{3}. The other interval of zz is contained in the block H1H_{1}, thus can’t intersect M(v0)M(v_{0}) neither all the vertices viv_{i}, so all those 2-intervals intersect zrz_{r}. And as none of them intersect H3H_{3} except v0v_{0}, all of them except v0v_{0} have an interval contained in zrz_{r}, that we call vi,gv_{i,g}. The other interval of each viv_{i} is linked to a K5,3K_{5,3} so it has one extremity occupied by K5,3K_{5,3}, and the other one is free.

Conversely, if GG has a Hamiltonian cycle, then it is possible to find a HH-representation, such that all the constraints induced by the edges of GG^{\prime} are respected, as illustrated with the realization in Figure 6. We have already proved that this realization can be balanced. ∎

Proof of Property 4.

In the following, as we only considering the interval of vliv_{l}^{i} or vriv_{r}^{i} located at one extremity of the block XiX_{i}, and not the one inside, we will use vliv_{l}^{i} and vriv_{r}^{i} to denote those extremity intervals. For each vertex viv_{i}, we call vi,lv_{i,l} its left interval and vi,rv_{i,r} its right interval. We do the same for viv^{\prime}_{i}, and call l(I)l(I) the left extremity of any interval II.

We prove by induction that the graph KxK^{\prime}_{x} is (x+1,x+1)(x+1,x+1)-interval but not (x,x)(x,x)-interval, and that for any unit 2-interval realization, there exists an order σ𝒮x\sigma\in\mathcal{S}_{x} such that :

  • either l(vσ(x),l)<<l(vσ(1),l)<l(vσ(x),l)<<l(vσ(1),l)l(v_{\sigma(x),l})<\ldots<l(v_{\sigma(1),l})<l(v^{\prime}_{\sigma(x),l})<\ldots<l(v^{\prime}_{\sigma(1),l}) and l(vσ(x),r)<<l(vσ(1),r)<l(vσ(x),r)<<l(vσ(1),r)l(v^{\prime}_{\sigma(x),r})<\ldots<l(v^{\prime}_{\sigma(1),r})<l(v_{\sigma(x),r})<\ldots<l(v_{\sigma(1),r}),

  • or the symmetric case: l(vσ(1),l)<<l(vσ(x),l)<l(vσ(1),l)<<l(vσ(x),l)l(v_{\sigma(1),l})<\ldots<l(v_{\sigma(x),l})<l(v^{\prime}_{\sigma(1),l})<\ldots<l(v^{\prime}_{\sigma(x),l}) and l(vσ(1),r)<<l(vσ(x),r)<l(vσ(1),r)<<l(vσ(x),r)l(v^{\prime}_{\sigma(1),r})<\ldots<l(v^{\prime}_{\sigma(x),r})<l(v_{\sigma(1),r})<\ldots<l(v_{\sigma(x),r}).

Those two equalities correspond in fact to the “two stairways structure” which appears in Figure 7.  
Base case : we study all possible unit 2-interval realizations of K2K^{\prime}_{2} to prove that one of the expected inequalities is always true. We also prove that K2K^{\prime}_{2} has no (2,2)-interval realization.

First recall that realizations of XiX_{i} subgraphs can only be blocks of contiguous intervals. The edge between vr2v_{r}^{2} and vl3v_{l}^{3} forces the two blocks of X2X_{2} and X3X_{3} to be contiguous, with intervals vl2v_{l}^{2} and vr3v_{r}^{3} at their extremities. Each 2-interval viv^{\prime}_{i} must intersect both vl2v_{l}^{2} and vr3v_{r}^{3}, so one of its intervals intersects vl2v_{l}^{2} and the other intersects vr3v_{r}^{3}. Thus, one same interval of viv^{\prime}_{i} can not intersect both aa and bb which are disjoint, so aa intersects one interval of viv^{\prime}_{i} (say the one intersecting vl2v_{l}^{2}, the other case being treated symmetrically) and bb intersects the other one (so, the one intersecting vr3v_{r}^{3}). Each viv_{i} has to intersect both aa and bb, so it has to intersect aa with its first interval and bb with the second. But 2-interval viv_{i} must also intersect vr1v^{1}_{r} and vl4v^{4}_{l} which are both disjoint and disjoint to aa and bb. So one interval of each viv_{i} must intersect vr1v^{1}_{r} and the other one must intersect vl4v^{4}_{l}.

So we have shown that any unit 2-interval realization of K2K^{\prime}_{2} has the following aspect (or the symmetric) : the extremity of the block X1X_{1} intersecting all viv_{i} which intersect aa (or bb) which intersects all viv^{\prime}_{i}, which intersect the extremity X2X_{2} (or X3X_{3}) which intersects the extremity of X3X_{3} (or X2X_{2}), which intersects all viv^{\prime}_{i}, which intersect bb (or aa), which intersects all viv_{i}, which intersect the extremity of X4X_{4}.

Now we suppose, by contradiction, that there exists a (2,2)-interval realization of K2K^{\prime}_{2}. vr1v_{r}^{1} is an interval of length 2, but one of its two parts of length one has to intersect an element of X1X_{1}. The other has to intersect both v1v_{1} and v2v_{2}. As neither v1v_{1} nor v2v_{2} can intersect other intervals of X1X_{1}, then the first interval of v1v_{1} and v2v_{2} is the same interval. By proceeding the same way on X4X_{4} and vl4v_{l}^{4}, we obtain that the second interval of v1v_{1} and v2v_{2} is the same interval, so v1v_{1} and v2v_{2} should correspond to the same 2-interval: it contradicts with the fact that vertices v1v_{1} and v2v_{2} have a different neighborhood. So K2K^{\prime}_{2} has no (2,2)-interval realization.

To obtain the expected inequalities, we have to analyze the possible positions of all viv_{i} and viv^{\prime}_{i}. We only treat the first two inequalities as the second case is symmetric.

Suppose that l(v2,l)<l(v1,l)l(v_{2,l})<l(v_{1,l}). As v1v_{1} and v1v^{\prime}_{1} are non adjacent, then interval v1,lv_{1,l} is strictly on the left of v1,lv^{\prime}_{1,l}, so v2,lv_{2,l} is strictly on the left of v1,lv^{\prime}_{1,l}. Thus those two intervals do not intersect. But v2v_{2} and v1v^{\prime}_{1} are adjacent, so v2v_{2} and v1v^{\prime}_{1} must have intersecting right intervals. But then we have l(v2,r)<l(v1,r)<l(v2,r)<l(v1,r)l(v^{\prime}_{2,r})<l(v^{\prime}_{1,r})<l(v_{2,r})<l(v_{1,r}), and the right intervals of v2v^{\prime}_{2} and v1v_{1} can not intersect. We deduce their left intervals intersect, so l(v2,l)<l(v1,l)<l(v2,l)<l(v1,l)l(v_{2,l})<l(v_{1,l})<l(v^{\prime}_{2,l})<l(v^{\prime}_{1,l}).

If we suppose that l(v1,l)<l(v2,l)l(v_{1,l})<l(v_{2,l}), we get as well that l(v1,r)<l(v2,r)<l(v1,r)<l(v2,r)l(v^{\prime}_{1,r})<l(v^{\prime}_{2,r})<l(v_{1,r})<l(v_{2,r}) and l(v1,l)<l(v2,l)<l(v1,l)<l(v2,l)l(v_{1,l})<l(v_{2,l})<l(v^{\prime}_{1,l})<l(v^{\prime}_{2,l}). So for any unit 2-interval realization of K2K^{\prime}_{2} there exists an order σ=12\sigma=12 or σ=21\sigma=21 such that:

  • either l(vσ(2),l)<l(vσ(1),l)<l(vσ(2),l)<l(vσ(1),l)l(v_{\sigma(2),l})<l(v_{\sigma(1),l})<l(v^{\prime}_{\sigma(2),l})<l(v^{\prime}_{\sigma(1),l}) and l(vσ(2),r)<l(vσ(1),r)<l(vσ(2),r)<l(vσ(1),r)l(v^{\prime}_{\sigma(2),r})<l(v^{\prime}_{\sigma(1),r})<l(v_{\sigma(2),r})<l(v_{\sigma(1),r}),

  • or the symmetric inequalities.


Recursion: suppose that for some xx, Kx1K^{\prime}_{x-1} is not (x1,x1)(x-1,x-1)-interval but is (x,x)(x,x)-interval, and that any (x,x)(x,x)-interval realization verifies one of the expected inequalities.

Graph Kx1K^{\prime}_{x-1} is an induce subgraph of Kx=(V,E)K^{\prime}_{x}=(V,E) : Kx1=Kx[V{vx,vx}]K^{\prime}_{x-1}=K^{\prime}_{x}[V\setminus\{v_{x},v^{\prime}_{x}\}]. So by the induction hypothesis, there exists an order σ𝒮x1\sigma\in\mathcal{S}_{x-1} such that for any unit 2-interval realization of KxK^{\prime}_{x} :

  • either l(vσ(x1),l)<<l(vσ(1),l)<l(vσ(x1),l)<<l(vσ(1),l)l(v_{\sigma(x-1),l})<\ldots<l(v_{\sigma(1),l})<l(v^{\prime}_{\sigma(x-1),l})<\ldots<l(v^{\prime}_{\sigma(1),l}) and l(vσ(x1),r)<<l(vσ(1),r)<l(vσ(x1),r)<<l(vσ(1),r)l(v^{\prime}_{\sigma(x-1),r})<\ldots<l(v^{\prime}_{\sigma(1),r})<l(v_{\sigma(x-1),r})<\ldots<l(v_{\sigma(1),r}),

  • or the symmetric case: l(vσ(1),l)<<l(vσ(x1),l)<l(vσ(1),l)<<l(vσ(x1),l)l(v_{\sigma(1),l})<\ldots<l(v_{\sigma(x-1),l})<l(v^{\prime}_{\sigma(1),l})<\ldots<l(v^{\prime}_{\sigma(x-1),l}) and l(vσ(1),r)<<l(vσ(x1),r)<l(vσ(1),r)<<l(vσ(x1),r)l(v^{\prime}_{\sigma(1),r})<\ldots<l(v^{\prime}_{\sigma(x-1),r})<l(v_{\sigma(1),r})<\ldots<l(v_{\sigma(x-1),r}).

The position of vxv_{x} and vxv^{\prime}_{x} remains to be determined. We treat only the case where the first two inequalities are true, as the second case is symmetric.

As vxv_{x} and vr1v_{r}^{1} are adjacent, and vσ(x1)v^{\prime}_{\sigma(x-1)} and vr1v_{r}^{1} are not, then l(vr1)<l(vx,l)<l(vσ(x1),l)l(v_{r}^{1})<l(v_{x,l})<l(v^{\prime}_{\sigma(x-1),l}). So we define jj the following way: vσ(j),lv_{\sigma(j),l} is the leftmost interval such that l(vx,l)l(vσ(j),l)l(v_{x,l})\leq l(v_{\sigma(j),l}). if there is none, we say j=0j=0. Then we call σ𝒮x\sigma^{\prime}\in\mathcal{S}_{x} the permutation defined by:

{σ(i)=σ(i) if i<j,σ(j+1)=x,σ(i)=σ(i1) if i>j.\left\{\begin{array}[]{l}\sigma^{\prime}(i)=\sigma(i)\textrm{ if }i<j,\\ \sigma^{\prime}(j+1)=x,\\ \sigma^{\prime}(i)=\sigma(i-1)\textrm{ if }i>j.\end{array}\right.

Then we directly get inequalities:

  • l(vr1)<l(vσ(x),l)<<l(vσ(j+1),l)l(vx,l)<l(vσ(j1),l)<<l(vσ(1),l)<l(vσ(x),l)<<l(vσ(j+1),l)<l(vσ(j1),l)<<l(vσ(1),l)l(v_{r}^{1})<l(v_{\sigma^{\prime}(x),l})<\ldots<l(v_{\sigma^{\prime}(j+1),l})\leq l(v_{x,l})<l(v_{\sigma^{\prime}(j-1),l})<\ldots<l(v_{\sigma^{\prime}(1),l})<l(v^{\prime}_{\sigma^{\prime}(x),l})<\ldots<l(v^{\prime}_{\sigma^{\prime}(j+1),l})<l(v^{\prime}_{\sigma^{\prime}(j-1),l})<\ldots<l(v^{\prime}_{\sigma^{\prime}(1),l})

  • l(vσ(x),r)<<l(vσ(j+1),r)<l(vσ(j1),r)<<l(vσ(1),r)<l(vσ(x),r)<<l(vσ(j+1),r)<l(vσ(j1),r)<<l(vσ(1),r)l(v^{\prime}_{\sigma^{\prime}(x),r})<\ldots<l(v^{\prime}_{\sigma^{\prime}(j+1),r})<l(v^{\prime}_{\sigma^{\prime}(j-1),r})<\ldots<l(v^{\prime}_{\sigma^{\prime}(1),r})<l(v_{\sigma^{\prime}(x),r})<\ldots<l(v_{\sigma^{\prime}(j+1),r})<l(v_{\sigma^{\prime}(j-1),r})<\ldots<l(v_{\sigma^{\prime}(1),r})

We obtain the expected inequalities by reasoning the same way as in the end of the base case.

So in particular we have l(vσ(x),l)<<l(vσ(1),l)l(v_{\sigma(x),l})<\ldots<l(v_{\sigma(1),l}) and vr1v_{r}^{1} must intersect all those viv_{i} for i1,xi\in\llbracket 1,x\rrbracket, but also an interval of X1X_{1} which intersects none of the viv_{i}. So it must have length x+1x+1, thus KxK^{\prime}_{x} is not a (x,x)(x,x)-interval graph

Conclusion: As the base case and the recursion has been proved, expected properties of the graph KxK^{\prime}_{x} are true for any x2x\geq 2. ∎