Approximating
the
path-distance-width for asteroidal
triple-free graphs
Yota
Otachi
Koichi Yamazaki
Department of
Computer
Science,
Gunma University,
1-5-1
Tenjin-cho,
Kiryu,
Gunma,
376-8515
Japan
E-mail addresses: {otachi@comp. , koichi@}cs.gunma-u.ac.jp
Abstract
The path-distance-width ofagraph is agraph parameter to
measure
how close the graph isto apath. In thispaper, we giveanapproximation algorithm witha constantapproximation ratioforpath-distance-widthon$A\Gamma- ff\infty$graphs.
1
lntroduction
Thepath-distance-width is
a
graphpmmetertomeasure
how close the yaphis toa
path[19, 18]. There
are
several other such gaph parmeters suchas
path-width and bandwidth.Intuitively, the classes of graphs ofbounded path-distance-width, bounded bandwidth, and
bounded path-width have chain-like stractures. There
are
other graph classes which alsohavechain-like
smicmres.
suchas
interval graphsand AT-free graphs (see [4] fordetailson
inteival graphs and $AT-ffee$ graphs). It is known that there
are
relationships among thoscgraphparmetersand graph classes (cf. [10]).
The studyis motivatedbythe research
on
bandwidth ofAT-free graphs [11,8]. Tosee
the motivation, letus
brieflyreview thehistoryofthe research of bandwidthfor interval graphs and AT-ffee graphs. Imaginably, ifwe
restrictour
input graphs to ffom interval graphsor
$AT-\Re e$graphs, thenwe would be ableto flnd easilyits chain-like stmcmoe(such
as
itsinter-valrepresentation
or a
dominatingpair), and then from the chain-likestructure
we
might be ableto computethe bandwidth. It was, however,notknown the computationalcomplexity of computingthebandwidth forintervalgraphs[9]. Butthenittumedoutthatthe decision prob-lemcan
be solved inpolynomial time (see [17]). Since interval graphsare$A\Gamma- ffee$ graphs,it would be naturalto ask whether
or
not the bandwidth decision problemfor AT-ffeegraphscan
be solved in polynomial time. Unfortunately, it is known that the bandwidth decision problem for AT-ffee graphsisNP-complete (cf [13, 11]). Fortunately, however, itis known that forAT-Reegraphs, thebandwidth decision problemcan
be approximatedinpolynomialtime within
a
constant factor[11].a
similaritybetweenthe problem of computing thepath-distance-width and the problem ofcomputing the bandwidth: Both problems do notadmit PTAS
even
fortrees [1, 18]. So, itwould be reasonable to ask the computational complexity ofcomputing the
path-distance-width for $AT-\theta ee$ graphs. Unfortunately,
so
far,we
do not know the complexityeven
forinterval graphs. In this
paper,
however,we
consider the problem of approximatingpath-distance-width
forAT-ffee graphs and interval graphs. Althoughsome
techniques developedin the
research
on
bandwidthcan
be carriedover
into the
researchon
path-distance-width,the path-distance-widthproblemhas
a
serious drawback which bandwidthproblm doesnothave: Path-distance-width isnot closedunder the edge deletion. Inmanycases, thisdrawback
makes thedesign and analysis of algorithmsvery difficult In this study,however,ittums out that the $res\triangleright iction$ to AT-ffee graphs is enough to
overcome
the drawback for achievinga
constant factor. In this
paper,
we
givean
approximation algorithm witha
constantapproxi-mation ratio
forpath-distance-widthon
$A\Gamma- ffee$ graphsandalsoa
specializedapproximationalgorithm forintervalgraphs.
2
Definitions and
notation
Let$G$be
a
graph. $V(G)$and$E(G)$denotethe vertex set and the edge set of$G$,respectivelyWedenotethemaximum degreeof$G$by$\Delta(G)$
.
Fora
subset$S\zeta V(G)$anda
vertex$v\in V(G)$,$dist_{G}(S,v)$denotes the distancebetween$S$and$v$in$G$
.
Wedenote$mx\{dist_{G}(S.v)|v\in V(G)\}$by $e(S)$
.
Wesimplywrite $disl_{G}(u,v)$ and$e_{G}(u)$ imtead of$dist_{G}([u\}.v)$ and$e_{G}([u\})$.
The$kth$power of$G=(VE)$, denotedby $G^{k}$, is the $\Psi^{aph}$ $(V. E’)$ such that $\{u.v\}\in E’$ if and only
if$dist_{G}(u,v)\leq k$
.
Anindependentset ofthreeverticesis calledan asteroidaltripleifeverytwo ofthem
are
connected bya
path avoidng the neighborhood ofthe third. A yaph is asteroidal triple-ffee (AT-ffeeforshort), if it containsno
asteroidal triple. $M(n)$ denotes thetimecomplexity ofmultiplyin$g$two$nxn$ matrices of integers. For the complexityofmaPix
multiplication, see, for example, [14, 20].
A
sequence
$D=(X_{1},\ldots.X_{t})$ ofsubsetsofvertices isthe path.distance decomposition(orsimply decomposition) ofa graph $G=(V,E)$ if$X_{l}$ is the set ofvertices ofdistance $i-1$
ffom$X_{I}$ for each $1\leq i\leq t$, where $t=e(X_{1})$
.
Each$X_{l}$ is called a level and specially$X_{1}$is
called the initialset. We will wnite the decompositionwithan
initial set$X_{1}$ by$D(x_{1}.\sigma)$or
simply $D(X_{1})$or more
simply $D$ ifit is clear from the context. For convenience,we
sometimes
use
$X_{l}$ for $i>t$ and it is treatedas an
empty $seL$ The width of$D$, denotedby$pdw_{D}(G)$, is defined
as
$\max_{0\leq l\leq},$$|X_{l}|$.
The path-distance-width of$G$, denotedby$pdw(G)_{*}$ isdefined
as
$minx_{I}\sigma rpdw_{D(X_{1})}(G)$.
Asubset$X\subseteq V(G)$isan
optimalinitialsetof$G$if$pdw(G)=$$pdw_{D(X)}(G)$
.
An interval graph is
a
graph whose verticescan
be mapped to disbnct intervals in thereal line such that two
verices
are
adjacentin the graph ifand only if their correspondin$g$intervals overlap. For
an
interval $I$,we
denote the left andright endpoints by $l(l)$ and$r(I)$,respectively. In thispaper,
we
identifyan
interval with the$corr\propto pond\dot{m}g$vertex,forinstance,we
sometimes write $[I_{l},I_{j}\}\in E(G),$$dist_{G}(I_{l},I_{J})$, andso
on.
Foran
interval representation 1 of3
Results
3.1
Path-distance-width of the
kth
power
of
a
graph
Lemma3.1. Let $G$ beagraph $d$beapositiveinteger and$X_{1}$ be asubset
of
$V(G)$.
And let$D(X_{1}.G)=(X_{1}\ldots..X,)$and$D(X_{1},G^{d})=(Y_{1}, \ldots.Y_{u})$ be the decompositions
of
$G$and$G^{d}$,respectively, with$X_{1}$
as
the initialset(Notethat$X_{1}=Y_{1}$). Then,1.
for
each $2\leq i\leq u$.
$Y_{l}$ is contained$in\cup\iota X_{b}$ where theunion istakenover
all$k$suchthat$d(i-2)<k\leq d(i-1)$,
2.
for
each $1\leq i\leq u$.
there existsan
index$j$such$thatX_{l}$iscontainedin $Y_{J}$.
Proof.
(1) Let $v$ be a vertex in $Y_{l}$.
As $v\in Y_{l}$.
we
have $dist\alpha(X_{1},v)=i-1$.
Since if$dist_{G}(X_{1}.v)\leq d(l-2)$then$dist_{\theta}(X_{I}.v)\leq i-2$
.
we
have$d(i-2)<dist_{G}(X_{1},v)$, Similarly,we
also have$dist_{G}(X_{1},v)\leq d(i-1)$.
Hence,we
have$d(i-2)<dist_{G}(X_{1}.v)\leq d(i-1)$.
andthis completes the proof of(1).
(2)Supposethatthereis$aleve1X_{l}$which
intersects
$Y_{J}$ and$Y_{l}$ forsome
$1\leq j<k\leq u$.
Thenlet$x\in Y_{j}\cap X_{t}$and$y\in Y_{k}\cap X_{l}$
.
Since $x\in Y_{J}\cap X_{l}$and the above(1), $d(j-2)<i\leq d(j-1)$.
On the otherhand, since$y\in Y_{k}\cap X_{l}$ and the above(1), $d(k-2)<i\leq d(k-1)$
.
Thus,we
have$i\leq d(\backslash j-1)$and$d(k-2)<i$
.
However,as
$j<k$,we
havea
contradiction$i\leq d(j-1)\leq$ ロ$d(k-2)<i$
.
Lemma3.2. Fora graph
G.
$pdw(G)\leq pdMG^{d})\leq d\cdot pdw(G)$.
Prvof
We firstshow that$pd\mu G$) $\leq pdw(G^{d})$.
Let$X_{1}$ bean
optimal imtialsetof$G^{d}$.
From(2) ofLemma 3.1,$pdMG$) $\leq pdw\alpha X_{1},G)(G)\leq pdw_{D(X_{1},G^{d})}(\theta)$
.
We
now
showthat$pdw(G^{d})\leq d\cdot pdw(G)$.
Let$X_{1}$ bean
opumalimitialset of$G$.
From$(1)$ロ
ofLemma3.1,$pdw(G^{d})\leq pdw_{qX_{1},\theta)}(G^{d})\leq d\cdot pdw_{D(X_{I}.G)}(G)=d\cdot pdw(G)$
.
3.2
Approximability
of path-distance-width
for
k-cocomparability
graphs
In this subsection,
we
will need the followin$g$deflnitionand results.A graph$G=(V,E)$is
a
$comparabilil\gamma$graph ifthere exists
a
lmear ordening$<$on
$V$suchthat for
any
three vertices $u<v<w,${
$u.v|\in E$and $\{v.w|\in E$implies $\{u,w\}\cdot\in E$.
A graph$G=(V,E)$ is
a
$cocomparabili\alpha$graph if$G$ is the complement ofa
comparability graph. Itis known that$G$ is acocompmbility graph iffit has
a
cocomparability ordering, i.e., thereexists
a
linear order $<$on
$V$ such that forany threevertices$u<v<w,$
$\{u.w|\in E$ implies$\{u,v\}\in E$or $[v,w|\in E$
.
There is anothercharacterization duetoDamaschke:Theorem3.3 ([6]). Let$G$ bea connected graph. Then $G$ is acocomparability graph
iff
$G$hasa linear ordering$<onV(G)$such that$d_{G}(x.y)+d_{G}(y.z)\leq d(x,z)+2$
for
all $x<y<z$.
Actually, anycocomparability orderingsatisfles the inequality inTheorem 3.3.
Deflnition 1 ([5]). Let $G$ be
a
graph and $k$a
positive integer. A $k- cocomparabili\mathfrak{y}$’or-deting (k-CCPO) of$G$ is
an
ordein$g$on
$V(G)$ such that for every any three vertices $u<$ $v<w,$ $dist_{G}(u,w)\leq k$ implies $dist_{G}(u,v)\leq k$or
$dist_{G}(v,w)\leq k$.
A graph is calleda
k-cocomparabilitygraphif itadmits
a
k-CCPO.Notethat
a
l-cocomparability orderingisjusta
cocomparability ordering.Lemma3.4([5]). A graph$G$is ak-cocomparabilitygraph
if
and onlyif
$G^{k}$isacocompara-bililygraph
Theorem3.5([5]).
AT-free
graphsare
2-cocomparability graphs.For cocomparability graphs, ffomLemma3.2,
we can
show the nextlcmmaLemma3.6. Let$G$bea$cocomparabili\psi$graph and$s$be
thefrst
vertex ina$cocomparabili\varphi$ordering
of
G. Then,$pdw\alpha(s\},G)(G)\leq 4pdw(\sigma)$.
Proof.
Considerthe largest level$X_{l}$ in$D([s\},G)$, i.e.,$pdw_{D(\{s),G)}(G)=|X_{l}|$.
From Theorem3.3,
we
have$dist_{G}(x.y)\leq 2$forany
vertices$x.y\in X_{l}$.
whichimpliesthat
$X_{l}$is
a
cliquein
$G^{2}$.
Since any cliquein $G^{2}$ camotintersect
more
than two levels,we
know $|X_{l}|’ 2\leq pdw(G^{2})\leq$ロ
$2pdw(G)$
.
Therefore,$pdw_{D([s).G)}(G)\leq 4pdw(G)$.
BycombiningLemmas 3.2, 3.4, and 3.6,
we
havethe next theorem.Theorem 3.7. There is
an
$O(M(n)\log n)$ time algorithm thatfinds
an
inilld$s\epsilon t$of
a
path-distance decomposition
of
width at most $4k$ times the optimalfor
agivengraph $G$ with $n$vertices, where$k$isthesmallestintegersuch that$G$admitsa$k- cocompxabili\phi$ordering.
Proof
To findthe mitialset,we
willneed $G^{l}$ foreach $1\leq i\leq d$,where$d$is the dimeterof$G$
.
To obtain$G^{2},\ldots,G^{d}$,we
firstestablish the distancematrix of$G$(i.e., the $(u.v)$ entryinhematrixis the distance between$u$and$v$). This
can
be donein$\alpha M(n)\log n)$time(e.g.,see
[15]$)$
.
Next
we
find the smallest integer $k$ such that $G^{k}$ isa
cocomparabiliq graph by usingthe binary search. That is, in the binaiysearch,
we
check if the complement graph$\overline{G^{l}}$is
a
comparability graph. That is,
we
applyan
$O(n^{2})$ timeorientation algorithm in [16] to$\overline{G^{l}}$, then
we
check ifthe orientation of $G^{i}$ is transitive by compubng the transitive closure in$O(M(n))$time. Ifthe orientation is transitive then
we
canconclude $G^{l}$ is a cocomparabilitygraph, otherwise$G^{l}$ isnot$cocomparabih\Psi$
.
Thisrecognition testcan
becheckedin$O(M(n))$
time, Thus,the binaiy search
can
be donein $O(M(n)\log n)$ time.Afterfinding the smallest integer$k$,
we
compute the initial vertex $s$ina
cocomparabilityordering of$G^{k}$
.
To this end,we
just seekan
in-degree $0$ vertex in the oriented graph $G^{k}$,and take it
as
$s$.
Thereason
whywe
can
doso
is that there isa
topological sort$\pi$ of theoriented graph $G^{k}$ such that
$s$ is the initial vertexin $\pi$ (Note that$\pi$
can
be consideredas a
cocomparabilityordering of$G^{k}$).
As
a
result,the total timeis$O(M(n)\log n)$.
$\square$From Theorem3.5,
we
havethe following corollary.afactor
8in $O(M(|V(G)|))$time.3.3
Approximability of path-distance-width for
interval
graphs
Let 1 be
an
interval representation ofan
interval graph $G$.
Asequence
$(I_{1}\ldots.,I_{n})$ oftheelements in 1 is
a
lefl
endpointorder ofl if$i\leq j$ iff$l(I_{l})\leq l(I_{J})$for$I_{l},I_{j}\in 1$.
Lemma3.9. Let$(I_{1}, \ldots,I_{n})b\epsilon$ a
lefl
endpoint orderinaninlervalrepresentationofan
inter-val graph
G.
$d$bean
integersuch that $1\leq d\leq e_{G}(I_{1})-1$.
and$I_{l}$bean
intervalatdistance$d$$fvmI_{1}$ which has the largest right endpoint
among
allintervalsatdistancedfvm
$I_{1}$.
$nen_{l}$$I_{l}$ intersectswithallintervalsatdistance$d+1$
fiom
$I_{1}$.
Proof.
Suppose that there isan
interval$I_{J}$such that$I_{J}$ isatdistance$d+1$ ffom$I_{1}$ and$I_{j}$doesnot intersect with $I_{l}$
.
Then,we
have the following two cases, and in eachcase we
have acontradiction. Recall thatweidentify
an
inteivalwiththe correspondingvertex.Case 1: $I_{J}$ lies to the left of$I_{l}$ $(i.e., r(I_{j})<l(I_{l}))$
.
Considera
shortestpath ffom$I_{1}$ to $I_{i}$.
Clearly, $I_{j}$
intersects
an
interval in the shortestpath. Thismeans
that the distance$I_{J}$and$I_{1}$ is
atmost$d$,
a
contradiciton.Case 2: $I_{J}$ lies to the right of$I_{l}$ $(i.e., r(I_{l})<l(I_{J}))$
.
Clearly,$I_{J}$ intersects
an
intenal $I_{k}$ atdistance$d$Rom$I_{1}$
.
However, ffom thedefinition of$I_{l}$,we
have$r(I_{l})\leq r(I_{l})<l(I_{J})$,whichisa
contradiction. ロFromLemma3.9,
we
havethe$fo\mathbb{I}ow\dot{m}g$corollaiy.Corolary 3.10. Let $(I_{1},\ldots,I_{n})$ be a
lefl
endpoint order inan
interval graph $G$ and let$(X_{1}, \ldots,X_{l})$ be the decomposition $D([I_{1}|,G)$
.
$n_{en}$,for
each $1\leq d\leq t-1$ lhereis avertex$u\in X_{d}$whichis adjacenttoall verticesin$X_{d+1}$
.
FromCorollary3.10and the factthat$\Delta(G)3\leq pdw(G)$,wehave thefollowinglemma.
Lemma 3.11. Let $(I_{1}, \ldots,I_{n})$ be a
lefl
endpoint order in an inlerval graph G. Then, $pdw\alpha|J_{1}|,G)(\sigma)\leq\Delta(\otimes$.
Thus, $pdw\mu\{J_{1}|,G)(G)\leq 3pd\not\in\uparrow(G)$.
FromLemma3.11,
we
havethenexttheorem.Theorem3.12. For
an
intervalgraphG.
thepath-distance-widthcan
beapproximatedwilhinafactor
3in $O(|V(G)|+|E(G)|)$time.4 Conclusion
In this
paper,
we
give approximation algorithms with constant approximation ratios for path-distance-widthon
AT-ffee graphs and interval graphs. Unfortunately, however,we
do not know the computational complexity of computing the path-distance-width for AT-ffee graphs, indeedeven
forinterval graphs. Alsoit is notelucidatedthe tigmessoftheratiosofour
proposed algorithms.Acknowledgments
The flrst author
was
supported by JSPS Research Fellowship for Young Scientists. Thesecond author
was
supportedbyKAKENHI(21500004).References
[1] G. Blache,M. Kaipinski, and J. Wrtgen, On approximation inffactabihty of the
band-widthproblm, 1998,ECCC$TW8- 014$
.
[2] H.L. Bodlaender, J.R. Gilbert, H. Hffiteinsson, T. Kloks, Approximhng ffeewidth,
pathwidth, ffontsize,and shortestelimmationtree, J.Algorithms 18 (1995)$238\sim 255$
.
[3] V. Bouchitte and I. $Todinc*$ Treewidth and
minimum
fill-in: $\Psi^{ouping}$ the minimalseparators, SIAMJ. Comput. 31 (2001)
212-232.
[4] A. Bmdsaedt,VB. Le,J.P. Spinmd, GraphClasses: A Survey, SIAM(1999).
[5] J.M. Chang, C.W. Ho, M.T. Ko, Powers ofasteroidal Piple-ffee graphs with applica-tions,Ars Combin. 67(2003) 161-173.
[6] P. Dmaschke, Distances in cocompmbility graphs and theirpowers, Discrete Appl.
Math.35 (1992)
67-72.
[7] P.C. Gilmore, A.J. Hoffman, A characterization of comparabihity graphs and interval graphs,Canad.J. Math. 16,(1964)
539-548.
[8] P.A.Golovach,P. Heggemes, D.Kratsch,D.Lokshtanov,D.Meister,S.Saurabh,
Band-width
on
AT-free graphs, In ISAAC 2009,LNCS 5878 (2009)573-582.
[9] D.S. Johnson,TheNP-completenesscolum:
an
ongoing guide, 16thedition, J. Algo-rithms 6(1985)434-451.[10] H. Kaplan and R. Shmir, Pathwidth, bandwidth, and completionproblems to
proper
intervalgraphs withsmallcliques,SIAMJ. Comput. 25 (1996)
540-561.
[11] T.Kloks,D.Kratsch andH.Mmler, Approximating the bandwidth forasteroidal biple-firee graphs,J. Algorithms32(1999)
41-57.
[12] R.M. McConnell and J.P. Spinrad, Modular decomposition and transitive
orientation.
Discrete Math. 201 (1999)
189-241.
[13] A. Parra and P. Schefller, Characterizations and algorithmic applications of chordal
gaph embeddings, Discrete Appl. Math.79 (1997)
171-188.
[14] S. Robinson, Toward
an
optimal algorithm formatrix multiplication, SIAM News 38 (2005).[15] R. Seidel, On the all-pairs-shortest-path problem inunweighted undirected graphs, J.
Comput. System Sci. 51 (1995)400-403.
[16] J.P. Spinrad, On comparability andpermutation graphs, SIAM J. Comput. 14 (1985)
658-670.
[17] A.P. Spmgue, An $0(n\log n)$ algorithin forbandwidth ofinteival graphs, SIAM J.
Dis-creteMath. 7(1994)213-220.
[18] KYamazaki,On approximation intractability ofthe path-distance-widthproblem, Dis-crete Appl. Math. 110(2001)
317-325.
[19] K. Yamazaki, H.L. Bodlaender, B. de Fluiter, and D.M. ?hihkos, Isomorphim for
$\Psi^{aphs}$
ofbounded distance
width,$Algori4i\dot{m}ca24$(1999)105-127.
[20] R. Yuster and U. Zwick,Fast