• Keine Ergebnisse gefunden

4 Canonical representation of interval graphs

Corollary 4.4.4. Canonical unit interval representations of proper interval graphs can be com- com-puted in FL

4.6 Constrained intersection structure

Another way to constrain an interval representation of an interval graph is to prescribe the intersection structure between all pairs of intervals. This can be done in form of an interval matrixµ= (µu,v)u̸=vV with entriesµu,v∈ {di,ov,cd,cs}. A function α: V → I, whereI is an interval system, is aninterval representationofµif it holds for allu̸= v∈V that

α(u)∩α(v) =µu,v =di, α(u)≬α(v)⇔µu,v =ov, α(u)⊊α(v)⇔µu,v =cd, and α(u)⊋α(v)⇔µu,v =cs.

Note thatµspecifies anunderlying graph Gµ on the vertex set V(Gµ) =V that contains the edges E(Gµ) ={{u,v} ∈(V2) ⏐µu,v ̸=di}

. Any interval representation ofµis also one of Gµ; on the other hand, an interval representation of Gµ is only one of µ if it additionally satisfies the restrictions given by the non-dientries ofµ.

LetO= (Ou)uV be a family of equivalence relations such that eachOupartitions the set{v ∈ V|µu,v = ov}ofov-neighbors of u into at most two equivalence classes. An interval representationαofµis calledO-respectingif for any three verticesu,v,w∈ V withµu,v= µu,w =ov, the intervalsα(v)andα(w)contain the same extreme point ofα(u) if and only if(v,w)∈Ou.

This section gives a logspace reduction from computingO-respecting interval repre-sentations of interval matrices to computing(ℓ,s)-respecting interval representations of interval graphs.

4.6 Constrained intersection structure As a first step, the following lemma observes that an (O-respecting) interval represen-tationαof an interval matrixµcan be required to be sharp, i.e., that every point of the resulting interval systemα(µ)is the extreme point of exactly one interval.

Lemma 4.6.1. Letµ = (µu,v)u̸=vV be an interval matrix and let O = (Ou)uV be a family of equivalence relations. Given any interval representation α: V → I of µ, a sharp interval representationα: V → I ofµcan be obtained in logspace. Moreover, ifαis O-respecting, then so isα.

Proof. Intuitively, the sharp interval representationα is obtained from αby dropping all points that are not an extreme point of an interval and by individualizing coinciding extreme points as outlined in Figure4.11: Place the start points in descending order of interval length, followed by the end points in ascending order of interval length. Note that these modifications preserve overlaps and inclusions, so α is an (O-respecting) interval representation of µ. Clearly,α can be computed in logspace. The following equivalences follow directly from the definition of α. so α is like α an interval representation of µ. Moreover, if α is O-respecting, then so is α. To see that α is sharp, observe that for all v ∈ V, it holds that l(v),r(v) ∈ {0, . . . , 2· |V| −1}, and the above equivalences implyl(u)̸=r(v)for allu,v∈Vas well as l(u)̸=l(v)andr(u)̸=r(v)for allu ̸=v ∈V. (Note thatu̸= vimplies α(u)̸= α(v), as all inclusions allowed byµare proper.)

The key observation is that the entries of an interval matrixµ= (µu,v)u̸=vV together with the equivalence relations in O = (Ou)uV already determine the lengths of all intervals and their pairwise intersections in any sharp interval representation ofµ. LetGµ

be the underlying graph. Define the functionsℓµ: V → N+and sµ,O: E(Gµ) → N+as The next lemma shows thatℓµ andsµ,O reflect the lengths of the intervals and pairwise intersections in any sharpO-respecting interval representation of µ.

Lemma4.6.2. Letµ= (µu,v)u̸=vV be an interval matrix and let O= (Ou)uVbe a family of equivalence relations. Then any sharp O-respecting interval representationα:V → I ofµis an (ℓµ,sµ,O)-respecting interval representation of the underlying graph Gµ.

Proof. Letαbe a sharpO-respecting interval representation ofµ. This directly implies thatαis also an interval representation of the underlying graphGµ.

To see that αisℓµ-respecting, consider anyv∈V. As αis sharp, the cardinality of the intervalα(v)is exactly the number of extreme points contained in it. Clearly,α(v)must contain both of its own extreme points. For each other vertexw∈ V\ {v}, the matrix this time together with the equivalence relations in O, determine the cardinality of α(u)∩α(v). If µu,v ∈ {cd,cs}, then the length of the contained interval equals the length of the intersection. The case µu,v = ov is more complicated and illustrated in Figure4.12(b). The intersectionα(u)∩α(v)contains exactly one extreme point for each ofα(u)andα(v). The contribution of every other vertexw∈V\ {u,v}is determined by the matrix entriesµu,wandµv,wand the equivalence relationOw. Indeed, if at least one of these entries isdiorcd, then no extreme point of α(w)lies inα(u)∩α(v); if both entries

Figure4.12: Proof of Lemma 4.6.2: The contribution of different types of neighbors to (a)ℓµ(v)and (b) sµ,O(

{u,v})in caseµu,v =ov.

4.7 Completeness results the other iscs, then exactly one extreme point ofα(w)lies inα(u)∩α(v). If both entries areov, there are two cases: Ifα(w)overlaps bothα(u)andα(v)from the same side, i.e.

if (u,v)∈Ow, then one extreme point ofα(w)lies inα(u)∩α(v), otherwise none. Thus

α(u)∩α(v)⏐=sµ,O(

{u,v}).

These two lemmas allow to compute interval representations of interval matrices.

Theorem 4.6.3. Given an interval matrix µ = (µu,v)u̸=vV and a family O = (Ou)uV of equivalence relations, a sharp O-respecting interval representation α: V → I ofµcan be com-puted in logspace; if this is not possible, the algorithm detects this. Moreover, for any sharp O-respecting interval representation α: V → I of µ, there is a hypergraph isomorphism φ fromI toI with φ(

α(v)) =α(v)for all v∈V.

Proof. Ifµadmits a sharpO-respecting interval representation, Lemma4.6.2shows that the underlying graph Gµ admits an (ℓµ,sµ,O)-respecting interval representation. Note that the graph Gµand the functionsℓµ andsµ,O can easily be computed fromµandOin logspace. By Theorem4.5.5, an(ℓµ,sµ,O)-respecting interval representationα0:V → I0 of Gµcan be computed in logspace; if the algorithm detects that there is no suchα0, the input µand O is rejected. Moreover, the resulting interval model I0 is unique up to isomorphism. It is not hard to see that α0is also an interval representation ofµ. Indeed, µu,v = diis equivalent to {u,v} ∈/ E(Gµ)and thus to α0(u)∩α0(v) = ; and likewise µu,v = cd is equivalent to ℓµ(u) = sµ,O(

{u,v}) < ℓµ(v) and thus to α0(u) ⊊ α0(v). Further, Lemma 4.5.3 implies that α0 is O-respecting. Note though, that while the interval model I0 must be isomorphic to a sharp interval model of µ, it does not need to be sharp itself; for example,I0might be {

[1, 4],[3, 4]}. However, Lemma4.6.1 allows to transformα0into a sharp interval representationα: V → I ofµin logspace. By Lemma4.6.2,αis(ℓµ,sµ,O)-respecting, so by the uniqueness part of Theorem4.5.5there is a hypergraph isomorphism φfrom I toI0 withφ(α(v)) =α0(v)for allv∈V. Applying the same argument to an arbitrary sharpO-respecting interval representationα: V→ I of µproves themoreoverpart of the theorem.

Combining this with the logspace algorithm of Theorem4.2.6for canonical representa-tion of interval hypergraphs gives the following corollary.

Corollary 4.6.4. Canonical O-respecting interval representations of interval matrices can be