Graph separators: a parameterized view

25

Click here to load reader

Transcript of Graph separators: a parameterized view

Page 1: Graph separators: a parameterized view

http://www.elsevier.com/locate/jcss

Journal of Computer and System Sciences 67 (2003) 808–832

Graph separators: a parameterized view$

Jochen Alber,1 Henning Fernau,� and Rolf Niedermeier

Wilhelm-Schickard-Institut fur Informatik, Universitat Tubingen, Sand 13, D-72076 Tubingen, Germany

Received 1 October 2001; revised 2 April 2002

Abstract

Graph separation is a well-known tool to make (hard) graph problems accessible to a divide-and-conquerapproach. We show how to use graph separator theorems in combination with (linear) problem kernels inorder to develop fixed parameter algorithms for many well-known NP-hard (planar) graph problems. Wecoin the key notion of glueable select&verify graph problems and derive from that a prospective way toeasily check whether a planar graph problem will allow for a fixed parameter algorithm of running time

cffiffik

pnOð1Þ for constant c: One of the main contributions of the paper is to exactly compute the base c of the

exponential term and its dependence on the various parameters specified by the employed separatortheorem and the underlying graph problem. We discuss several strategies to improve on the involvedconstant c:r 2003 Elsevier Science (USA). All rights reserved.

Keywords: Planar graph problems; Fixed parameter tractability; Parameterized complexity; Graph separator theorems;

Divide-and-conquer algorithms

1. Introduction

It is a common fact that algorithm designers are often faced with problems that can be shown tobe NP-hard [21]. In many applications, however, a certain part (called the parameter) of the whole

ARTICLE IN PRESS

$An extended abstract of this paper was presented at the 7th Annual International Computing and Combinatorics

Conference (COCOON 2001), Springer, Lecture Notes in Computer Science, Vol. 2108, held in Guilin, China, August

2001, pp. 318–327.�Corresponding author. Current affiliation: University of Newcastle, School of Electrical Engineering and Computer

Science, University Drive, Callaghan, NSW 2308, Australia.

E-mail addresses: [email protected] (J. Alber), [email protected] fernau@cs.

newcastle.edu.au (H. Fernau), [email protected] (R. Niedermeier).1Supported by the Deutsche Forschungsgemeinschaft (research project PEAL (Parameterized complexity and Exact

ALgorithms), NI 369/1-1,1-2).

0022-0000/03/$ - see front matter r 2003 Elsevier Science (USA). All rights reserved.

doi:10.1016/S0022-0000(03)00072-2

Page 2: Graph separators: a parameterized view

problem can be identified which tends to be of small size k when compared with the size n of thewhole problem instance. This leads to the study of parameterized complexity [6,18,20].

1.1. Fixed-parameter tractability

Formally, a parameterized problem is a (two-dimensional) language L over S� �N; where S issome alphabet.2 The second coordinate of an element ðI ; kÞAL is called the parameter. We saythat L is fixed-parameter tractable if there exists an algorithm that decides the word problem on

input ðI ; kÞ running in time f ðkÞnOð1Þ; where n ¼ jI j and f is an arbitrary function that capturesthe inherent combinatorial explosion of the problem and that only depends on k: The associatedcomplexity class is FPT. We will also term such algorithms ‘‘f ðkÞ-algorithms’’ for brevity,focusing on the exponential part of the running time bound. Typically in the literature, such

functions f for fixed-parameter problems are f ðkÞ ¼ ck; f ðkÞ ¼ kk; or f ðkÞ ¼ ck2

: To ourknowledge, so far, only one non-trivial fixed-parameter tractability result where the correspond-

ing function f is sublinear in the exponent, namely f ðkÞ ¼ cffiffik

p; is known [1]: Dominating Set on

planar graphs. Similar results hold for closely related problems on planar graphs such as Face

Cover, Independent Dominating Set,Weighted Dominating Set, etc. [1]. We improved thisresult to apply to a much broader class of planar graph problems, presenting a generalmethodology based on concepts such as tree decompositions and bounded outerplanarity andintroducing the novel so-called ‘‘Layerwise Separation Property’’ as a key unifying tool [5]. Thetechniques there are rather elaborated. Here, by way of contrast, we will present a conceptuallyeasier divide-and-conquer approach based on (planar) separator theorems for obtaining

parameterized graph algorithms running in time OðceðkÞqðnÞÞ for sublinear functions e; i.e.,eðkÞAoðkÞ: In contrast to [5], the techniques in this paper apply not only to planar graphs, but alsoto all classes of graphs which admit suitable separator theorems, such as, e.g., the class of graphsof bounded genus.

1.2. Scope of the paper

Up to now, several interesting but specialized fixed-parameter algorithms have been developed.The thrust has been to improve running times in a problem-specific manner, e.g., by extremelysophisticated case distinctions as can be seen in the case of VertexCover [12,26,27]. It is a crucialgoal throughout the paper not to narrowly stick to problem-specific approaches, but to try towiden the techniques as far as possible. More specifically, we show how to use separator theoremsfor different graph classes, such as, e.g., the well-known planar separator theorem due to Liptonand Tarjan [23], in combination with known algorithms for obtaining linear size problem kernels,in order to get fixed-parameter algorithms.

Our approach can be sketched as follows: We will apply the problem kernel reduction and,then, use (planar) separator theorems as already Lipton and Tarjan [24] did in order to pursue adivide-and-conquer strategy on the set of reduced instances. We did, however, take much morecare for the impact of the ‘‘graph separator parameters’’ on the recurrences in the running time

ARTICLE IN PRESS

2 In this paper, the parameter will always be a number. This number is encoded in unary, so that we need not

distinguish between the parameter and its size.

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832 809

Page 3: Graph separators: a parameterized view

analysis. In addition, we obviously consider a broader class of problems that can be attacked bythis approach (namely, in principle, all so-called glueable select&verify problems such as, e.g.,Dominating Set

3). Doing so, we exhibit the importance of a special form of separators, so-calledcycle separators and their influence on the running time analysis. Moreover, we show how toemploy different separator-finding strategies in order to get divide-and-conquer algorithms withconstants which are better than those corresponding to a direct use of the best known (planar)separator theorems. Finally, we discuss possible combinations of separator techniques with other

solution methods (like search tree based algorithms), typically leading to ck2=3-algorithms for

problems with linear kernels. The running time of our algorithms is mostly bounded by cffiffik

pqðnÞ or

by ck2=3

qðnÞ for some constant c41 and some polynomial qð�Þ:4 Although the constants achievedin our setting so far seem to be mostly too large in order to yield practical worst-case algorithms, itprovides a general and sound mathematical formalization of a rich class of problems that allowfor divide-and-conquer solutions based on separators and it provides a strong link to fixed-parameter tractability.

2. Basic definitions and preliminaries

We consider undirected graphs G ¼ ðV ;EÞ; where V denotes the vertex set and E denotes theedge set. In our setting, all graphs are simple (i.e., with no double edges) without loops.Sometimes, we refer to V by VðGÞ; by NðvÞ we refer to the set of vertices adjacent to v; G½Ddenotes the subgraph induced by vertex set D: For graphs G1 ¼ ðV1;E1Þ and G2 ¼ ðV2;E2Þ; byG1-G2; we denote the graph with vertex set V1-V2 and edge set E1-E2: A graph G0 ¼ ðV 0;E0Þ isa subgraph of G ¼ ðV ;EÞ; denoted by G0DG; if V 0DV and E0DE: The radius of a graph G is theminimal height of a rooted spanning tree of G:

In this paper, we only consider graph classes, denoted by G; that are closed under takingsubgraphs. The most important among the graph classes considered in this paper is that of planargraphs, i.e., graphs that have a drawing in the plane without edge crossings. A plane graph, or aplanar embedding, is any drawing of a planar graph in the plane without edge crossing.

A parameterized graph problem is a language consisting of tuples ðG; kÞ; where G is a graph andk is an integer. A parameterized graph problem on planar graphs is a parameterized graph problem,where the graph G of an instance ðG; kÞ is assumed to be planar.

If G ¼ ðV ;EÞ is a planar graph, a triangulation G ¼ ðV ; EÞ; where EDE; of G is a planar graph

such that, for any additional edge fv; v0geE with v; v0AV ; ðV ; E,fv; v0gÞ is not planar. The facesof a plane graph are the maximal regions of the plane that contain no point used in theembedding. Among others, we study the following ‘‘graph numbers’’ vcð�Þ; isð�Þ; and dsð�Þ:* A vertex cover C of G is a set of vertices such that every edge of G has at least one endpoint in

C; the size of a vertex cover with a minimum number of vertices is denoted by vcðGÞ:

ARTICLE IN PRESS

3Lipton and Tarjan only describe in details a solution for the structurally much simpler Independent Set.4Actually, whenever we can construct a so-called problem kernel of size kOð1Þ in polynomial time, then we can replace

the term cffiffik

pnOð1Þ by c

ffiffik

pkOð1Þ þ nOð1Þ:

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832810

Page 4: Graph separators: a parameterized view

* An independent set of G is a set of pairwise nonadjacent vertices; the size of an independent setwith a maximum number of vertices is denoted by isðGÞ:

* A dominating set D of G is a set of vertices such that each of the rest of the vertices in G has atleast one neighbor in D; the size of a dominating set with a minimum number of vertices isdenoted by dsðGÞ:

The corresponding problems are denoted by Vertex Cover, Independent Set, and Dominat-

ing Set.Finally, to simplify notation, we write A1 þ?þ An to denote the pairwisely disjoint union of

sets A1 through An: By R (and related notations) within algorithmic considerations, we refer to a‘‘reasonably computable subset’’ of the real numbers. Sometimes, we extend real addition andmultiplication to 7N in order to cover failure situations. Then, we follow the convention that0 � ð7NÞ ¼ 0:

2.1. Linear problem kernels

Compared with other definitions of problem kernels, we are a bit more restrictive and precise inthe following definition.

Definition 2.1. Let L be a parameterized problem, i.e., L consists of pairs ðI ; kÞ; whereproblem instance I has a solution of size k (the parameter). Reduction to problem kernel, then,means to replace instance ðI ; kÞ by a ‘‘reduced’’ instance ðI 0; k0Þ (which we call problem kernel)such that

k0pc � k; jI 0jppðkÞ

with a constant c;5 some function p only depending on k; and

ðI ; kÞAL iff ðI 0; k0ÞAL:

Furthermore, we require that the reduction from ðI ; kÞ to ðI 0; k0Þ is computable in polynomial timeTKðjI j; kÞ: The size of the problem kernel is given by pðkÞ:

Often (cf. the subsequent example Vertex Cover), the best one can hope for is that theproblem kernel has size linear in k; a so-called linear problem kernel. For instance, using a theoremof Nemhauser and Trotter [25], (also cf. [10,28]), Chen et al. [12] recently observed a problemkernel of size 2k for Vertex Cover on general (not necessarily planar) graphs.

By making use of the four color theorem for planar graphs and its corresponding algorithmgenerating a four coloring [30], it easily follows [5] that Independent Set on planar graphs has aproblem kernel of size 4k:

Recently, a linear problem kernel was proven for Dominating Set on planar graphs [3]. Theworst-case upper bound on the kernel size there is 335k:

ARTICLE IN PRESS

5Usually, cp1: In general, it would even be allowed that k0 ¼ gðkÞ for some arbitrary function g: For our purposes,

however, we need that k and k0 are linearly related. We are not aware of a concrete, natural parameterized problem with

problem kernel where this is not the case.

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832 811

Page 5: Graph separators: a parameterized view

Besides the positive effect of reducing the input size significantly and all obvious consequencesof that, this paper gives further justification, in particular, for the importance of size OðkÞ problemkernels. The point is that, once having a linear size problem kernel, it is fairly easy to

use our framework to get cffiffik

p-algorithms for these problems based upon the famous

planar separator theorem [23,24]. The constant factor in the problem kernel size directlyinfluences the value of the exponential base. Hence, lowering the kernel size means improvedefficiency.

2.2. Classical separator theorems

Definition 2.2. Let G ¼ ðV ;EÞ be an undirected graph. A separator SDV of G divides V into twoparts A1DV and A2DV such that6

* A1 þ S þ A2 ¼ V ; and* no edge joins vertices in A1 and A2:

Later, we will write dA1 (or dA2) as shorthand for A1 þ S (or A2 þ S; respectively). The tripleðA1;S;A2Þ is also called a separation of G:

Clearly, this definition can be generalized to the case where a separator partitions the vertex setinto c subsets instead of only two. We refer to such separators simply by c-separator. Thetechniques we develop here all are based on the existence of ‘‘small’’ graph separators, whichmeans that jSj is bounded by oðjV jÞ:

Definition 2.3. According to Lipton and Tarjan [23], an f ð�Þ-separator theorem (with constantsao1; b40) for a class G of graphs which is closed under taking vertex-induced subgraphs is atheorem of the following form: If G is any n-vertex graph in G; then there is a separationðA1;S;A2Þ of G such that

* neither A1 nor A2 contains more than an vertices, and* S contains no more than bf ðnÞ vertices.

Again, this definition easily generalizes to c-separators with c42:Stated in this framework, the planar separator theorem due to Lipton and Tarjan [23] is affiffi�p-separator theorem with constants a ¼ 2=3 and b ¼ 2

ffiffiffi2

pE2:83: The current record for a ¼ 2=3

is b ¼ffiffiffiffiffiffiffiffi2=3

ffiffiffiffiffiffiffiffi4=3

pE1:97 [17]. Djidjev has also shown a lower bound of bE1:55 for a ¼ 2=3

[15]. For a ¼ 1=2; the ‘‘record’’ is b ¼ 2ffiffiffi6

pE4:90 [7,11]. A lower bound of bE1:65 is known in

this case [32]. For a ¼ 3=4; the best-known value for b is

ffiffiffiffiffiffiffiffiffiffiffiffiffiffi2p=

ffiffiffi3

pq� ð1þ

ffiffiffi3

pÞ=

ffiffiffi8

pE1:84 with a

known lower bound of bE1:42; see [32]. The results are summarized in Table 1.

ARTICLE IN PRESS

6 In general, of course, A1; A2 and S will be non-empty. In order to cover boundary cases in some considerations

below, we did not put this into the separator definition.

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832812

Page 6: Graph separators: a parameterized view

In order to develop a flexible framework, we will do our calculations below alwayswith the parameters a and b left unspecified up to the point where we try to give concretenumbers in the case of Vertex Cover on planar graphs, which will serve as a runningexample. Also, we point out how the existence of c-separators for c42 might improvethe running time. In principle, our results also apply to graph problems for graphsfrom other graph classes with

ffiffi�p-separator theorems as listed above. As indicated in [29],

separator based techniques can be also used to solve counting problems instead of decisionproblems.

2.2.1. Variants of separator theorems

Cycle separators: In the literature, there are many separator theorems for planargraphs which guarantee that all the vertices of the separator lie on a simple cycle,provided that the given graph is biconnected or even triangulated. In fact, thecurrent ‘‘record holder’’ in the case of a ¼ 2=3 yields a cycle separator, see [17]. From analgorithmic perspective, as explained below, the requirements of having biconnected ortriangulated graphs are rarely met: even if the original graph was biconnected or triangulated,subgraphs which are obtained by recursive applications of separator theorems to a larger graphare not biconnected or triangulated in general. Therefore, we consider the following definitionappropriate for our purposes:

Definition 2.4. We will call a separator S of a planar graph G cycle separator if there exists a

triangulation G of G such that S forms a simple cycle in G:

Note: some triangulation of a given planar graph can be computed in linear time.

Remark 2.5. It will turn out that it is of special value (concerning the design of divide-and-conquer algorithms) to have separators that form simple cycles (within some triangulation of thegiven graph G), since then the Jordan curve theorem applies (for planar graphs), which basicallymeans that the separator S splits G into an ‘‘inside’’-part A1 and an ‘‘outside’’-part A2: If G is a

subgraph of a larger planar graph G; then this implies that each vertex v of G that has neighbors inA1 has no neighbors in A2 and vice versa. This observation is important, since it means that a local

property pertaining to vertex v of G (like: v belongs to a dominating set or not) can only influencevertices in dA1 or vertices in dA2:

ARTICLE IN PRESS

Table 1

Summary of variousffiffi�p-separator theorems with their constants a and b

b a ¼ 23

rð23; bÞ a ¼ 1

2rð1

2; bÞ a ¼ 3

4rð3

4; bÞ

Upper boundsffiffi23

ffiffi43

q[17] 10.74

ffiffiffiffiffi24

p[7,11] 16.73

ffiffiffiffiffi2pffiffi3

pq

� 1þffiffi3

pffiffi8

p [32] 13.73

Lower bounds 1.55 [15] 8.45 1.65 [32] 5.63 1.42 [32] 10.60

Here, rða; bÞ denotes the ratio rða; bÞ ¼ b=ð1�ffiffiffia

pÞ; which is of central importance to the running time analysis of our

algorithms, cf. Proposition 4.3.

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832 813

Page 7: Graph separators: a parameterized view

Weighted separation: It is also possible to incorporate weights in most separator theorems. For ourpurposes, weights are non-negative reals assigned to the vertices in a graph such that the sum ofall weights in a graph is bounded by one. For weighted graphs, an f ð�Þ-separator theorem withconstants a and b for graph class G guarantees, for any n-vertex graph GAG; the existence of aseparation ðA1;S;A2Þ of G such that

* neither A1 nor A2 has weight more than a; and* S contains no more than bf ðnÞ vertices.

Other graph classes with separator theorems. Similar to the case of planar graphs,ffiffi�p-separator

theorems are also known for other graph classes, e.g., for the class of graphs of bounded genus,see [16]. More generally, Alon, Seymour and Thomas proved a

ffiffi�p-separator theorem for graph

classes with an excluded complete graph minor [8,9]. There are also interesting graph classeswhich are not minor closed for which

ffiffi�p-separator theorems are known, as, e.g., the classes

of c-map graphs, see [13,14].7 Many comments of this paper apply to these more generalsituations, too.

3. Glueable graph problems

Based on the notion of separators, we will give a characterization of a whole class of problemsthat can be attacked by the approach that will be described in the subsequent sections. To thisend, we coin the notions of select&verify graph problems and glueability. These notions arecentral to this paper. In the companion paper [5], we also introduce select&verify graph problems.Since the algorithms from [5] are not recursive, only a simplified notion of glueability (termed‘‘weak glueability’’) is needed there.

3.1. Select&verify graph problems

Definition 3.1. A set G of tuples ðG; kÞ; G an undirected graph with vertex set V ¼ fv1;y; vng andk a positive real number, is called a select&verify (graph) problem if there exists a pair (P�;opt)with optAfmin;maxg; such that P� is a function that assigns to G a polynomial time computable

function of the form PG ¼ PselG þ Pver

G ;8 where

PselG : f0; 1gn-Rþ ðalso called selecting functionÞ

PverG : f0; 1gn-f0;7Ng ðalso called verifying functionÞ and

ðG; kÞAG 3optxAf0;1gnPGðxÞpk if opt ¼ min;

optxAf0;1gnPGðxÞXk if opt ¼ max:

(

ARTICLE IN PRESS

7The c basically refers to the maximal size of a complete subgraph of a map graph.8More precisely, the range of a verifying function is f0;Ng in the case of a minimization problem and f0;�Ng in

the case of a maximization problem.

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832814

Page 8: Graph separators: a parameterized view

For x ¼ ðx1;y; xnÞAf0; 1gn; with PGðxÞpk if opt ¼ min and with PGðxÞXk if opt ¼ max; thevertex set selected by x and verified by PG is

fviAV j xi ¼ 1; 1pipng:A vector x is called admissible if Pver

G ðxÞ ¼ 0:

The intuition behind the term P� ¼ Psel� þ Pver

� is that the selecting function Psel� counts the size

of the selected set of vertices and the verifying function Pver� verifies whether this choice of vertices

is an admissible solution. The ‘‘numbers’’ 7N indicate the non-admissibility of a candidatesolution.

Remark 3.2. Every select&verify graph problem that additionally admits a problem kernel of size

pðkÞ is solvable in time Oð2pðkÞpðkÞ þ TKðn; kÞÞ:

Example 3.3. We now give some examples for select&verify problems by specifying

the function PG ¼ PselG þ Pver

G : In all cases below, the selecting function PG for a graph G ¼ðV ;EÞ will be

PselG ðxÞ ¼

XviAV

xi:

1. In the case of Vertex Cover, we have opt ¼ min and use

PverG ðxÞ ¼

Xfvi;v jgAE

N � ð1� xiÞð1� x jÞ;

where this sum brings PGðxÞ to infinity whenever there is an uncovered edge. In addition,PGðxÞpk then guarantees a vertex cover set of size at most k: Clearly, PG is polynomial timecomputable.

2. Similarly, in the case of Independent Set, we let opt ¼ max and choose

PverG ðxÞ ¼

Xfvi;v jgAE

�N � xi � x j:

3. In the case of Dominating Set, we have

PverG ðxÞ ¼

XviAV

ðN � ð1� xiÞ �Y

fvi;v jgAE

ð1� x jÞÞ;

where this sum brings PGðxÞ to infinity whenever there is a non-dominated vertex which is notin the selected dominating set. In addition, PGðxÞpk then guarantees a dominating set of sizeat most k:

4. Similar observations as for Vertex Cover, Independent Set, and Dominating Set do holdfor many other graph problems and, in particular, weighted variants of these.9 As a source ofproblems, consider the variants of Dominating Set listed in [33–35]. In particular, the

ARTICLE IN PRESS

9 In the weighted case, one typically chooses a selecting function of the form PselG ðxÞ ¼

PviAV aixi; where ai is the

weight of the vertex vi:

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832 815

Page 9: Graph separators: a parameterized view

Total Dominating Set problem is defined by

PverG ðxÞ ¼

XviAV

N �Y

fvi;v jgAE

ð1� x jÞ

0@

1A:

Moreover, graph problems where a small (or large) edge set is sought for can often bereformulated into vertex set optimization problems by introducing an additional artificial vertexon each edge of the original graph. In this way, the NP-complete Edge Dominating Set [36]problem can be handled. Similarly, planar graph problems where a small (or large) face set islooked for are expressible as select&verify problems of the dual graphs or by introducingadditional ‘‘face vertices.’’

We will also need a notion of select&verify problems where the selecting function and theverifying function operate on a subgraph of the given graph.

Definition 3.4. Let P� ¼ Psel� þ Pver

� be the function of a select&verify problem. For an n-vertex

graph G and subgraphs Gver ¼ ðVver;EverÞ; Gsel ¼ ðV sel;EselÞDG; we let

PGverðxjGselÞ :¼ PverGGverðpVverðxÞÞ þ Psel

GselðpV selðxÞÞ;where pV 0 is the projection of the vector xAf0; 1gn to the variables corresponding to the verticesin V 0:

3.2. Glueability

We are going to solve graph problems recursively, slicing the given graph into small pieces withthe help of small separators. Within these separators, the basic strategy will be to test all possibleassignments of the vertices. For example, in the case of Vertex Cover, this means that, for aseparator S; all possible functions S-f0; 1g are tested, where assigning the ‘‘color’’ 0 means thatthe corresponding vertex is not in the (partial) cover and assigning 1 means that the correspondingvertex lies in the (partial) cover. In the case of more involved problems like (variants of) Dom-

inating Set, more sophisticated assignments are necessary, as detailed below. The separatorsbound the different graph parts into which the graph is split. For each possible assignment of thevertices in the separators, we want to—independently—solve the corresponding problems on theremaining graph parts and then reconstruct a solution for the whole graph by ‘‘gluing’’ togetherthe solutions for the graph parts. In order to do so, all additional information necessary forsolving the subproblems correctly has to be transported and coded within the separators. It turnsout that the information to be handed on is pretty clear in the case of Vertex Cover, but it ismuch more involved in the case of Dominating Set and many others. This is the basic motivationfor the formal framework we develop in this subsection. We need to assign colors to the separatorvertices in the course of the algorithm. Hence, our algorithm has to be designed in such a mannerthat it can also cope with colored graphs, even though the original problem may have been aproblem on non-colored graphs. In general (e.g., in the case of Dominating Set), it is not

ARTICLE IN PRESS

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832816

Page 10: Graph separators: a parameterized view

sufficient to simply use the two colors 1 (for encoding ‘‘in the selected set’’) and 0 (for ‘‘not in theselected set’’). This is why the set of colors will be some union of finite sets C0 þ C1; instead off0; 1g only. The usefulness of considering a colored version of ‘‘normal’’ graph problems is alsotestified in [2], where a colored version of Dominating Set on planar graphs was employed fordeveloping a parameterized search tree algorithm.

Definition 3.5. Let G ¼ ðV ;EÞ be an undirected graph and C0;C1 be finite, disjoint sets. A C0-C1-coloring of G is a function w : V-C0 þ C1 þ f#g:

The symbol # will be used for the undefined (i.e., not yet defined) color. This means that, forV 0DV ; a function w : V 0-C0 þ C1 can naturally be extended to a C0-C1-coloring of G by settingwðvÞ ¼ # for all vAV\V 0:

Definition 3.6. Consider an instance ðG; kÞ of a select&verify problem G and a vector xAf0; 1gn

with VðGÞ ¼ fv1;y; vng: Let w be a C0-C1-coloring of G: Then, x is consistent with w; writtenxBw; if

wðv jÞACi ) x j ¼ i; for i ¼ 0; 1; j ¼ 1;y; n:

A divide-and-conquer algorithm will deal with colorings on two color sets: one color set Cint :¼Cint

0 þ Cint1 þ f#g of internal colors used for the separator assignments and a color set Cext :¼

Cext0 þ Cext

1 þ f#g of external colors used for handing down the information in the divide-step of

the algorithm. The idea is that, in each recursive step, we will be confronted with a graph‘‘precolored’’ with external colors. Our algorithm then finds a new separator and assigns internalcolors to the vertices of this separator. These assignments of internal colors should be, in somesense, ‘‘compatible’’ with the precolored graph. Moreover, we want to be able to ‘‘recolor’’ thegraph for the next divide-step. That means that we somehow have to be able to merge an externalcoloring (from the precolored graph) with an internal coloring (i.e., an assignment of our currentseparator) in a way such that we obtain a new (compatible) external coloring that can be handeddown in the next recursive step.

Definition 3.7. Let G ¼ ðV ;EÞ be a graph and let Cint0 ; Cint

1 and Cext0 ; Cext

1 be mutually disjoint,

finite sets. Let Cint :¼ Cint0 þ Cint

1 þ f#g and let Cext :¼ Cext0 þ Cext

1 þ f#g:If w is a C0-C1-coloring of G and if w0 is a C0

0-C10-coloring of G; then w is preserved by w0; written

w*w0; if

8vAV8i ¼ 0; 1ðwðvÞACi ) w0ðvÞACi0Þ:

Every function " that assigns a ðCext0 -Cext

1 Þ-coloring wext"wint to a pair ðwext; wintÞ with

wext : V-Cext; wint : V-Cint; and wext*wint; is called a recoloring if wint*wext"wint:

From the point of view of recursion, wext is the pre-coloring which a certain recursion instance

‘‘receives’’ from the calling instance and wint represents coloring which this instance assigns to a

certain part of the graph. The coloring wext"wint is handed down in the recursion. The notions

ARTICLE IN PRESS

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832 817

Page 11: Graph separators: a parameterized view

wext*wint and wint*wext"wint express that any vector xAf0; 1gjV j that is consistent with wext is alsoconsistent with the colorings wint and wext"wint:

We now introduce the central notion of ‘‘glueable’’ select&verify problems. This formalizesthose problems that can be solved with separator based divide-and-conquer techniques asdescribed above. We apply this rather abstract notion to concrete graph problems afterwards(Lemma 3.9). The following definition is best understood with the help of a concrete example asgiven in the proof of Lemma 3.9.

Definition 3.8. A select&verify problem G given by ðP�;optÞ is glueable with s colors if there exist

* a color set Cint :¼ Cint0 þ Cint

1 þ f#g of internal colors with jCint0 þ Cint

1 j ¼ s;* a color set Cext :¼ Cext

0 þ Cext1 þ f#g of external colors;

* a polynomial time computable function h: ðRþ,f7NgÞ3-Rþ,f7Ng;

and if, for every n-vertex graph G ¼ ðV ;EÞ and subgraphs Gver;GselDG with a separationðA1;S;A2Þ of Gver; we find

* recolorings "X for each XAfA1;S;A2g; and* for each internal coloring wint : S-Cint

0 þ Cint1 ;

subgraphs GverAi

ðwintÞ of Gver with Gver½AiDGverAiðwintÞDGver½dAi for i ¼ 1; 2; and

subgraphs GverS ðwintÞ of Gver with Gver

S ðwintÞDGver½S

such that, for each external coloring wext : V-Cext;

optxAf0;1gn

xBwext

PGverðxjGselÞ

¼ optwint : S-C int

0þCint

1

wext*wint

hðEvalA1ðwintÞ;EvalSðwintÞ;EvalA2

ðwintÞÞ: ð1Þ

Here, EvalX ð�Þ for XAfA1;S;A2g is of the form

EvalX ðwintÞ ¼ optxAf0;1gn

xBðwext"XwintÞ

PGverX

ðwintÞðxjGver½X -GselÞ: ð2Þ

Lemma 3.9. Vertex Cover and Independent Set are glueable with 2 colors and Dominating Set

is glueable with 4 colors.

Proof. For Vertex Cover (see Example 3.3.1), we use the color sets Cci :¼ ficg for cAfint; extg

and i ¼ 0; 1: The function h is hðx; y; zÞ ¼ x þ y þ z: The subgraphs GverX ðwintÞ for XAfA1;S;A2g

and wint : S-Cint0 þ Cint

1 are GverX ðwintÞ :¼ Gver½X : In this way, the subroutine EvalSðwintÞ

checks whether the coloring wint yields a vertex cover on Gver½S and the subroutines

EvalAiðwintÞ compute the minimum size vertex cover on Gver½Ai: However, we still need

to make sure that all edges going from Ai to S are covered. If a vertex in S is assigned a 1int by wint;

ARTICLE IN PRESS

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832818

Page 12: Graph separators: a parameterized view

the incident edges are already covered. In the case of a 0int-assignment for a vertex vAS; we cancolor all neighbors in NðvÞ-Ai to belong to the vertex cover. This is done by the followingrecolorings "Ai

: Define

ðwext"AiwintÞðvÞ ¼

0ext if wintðvÞ ¼ 0int;

1ext if wintðvÞ ¼ 1int or

if (wANðvÞ with wintðwÞ ¼ 0intÞ;# otherwise:

8>>>><>>>>:

By this recoloring definition, an edge between a separator vertex and a vertex in Ai which is notcovered by the separator vertex (due to the currently considered internal covering) will be coveredby the vertex in Ai: Our above reasoning shows that—with these settings—Eq. (1) in Definition3.8 is satisfied.Independent Set (see Example 3.3(2)) is shown to be glueable with 2 colors by a similar idea.To show that Dominating Set (see Example 3.3(3)) is glueable with 4 colors, we use the

following color sets:

Cint0 :¼ f0int

A1; 0int

A2; 0int

S g; Cint1 :¼ f1intg;

Cext0 :¼ f0extg; Cext

1 :¼ f1extg:

The semantics of these colors is as follows. Assigning the color 0intX ; for XAfA1;A2;Sg; to vertices

in a current separation V ¼ A1 þ S þ A2 means that the vertex is not in the dominating set and

will be dominated by a vertex in X : Clearly, 1int will mean that the vertex belongs to thedominating set. The external colors simply hand down the information whether a vertex belongs

to the dominating set, represented by 1ext; or whether it is not in the dominating set and still needs

to be dominated, represented by 0ext:10 The function h simply is addition, i.e., hðx; y; zÞ ¼x þ y þ z: When handing down the information to the subproblems, for a given internal coloring

wint : S-Cint0 þ Cint

1 ; we define

GverAiðwintÞ :¼ Gver½Ai,ðwintÞ�1ðf1int; 0int

AigÞ

and

GverS ðwintÞ :¼ Gver½ðwintÞ�1ðf1int; 0int

S gÞ:The recolorings "X for XAfA1;S;A2g are chosen to be

ðwext"X wintÞðvÞ ¼0ext if wintðvÞACint

0 ;

1ext if wintðvÞ ¼ 1int;

# otherwise:

8><>:

Let us explain in a few lines why—with these settings—Eq. (1) in Definition 3.8 is satisfied. If an

internal coloring wint assigns color 0intX (XAfA1;S;A2g) to a vertex in S; then this vertex needs to

be dominated by a neighbor in X : This will be checked in EvalX ðwintÞ using the graph GverX ðwintÞ:

ARTICLE IN PRESS

10A vertex that is not in the dominating set but is already guaranteed to be dominated, e.g., by a vertex in the current

separator, will never be handed down, since these vertices are of no use in the sequel of the recursion.

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832 819

Page 13: Graph separators: a parameterized view

To this end, vertices assigned the color 0intX (i.e., the set ðwintÞ�1ðf0int

X gÞ) are included in GverX ðwintÞ:

The vertices assigned color 1int (i.e., ðwintÞ�1ðf1intgÞ) also need to be handed down to thesubroutines, since such a vertex may already dominate vertices in X : The recolorings merge the

given external coloring wext with the current internal coloring wint in a way that already assigned

colors from Cinti or Cext

i (i ¼ 0; 1) become iext: The terms EvalAiðwintÞ then compute (for each

internal coloring wint) the size of a minimum dominating set in Ai under the constraint that some

vertices in dAi still need to be dominated (namely, the vertices in dAi-ðwext"AiwintÞ�1ð0extÞ) and

some vertices in dAi can already be assumed to be in the dominating set (namely, the vertices in

dAi-ðwext"AiwintÞ�1ð1extÞ). The term EvalSðwintÞ checks the correctness of the internal coloring

wint of S: &

Note that, from the point of view of divide-and-conquer algorithms, three colors are enough for

Dominating Set, since the color 1int already determines the color 0intS : This issue is presented in

more details in [5].We illustrate the ideas of the dominating set algorithm by using an example.

Example 3.10. Consider Dominating Set for the separated graph in Fig. 1. Beginning with the

external coloring wext � # and Gver ¼ Gsel ¼ G; we need to go over all 42 ¼ 16 internal colorings

wint : S-f0intA1; 0int

S ; 0intA2; 1intg (which trivially satisfy wext*wint). As an example, we choose wint with

v5/0intA1; v6/0int

A2: In this case, we get Gver

A1½wint ¼ Gver½fv1;y; v5g; Gver

S ½wint ¼ |; and GverA2½wint ¼

Gver½fv6;y; v11g: Recursively, we will use these graphs for the verifying function and the graphsGver½A1; Gver½S; and Gver½A2 for the selecting function. The external colorings that will be handed

down to the subproblems after the recoloring look as follows: On the graph GverA1½wint; we have

w1ðviÞ :¼ ðwext"A1wintÞðviÞ ¼ # for i ¼ 1;y; 4; and w1ðv5Þ ¼ 0ext: On the graph Gver

A2½wint; we have

w2ðviÞ :¼ ðwext"A2wintÞðviÞ ¼ # for i ¼ 7;y; 11; and w2ðv6Þ ¼ 0ext: Clearly,

EvalA1ðwintÞ ¼ 2; EvalSðwintÞ ¼ 0; and EvalA2

ðwintÞ ¼ 2:

The minimum in Eq. (2) of Definition 3.8 for X ¼ A1 is obtained, e.g., by choosing the vertices v1and v2 (note that the latter needs to be chosen, since w1ðv5Þ ¼ 0ext; meaning that v5 is forced to bedominated in this term). The minimum for A2 is obtained, e.g., by choosing the vertices v8 and v10

ARTICLE IN PRESS

Fig. 1. A partitioned graph.

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832820

Page 14: Graph separators: a parameterized view

(again, w2ðv6Þ ¼ 0ext forces either v8 or v9 to be in the dominating set). Hence,

hðEvalA1ðwintÞ;EvalSðwintÞ;EvalA2

ðwintÞÞ ¼ 2þ 0þ 2 ¼ 4:

We obtain an optimal result, e.g., for the choice of the internal coloring wint with wintðv5Þ ¼wintðv6Þ ¼ 0int

A2: Here, we get EvalA1

ðwintÞ ¼ 1; EvalSðwintÞ ¼ 0; and EvalA2ðwintÞ ¼ 2; for the possible

choices of v3; v8; v10 as dominating set vertices.

Remark 3.11. In the case that recurrences are based on separator theorems yielding c-separators,let us call a problem c-glueable with sc colors if sc colors are to be distinguished in therecursion. For example, an extension of our previous lemma shows that Dominating Set is

c-glueable with cþ 2 colors, where jCint0 j ¼ cþ 1: There need not be, however, a dependence of

the number of colors on the number of graph parts: both Vertex Cover and Independent Set

are c-glueable with two colors.

Besides the problems stated in the preceding Lemma 3.9, many more select&verifyproblems are glueable, for example, those which are listed in [33–35]. In particular,weighted versions and variations of the problems discussed in Lemma 3.9 are glueable. Total

Dominating Set is an example of a graph problem where a color set Cint1 of more than one

color is needed.

4. Fixed-parameter divide-and-conquer algorithms

In this section, we provide the basic framework for deriving fixed-parameter algorithms basedon the concepts we introduced so far.

4.1. Using glueability for divide-and-conquer

Fix a graph class G for which affiffi�p-separator theorem with constants a and b (cf. Definition 2.3)

is known. We consider a glueable select&verify graph problem G defined by ðP�; optÞ: Theevaluation of the term optxAf0;1gnPGðxÞ (cf. Definition 3.1) can be done recursively according to

the following strategy.

Algorithm 4.1. (1) Start the computation by evaluating

optxAf0;1gnPGðxÞ ¼ optxAf0;1gn;xBwext0

PGverðxjGselÞ;

where ‘‘wext0 � #’’ is the everywhere undefined external coloring and Gver ¼ Gsel ¼ G (also cf.

Definition 3.4).

(2) When optxAf0;1gn;xBwextPGverðxjGselÞ needs to be calculated for some subgraphs Gsel;GverDG;

and an external coloring wext : VðGÞ-Cext0 þ Cext

1 þ f#g; we do the following:

(a) If Gver has size greater than some constant c; then find affiffi�p-separator S for Gver with

VðGverÞ ¼ A1 þ S þ A2:

ARTICLE IN PRESS

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832 821

Page 15: Graph separators: a parameterized view

(b) Define F :¼ fwint : S-Cint0 þ Cint

1 jwext*wintg:For all internal colorings wintAF do:

(i) Determine EvalAiðwintÞ recursively for i ¼ 1; 2:

(ii) Determine EvalSðwintÞ:(c) Return optwintAFhðEvalA1

ðwintÞ;EvalSðwintÞ;EvalA2ðwintÞÞ:

The sizes of the subproblems, i.e., the sizes of the graphs GverAiðwintÞ which are used in the recursion,

play a crucial role in the analysis of the running time of this algorithm. A particularly nicesituation is given by the following problems.

Definition 4.2. A glueable select&verify problem is called slim if the subgraphs GverAiðwintÞ are only

by a constant number of vertices larger than Gver½Ai; i.e., if there exists an ZX0 such that

jVðGverAi

ðwintÞÞjpjAij þ Z for all internal colorings wint : S-Cint:

Note that the proof of Lemma 3.9 shows that both Vertex Cover and Independent Set are slimwith Z ¼ 0; whereas Dominating Set is not.

The following proposition gives the running time of the above algorithm in termsof the parameters of the separator theorem used and the select&verify problemconsidered.

In order to assess the time required for the above given divide-and-conquer algorithm, we usethe following abbreviations for the running times of certain subroutines:

* TSðnÞ denotes the time to find a ‘‘sufficiently small’’ separator in an n-vertex graph fromclass G:

* TMðnÞ denotes the time to construct the modified graphs GverX ðwintÞAG and the modified

colorings ðwext"XwintÞ (for XAfA1;S;A2g and each internal coloring wintAF from an n-vertexgraph from class G:

* TEðmÞ is the time to evaluate EvalSðwintÞ for any wintAF in a separator S of size m:* TGðnÞ is the time for gluing the results obtained by two sub-problems each of size OðnÞ:

In the following, we assume that all these functions are polynomials.

Proposition 4.3. Let G be a graph class for which affiffi�p-separator theorem with constants a and b is

known and let G be a select&verify problem defined by ðP�; optÞ that is glueable with s colors. Then,for every GAG; optxAf0;1gnPGðxÞ can be computed in time

cða0;b;sÞffiffin

pqðnÞ; where cða0; b; sÞ ¼ sb=ð1�

ffiffiffia0

pÞ:

Here, a0 ¼ aþ e for any eAð0; 1� aÞ and qð�Þ is some polynomial; the running time analysis onlyholds for nXn0ðeÞ:

If, however, G is slim or theffiffi�p-separator theorem yields cycle separators (and G is the

class of planar graphs), then the running time for the computation is cða; b; sÞffiffin

pqðnÞ; which then

holds for all n:

ARTICLE IN PRESS

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832822

Page 16: Graph separators: a parameterized view

Proof. Let TðnÞ denote the running time to compute

optxAf0;1gn;xBwextPGverðxjGselÞ

for Gver ¼ ðVver;EverÞ with n ¼ jVverj (where wext : VðGÞ-Cext0 þ Cext

1 þ f#g is some external

coloring and Gsel;GverDG). In general, the recurrence we have to solve in order to compute anupper bound on TðnÞ for the above given divide-and-conquer algorithm then reads as follows:

TðnÞpsbffiffin

p� 2Tðan þ b

ffiffiffin

pÞ � TM;E;GðnÞ þ TSðnÞ;

where

TM;E;GðnÞ :¼ TMðnÞ þ TEðbffiffiffin

pÞ þ TGðan þ b

ffiffiffin

pÞ:

By assumption, a separation ðA1;S;A2Þ of Gver can be found in time TSðnÞ: Since the size of the

separator is upperbounded by bffiffiffin

pand there are s internal colors, there are sb

ffiffin

pmany passes

through a loop which checks all possible assignments to separator vertices. In each pass throughthe loop, two instances of smaller subproblems have to be evaluated, namely for A1 and A2: This

yields the term 2Tðan þ bffiffiffin

pÞ: The time needed for modifying the graphs and colorings, for

evaluating the separator and for gluing the obtained subproblems is covered by TM;E;GðnÞ: Note

that the functions TM;E;GðnÞ and TSðnÞ are polynomials by our general assumption. From the

definition of glueability, we have that the size of the two remaining subproblems to be solvedrecursively is

jVðGverAi

ðwintÞÞjpjVðGver½dAiÞjan þ bffiffiffin

p

for each wintAF: For every eAð0; 1� aÞ; there is, of course, an n0ðeÞ such that

ðaþ eÞnXan þ bffiffiffin

pð3Þ

for nXn0ðeÞ: Hence, by setting a0 ¼ aþ e; we can simplify the above recurrence to

TðnÞp2sbffiffin

pTða0nÞTM;E;GðnÞ þ TSðnÞ

for some a0o1: Hence, the recursion depth is n0 ¼ log1=a0 ðnÞ; and we get

TðnÞpsbPn0

i¼0

ffiffiffiffiffiffia0 in

p2n0TðOð1ÞÞ

Yn0

i¼0

TM;E;Gða0inÞ þ n0TSðnÞ

psb=ð1�ffiffiffia0

p�

ffiffin

pqðnÞ

for the polynomial qðnÞ :¼ 2log1=a0nTðOð1ÞÞQn0

i¼0 pða0inÞ þ log1=a0 ðnÞTSðnÞ:Now, consider the case where G is slim. In this situation the recursive subproblems have size

jVðGverAi

ðwintÞÞjpjAij þ Z: Hence, we have

TðnÞpsbffiffin

p2Tðan þ ZÞ � TM;E;GðnÞ þ TSðnÞ:

ARTICLE IN PRESS

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832 823

Page 17: Graph separators: a parameterized view

The size of the problem after r recursion steps obviously is:

arn þ ar�1Zþ?þ aZþ Zparn þ 1

1� aZ:

Since the recursion will stop after n0 ¼ log1=a n recursive calls (leaving us with subproblems of at

most constant size), we can further estimate:

TðnÞpsbPn0

i¼0

ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiainþZ=ð1�aÞ

p2n0TðOð1ÞÞ

Yn0

i¼0

TM;E;Gðain þ Z=ð1� aÞÞ þ n0TSðnÞ

psb�ðPn0

i¼0

ffiffiffiffiffiain

pþðn0þ1Þ�

ffiffiffiffiffiffiffiffiffiffiffiffiZ=ð1�aÞ

pÞ2n0TðOð1ÞÞ

Yn0

i¼0

TM;E;Gðain þ Z=ð1� aÞÞ þ n0TSðnÞ

psb=ð1�ffiffia

pÞffiffin

pqðnÞ

for some polynomial qð�Þ: More precisely, we can estimate

qðnÞpsbffiffiffiffiffiffiffiffiffiffiffiffiZ=ð1�aÞ

pðn0þ1Þ2n0TðOð1ÞÞ

Yn0

i¼0

TM;E;Gðain þ Z=ð1� aÞÞ þ n0TSðnÞ:

It remains to prove the claim in the case of the existence of a cycle separator theorem. Withoutgoing into detail, we want to sketch the key idea in this case. We consider the first recursive step ofthe algorithm, where we deal with a separation ðA1;S;A2Þ of the input graph G: Suppose now

ðA11;S1;A12Þ is a separation of G½A1; then, for vAS; it is possible that NðvÞ-A1ia| for bothi ¼ 1; 2: This phenomenon basically forces us to find the separator in the first recursive step in

GA1ðwintÞ (a possibly larger graph than G½A1) rather than in G½A1: In the case of cycle separators,

i.e., if S1 were a cycle separator, the above described phenomenon cannot occur anymore due tothe Jordan curve theorem, also see Remark 2.5. That is why Algorithm 4.1 can be modified such

that the new separator in step 2a is computed for Gsel (instead of Gver). The correspondingrecurrence equation for this modified algorithm then reads as

TðnÞpsbffiffin

p� 2TðanÞTM;E;GðnÞ þ TSðnÞ;

the solution of which is given by TðnÞpsb=ð1�ffiffia

p�

ffiffin

pqðnÞ for some polynomial qð�Þ: &

Remark 4.4. A similar proposition holds for graph classes on which an c-separatortheorem is known with constants a and b: It might turn out that such separator theorems

have better ratio b=ð1�ffiffiffia

pÞ; which, in turn, would directly improve the running time in

Proposition 4.3.

4.2. How (linear) problem kernels help

If the considered parameterized problem has a problem kernel of size dk; we can use theconsiderations we have made up to this point in order to obtain fixed-parameter algorithms whose

exponential term is of the form cffiffik

pfor some constant c: More generally, a problem kernel of size

pðkÞ yields exponential terms of the form cffiffiffiffiffiffiffipðkÞ

p:

ARTICLE IN PRESS

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832824

Page 18: Graph separators: a parameterized view

Theorem 4.5. Assume the following:

* let G be a graph class for which affiffi�p-separator theorem with constants a and b is known,

* let G be a select&verify problem defined by ðP�; optÞ glueable with s colors, and* suppose that G admits a problem kernel of polynomial size pðkÞ on G computable in time

TKðn; kÞ:Then, there is an algorithm to decide ðG; kÞAG; for a graph GAG; in time

cða0;b;sÞffiffiffiffiffiffiffipðkÞ

pqðkÞ þ TKðn; kÞ; where cða0;b;sÞ ¼ sb=ð1�

ffiffiffia0

pÞ; ð4Þ

and a0 ¼ aþ e for any eAð0; 1� aÞ; holding only for kXk0ðeÞ; where qð�Þ is some polynomial.If, however, G is slim or the

ffiffi�p-separator theorem yields cycle separators (on the class G of planar

graphs), then the running time for the computation is

cða; b;sÞffiffiffiffiffiffiffipðkÞ

pqðkÞ þ TKðn; kÞ;

which then holds for all k:

Proof. The result directly follows from Proposition 4.3 applied to the problem kernel. &

In particular, Theorem 4.5 means that, for glueable select&verify problems for planar graphs thatadmit a linear problem kernel of size dk; we can get an algorithm of running time

Oðcða;b;s; dÞffiffik

pqðkÞ þ TKðn; kÞÞ; where cða; b; s; dÞ ¼ s

ffiffid

pb=ð1�

ffiffia

pÞ:

Obviously, the choice of the separator theorem has a decisive impact on the constants of thecorresponding algorithms. In particular, our running time analysis shows that the ratio rða;bÞ:¼ b=ð1�

ffiffiffia

pÞ has a direct and significant influence on the running time. In Table 1, this ratio is

computed for the variousffiffi�p-separator theorems. In the following example we use these ratios

explicitly.

Example 4.6. In the case of Vertex Cover on planar graphs, we can take d ¼ 2; a ¼ 2=3; and

b ¼ffiffiffiffiffiffiffiffi2=3

ffiffiffiffiffiffiffiffi4=3

p(see [17]) with the ratio rða;bÞE10:74: In this way, we obtain an algorithm

with running time Oð2ffiffi2

p�10:74�

ffiffik

pþ nkÞ: Neglecting polynomial terms, we have such obtained a

cffiffik

p-algorithm with cE215:19E37381: By way of contrast, taking d ¼ 2; a ¼ 3=4; and b ¼ffiffiffiffiffiffiffiffiffiffiffiffiffiffi

2p=ffiffiffi3

pq� ð1þ

ffiffiffi3

pÞ=

ffiffiffi8

pE1:84 (see [32]) with rða; bÞE13:73; we get an algorithm with running

time Oð2ffiffi2

p�13:73�

ffiffik

pþ nkÞ: This means, we have a c

ffiffik

p-algorithm with cE219:42E701459:

The constants obtained by this first approach are admittedly bad. Section 5 is dedicated topresent new strategies on how to substantially improve these constants.

Remark 4.7. We discuss the importance of cycle separator theorems or slim graph problems.Assume that none of these two conditions is met in a given situation. Then, the claimed bound

ARTICLE IN PRESS

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832 825

Page 19: Graph separators: a parameterized view

from Eq. (4) of Theorem 4.5 is only true for some a0 ¼ aþ e with eAð0; 1� aÞ: Now, there is acertain trade-off in the choice of e:

1. The factor b=ð1�ffiffiffiffia0

pÞ in the exponent of cða0;b;sÞ tends to infinity if a0 tends to one, i.e., if e is

as large as possible.

2. The analysis of Theorem 4.5 is only valid if pðkÞXðb=eÞ2: This bound is easily derived fromEq. (3) in Proposition 4.3 when replacing n by pðkÞ due to the assumption of a problem kernelof polynomial size.

Keeping in mind that typical values of pðkÞ are not very large in practical cases, the second pointmeans that, since b is fixed, e should be comparatively large, otherwise, b=e would be greater thanffiffiffiffiffiffiffiffiffi

pðkÞp

: This gives us very bad constants in the analysis due to the first point.

As explained in the following example, Theorem 4.5 is not only interesting in the case of planargraph problems.

Example 4.8. Since Vertex Cover is a slim problem which has a linear size kernel, Theorem 4.5

yields a cffiffiffiffigk

p-algorithm for Gg; where Gg denotes the class of graphs of genus bounded by g; see

[16], where the existence of a separator of size Oð ffiffiffiffiffign

p Þ for n-vertex graphs from Gg was proven.

For the same reason, we get a cffiffiffiffigk

p-algorithm for Independent Set on Gg: Similarly, for the class

of c-map graphs, we obtain cffiffiffiffick

p-algorithms for Vertex Cover and for Independent Set based

on [13].

Note that these are the first examples of fixed-parameter algorithms with sublinear exponentsfor bounded genus graphs and for c-map graphs. In this sense, the techniques discussed in thispaper apply to a wider range of graphs compared to the approach that in [5]. The ‘‘LayerwiseSeparation Property’’ there makes sense for planar graphs only, although it might be extensible tomap graphs.

5. Improving constants

We present strategies to lower the admittedly bad base of the exponential term obtained by theworst-case analysis in Theorem 4.5. On the one hand, we obtain direct improvements by a closeranalysis of the separator theorems (see Section 5.1). On the other hand, allowing the sublinear

exponent to be Oðk2=3Þ instead of Oðk1=2Þ; we can further bring down the exponential base (seeSection 5.2).

5.1. Analyzing separator theorems

We briefly analyze how (planar) separator theorems are proven in the literature. For the ease ofpresentation, we will again restrict ourselves to planar graphs. Similar observations can be madefor other graph classes, as well.

ARTICLE IN PRESS

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832826

Page 20: Graph separators: a parameterized view

A small separator, as obtained by Lipton and Tarjan’s approach, consists of two ingredientscoming from two separate steps of the construction:

Folding step: The first ingredient of the separator is composed of all vertices which have thesame distance from the root of an assumed minimal height spanning tree (modulo some constants), and

Bounded radius separation: The second ingredient is found according to a ‘‘special separatortheorem’’ for planar graphs with radius of at most s; which guarantees the existence (andconstruction) of a separator containing no more than 2s þ 1 vertices.

The constant s is chosen such that the overall size of the separator is minimized.When making use of separator theorems in a recursive fashion, it is not necessary to perform a

folding step in each recursion step, since the bounded radius assumption of the special separatortheorem is still met. Only from time to time, it is necessary to cut down the radius s of theremaining graph parts by interleaving a folding step.

Following the described venue, we were able to prove the following theorem whose detailedproof can be found in [4].

Theorem 5.1. Let G be a select&verify problem on planar graphs defined by ðP�; optÞ which is

glueable with s colors, and suppose that G admits a problem kernel of polynomial size pðkÞcomputable in time TKðn; kÞ:

Then, there is an algorithm to decide ðG; kÞAG; for an n-vertex planar graph G; in time

cða0;sÞffiffiffiffiffiffiffipðkÞ

pqðkÞ þ TKðn; kÞ; where cða0;sÞEs1:80665=ð1�

ffiffiffia0

pÞ;

and a0 ¼ 2=3þ e for any eAð0; 1=3Þ; holding only for kXk0ðeÞ; where qð�Þ is some polynomial.If G is slim, then the running time for the computation is

cð2=3;sÞffiffiffiffiffiffiffipðkÞ

pqðkÞ þ TKðn; kÞ;

which then holds for all k:

Example 5.2. For Vertex Cover on planar graphs, we obtain by the previous theorem a

213:9234ffiffik

pE15537

ffiffik

p-algorithm, which obviously beats the figures in Example 4.6.

To further improve on our constants, it is possible to analyze a planarffiffi�p-separator theorem

yielding 3-separators (due to Djidjev [15]) in essentially the same way as sketched above, leadingto the following theorem:

Theorem 5.3. Let G be a select&verify problem on planar graphs defined by ðP�; optÞ which is3-glueable with s colors, and suppose that G admits a problem kernel of polynomial size pðkÞcomputable in time TKðn; kÞ:

Then, there is an algorithm to decide ðG; kÞAG; for an n-vertex planar graph G; in time

cða0;sÞffiffiffiffiffiffiffipðkÞ

pqðkÞ þ TKðn; kÞ; where cða0;sÞEs2:7056=ð1�

ffiffiffia0

pÞ;

ARTICLE IN PRESS

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832 827

Page 21: Graph separators: a parameterized view

and a0 ¼ 1=2þ e for any eAð0; 1=2Þ; holding only for kXk0ðeÞ; where qð�Þ is some polynomial.If G is slim, then the running time for the computation is

cð1=2;sÞffiffiffiffiffiffiffipðkÞ

pqðkÞ þ TKðn; kÞ;

which then holds for all k:

Example 5.4. For Vertex Cover on planar graphs, we obtain in this way a 213:0639ffiffik

pE8564

ffiffik

p-

algorithm, which again beats the figure derived in Example 5.2.

Observe that Theorem 5.3 is not always yielding a better algorithm than Theorem 5.1, sincepossibly more colors are needed in the recursion for 3-glueability than for (2-)glueability, seeRemark 3.11.

Remark 5.5. In the case that a slim select&verify planar graph problem G; which is glueable withs colors, admits a kernel of size dk; where the kernelization yields a problem parameter k0 ¼ k (forsimplicity), two principle methods are immediately at hand:

* Test all possible 0–1-settings in order to obtain a 2dk-algorithm for G:

* Employ Theorem 5.3 in order to get a s2:7056=ð1�ffiffiffiffiffiffi1=2

pÞffiffiffiffidk

p¼ s9:2376

ffiffiffiffidk

p-algorithm.

Taking, e.g., the 2dk-algorithm for G and equating 2dk with s9:2376ffiffiffiffidk

pyields

kBEðs; dÞ ¼9:2376 logðsÞ

logð2Þ

� �21

d¼ 177:61ðlogðsÞÞ2d�1 ð5Þ

as break even point of the separator-based algorithm, i.e., whenever kXkBEðs; dÞ; then the

separator-based algorithm is better than the 2dk-algorithm.

In many cases, as for example in the case of Vertex Cover, there are known so-called search

tree algorithms which are much better than the 2dk-algorithm. Therefore, the break even point ofthe separator-based algorithm tends to be greater than suggested by Eq. (5). For example, in the

case of Vertex Cover, a 1:3k-algorithm beats the suggested 8564ffiffik

p-algorithm as long as kp1191:

Of course, kE1000 is out of reach of current computer technology, although one has to keep inmind that we are always talking about worst-case upper bounds. For example, the pieces obtainedby the separator theorems might be much smaller than suggested by the theorems, whichimmediately yields an improved running time of these algorithms. Nevertheless, in practice, itmight be favorable to devise algorithms which have worse asymptotic behavior (since theexponential term contains a faster growing function) but smaller constants. We try to capture thissort of trade-off in the following.

5.2. n=e separation

There are separator theorems which allow for arbitrary small weights (upperbounded by e) foreach of the (many) graph components into which the given graph is split, at the expense of getting

ARTICLE IN PRESS

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832828

Page 22: Graph separators: a parameterized view

larger separators (of a size depending also on the chosen e). Aleksandrov and Djidjev proved thefollowing result, which is, to our knowledge, the best of its kind [7]:

Lemma 5.6. Let G be an n-vertex planar graph with nonnegative vertex weights adding to at most

one, and let 0oep1: Then, there exists some separator S with at most 4ffiffiffiffiffiffiffin=e

pmany vertices such

that G � S has no connected component of total weight greater than e: The separator S can be found

in OðnÞ time.

Let us briefly sketch the proof of Lemma 5.6: As in the proofs of previously shown separatortheorems, in a preparatory folding step, the graph is sliced into pieces of bounded radius s bycutting off a layer LT ;i0 with jLT ;i0 jpn=s: Then, the special separator theorem for bounded radius

graphs is used repeatedly, until all remaining graph pieces are small enough. Choosing an optimals then yields the claimed constant.

We want to apply Lemma 5.6 in order to design algorithms for certain select&verify planargraph problems that are glueable with s colors. Thinking about e as a function e : n/ð0; 1 allowsus to devise an algorithm of the following kind:

* Apply Algorithm 4.1, as long some of the graph pieces such obtained in the course of therecursion have more than eðnÞn many vertices, and

* compute an optimal solution by using the best-known reðnÞn algorithm (for the precoloredproblem!) on each graph piece. Of course, there are at most n such graph pieces.

Let us try to determine an optimal eðnÞ; assuming that the constant r is known. Recall that onlythe size of the separators on some path of the divide-and-conquer recursion tree matters for thecalculation of the running time. This size is upperbounded by

n=s þ 2s log3=2ð1=eðnÞÞ; ð6Þsince the depth of the recursion tree is bounded by log3=2ð1=eðnÞÞ: Expression (6) is minimal if

n=s ¼ 2s log3=2ð1=eðnÞÞ: This means that choosing

sðnÞ ¼ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffilogð3=2Þ

2

r ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffin

�logðeðnÞÞ

rð7Þ

would be optimal. Now, the task would be to determine the optimal function eðnÞ in order tominimize the total running time, which is upperbounded by

ðssðnÞreðnÞnÞn: ð8ÞFor fixed n; the minimum of expression (8) is assumed when

ssðnÞ ¼ reðnÞn:

Unfortunately, we were not able to determine the optimal function eðnÞ corresponding to the sðnÞgiven by Eq. (7) analytically. Therefore, we make the following coarse estimate: Of course, the sizeof the separators along one recursion path is upperbounded by the size of all separators which is

upperbounded by 4ffiffiffiffiffiffiffin=e

paccording to Lemma 5.6. Therefore, we compute the eðnÞ given by

s4ffiffiffiffiffiffiffiffiffin=eðnÞ

p¼ reðnÞn: ð9Þ

ARTICLE IN PRESS

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832 829

Page 23: Graph separators: a parameterized view

This means that eðnÞ ¼ Yðn�1=3Þ is the best choice. More precisely, evaluating Eq. (9) yields

eðnÞ ¼ logðsÞ � 4logðrÞ

� �2=3

n�1=3: ð10Þ

Hence, an algorithm which tries all possible colorings along a recursion path, applying the bestknown general algorithm to the remaining graph pieces, results in the following running time dueto expression (8):

ðssðnÞreðnÞnÞn;where we use sðnÞ ¼ 4

ffiffiffiffiffiffiffiffiffiffiffiffiffin=eðnÞ

pand eðnÞ is given by Eq. (10).

This reasoning yields the following statement.

Theorem 5.7. Let G be a select&verify problem on planar graphs, defined by ðP�; optÞ: We make the

following further assumptions:

* G is glueable with s colors.* G admits a problem kernel of linear size dk computable in time TKðn; kÞ:* There is an OðrnÞ algorithm for solving the (possibly precolored) graph decision problem under

consideration for a planar graph with n vertices.

Then, there is an algorithm to decide ðG; kÞAG; for an n-vertex planar graph G; in time

Oðdk2yðs;r;dÞk2=3 þ TKðn; kÞÞ; where yðs;r; dÞ ¼ 2 logðrÞ 4d

logðsÞlogðrÞ

� �2=3

:

Observe that we indeed need no further assumptions, since we rely on the special cycle separatortheorem for bounded radius graphs from the second step in the recursion on. The first step of therecursion does not cause any problems.

In the case of VertexCover, Robson’s algorithm [31] gives rE1:21; so that Theorem 5.7 yields

a ck2=3-algorithm with cE2ð2�log1:21�ð8=log1:21Þ

2=3ÞE25:20E36:81: Recently announced improvements of

[31]11 suggest taking rE1:18; which would yield cE24:96E31:19: Compare this running time with

the best known ck1=2-algorithm (c ¼ 24

ffiffi3

pE121:79 was shown in [5]).

Similar remarks can be made for Independent Set. Here, in comparison withVertex Cover,the problem kernel size is by a factor of two larger and, hence, the exponent gets worse by a factor

of 22=3E1:59; yielding a ð25:20�1:59Þk2=3

Eð306:20Þk2=3

-algorithm.

6. Conclusion

We exhibited the relations between (planar) separator theorems and their use in obtaining fixed-parameter tractability results based on divide-and-conquer algorithms. To this end, we coined thekey notion of glueable select&verify problems that captures intricate graph problems such asDominating Set or Total Dominating Set. We showed that various glueable select&verify

ARTICLE IN PRESS

11Personal communication of J. M. Robson.

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832830

Page 24: Graph separators: a parameterized view

problems allow cffiffik

p-algorithms on graph classes that admit a

ffiffi�p-separator theorem. Then, the

constant c is determined in terms of some problem-specific parameters. By exploiting further ideason the use of separator theorems, we were able to lower these constants substantially. Finally,

methods were presented that allow for ck2=3-algorithms with already reasonable constants c:

Our work indicates that research on improving constants in separator theorems with constantsa and b should not only concentrate on bringing down b for fixed a (as, e.g., done for a ¼ 2=3 in

[17]), but more importantly, on minimizing the function b=ð1�ffiffiffia

pÞ: This would directly improve

the exponential terms in all graph problems captured by our methodology. Moreover, it isinteresting to see whether the constants in Theorems 5.1 and 5.3 can be further improved. Thisshould be possible, since we only analyzed the first ever proven separator theorems and were ableto bring down the exponential term by a factor of 2=3: The idea behind our two theorems mightalso help to overcome the ‘‘lower bound barrier’’ imposed on the constants of several separatortheorems, see [32]. Of course, an improvement of the presented algorithms can also be gained byincreasing the number of parameterized problems with (small) linear problem kernel.

Last but not least, our techniques might be applicable to non-planar graphs, as well. This isstrongly indicated in [8,9,19,22], as well as by several remarks throughout this paper.

Acknowledgments

We thank the anonymous referees of the 7th Annual International Computing andCombinatorics Conference (COCOON 2001) and of Journal of Computer and System Sciencesfor their remarks that helped improving the presentation of this paper.

References

[1] J. Alber, H.L. Bodlaender, H. Fernau, R. Niedermeier, Fixed parameter algorithms for planar dominating set and

related problems, in: Proceedings of the Seventh Scandinavian Workshop on Algorithm Theory SWAT’00,

Lecture Notes in Computer Science, Vol. 1851, Springer, Berlin, 2000, pp. 97–110, long version to appear in

Algorithmica.

[2] J. Alber, H. Fan, M.R. Fellows, H. Fernau, R. Niedermeier, F. Rosamond, U. Stege, Refined search tree

techniques for the planar dominating set problem, in: Proceedings of the 26th International Symposium

Mathematical Foundations of Computer Science MFCS’01, Lecture Notes in Computer Science, Vol. 2136,

Springer, Berlin, 2001, pp. 111–122.

[3] J. Alber, M.R. Fellows, R. Niedermeier, Efficient data reduction for dominating set: a linear problem kernel for

the planar case, Manuscript, April 2002.

[4] J. Alber, H. Fernau, R. Niedermeier, Graph separators: a parameterized view, Technical Report WSI-2001-8,

Universitat Tubingen (Germany), Wilhelm-Schickard-Institut fur Informatik, September 2001.

[5] J. Alber, H. Fernau, R. Niedermeier, Parameterized complexity: exponential speed-up for planar graph problems,

Technical Report TR01-023, ECCC Reports, Trier, March 2001, Extended abstract in Proceedings of the 28th

International Colloquium on Automata, Languages and Programming ICALP’01, Lecture Notes in Computer

Science, Vol. 2076, Springer, Berlin, 2001, pp. 261–272.

[6] J. Alber, J. Gramm, R. Niedermeier, Faster exact algorithms for hard problems: a parameterized point of view,

Discrete Math. 229 (2001) 3–27.

[7] L.G. Aleksandrov, H.N. Djidjev, Linear algorithms for partitioning embedded graphs of bounded genus, SIAM

J. Discrete Math. 9 (1996) 129–150.

ARTICLE IN PRESS

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832 831

Page 25: Graph separators: a parameterized view

[8] N. Alon, P.D. Seymour, R. Thomas, A separator theorem for graphs with an excluded minor and its applications,

in: Proceedings of the 22nd ACM Symposium on the Theory of Computing STOC’90, Baltimore, MD, May 14–16,

1990, pp. 293–299.

[9] N. Alon, P.D. Seymour, R. Thomas, A separator theorem for nonplanar graphs, J. AMS 3 (1990) 801–808.

[10] R. Bar-Yehuda, S. Even, A local-ratio theorem for approximating the weighted vertex cover problem, Ann.

Discrete Math. 25 (1985) 27–46.

[11] H.L. Bodlaender, A partial k-arboretum of graphs with bounded treewidth, Theoret. Comput. Sci. 209 (1998)

1–45.

[12] J. Chen, I. Kanj, W. Jia, Vertex cover: further observations and further improvements, J. Algorithms 41 (2001)

280–301.

[13] Z.-Z. Chen, Approximation algorithms for independent sets in map graphs, J. Algorithms 41 (2001) 20–40.

[14] Z.-Z. Chen, M. Grigni, C.H. Papadimitriou, Map graphs, J. ACM 49 (2002) 127–138.

[15] H.N. Djidjev, On the problem of partitioning planar graphs, SIAM J. Algebraic Discrete Methods 3 (2) (1982)

229–240.

[16] H.N. Djidjev, A separator theorem for graphs of fixed genus, Serdica 11 (1985) 319–329.

[17] H.N. Djidjev, S.M. Venkatesan, Reduced constants for simple cycle graph separation, Acta Inform. 34 (1997)

231–243.

[18] R.G. Downey, M.R. Fellows, Parameterized Complexity, Springer, Berlin, 1999.

[19] D. Eppstein, Diameter and treewidth in minor-closed graph families, Algorithmica 27 (2000) 275–291.

[20] M.R. Fellows, Parameterized complexity: the main ideas and some research frontiers, in: Proceedings of the 12th

Annual International Symposium on Algorithms And Computation ISAAC’01, Lecture Notes in Computer

Science, Vol. 2223, 2001, pp. 291–307.

[21] M.R. Garey, D.S. Johnson, Computers and Intractability, Freeman, New York, 1979.

[22] M. Grohe, Local tree-width, excluded minors, and approximation algorithms, Combinatorica, 2001, to appear.

[23] R.J. Lipton, R.E. Tarjan, A separator theorem for planar graphs, SIAM J. Appl. Math. 36 (2) (1979) 177–189.

[24] R.J. Lipton, R.E. Tarjan, Applications of a planar separator theorem, SIAM J. Comput. 9 (3) (1980) 615–627.

[25] G.L. Nemhauser, J.L.E. Trotter, Vertex packing: structural properties and algorithms, Math. Programming 8

(1975) 232–248.

[26] R. Niedermeier, P. Rossmanith, Upper bounds for Vertex Cover further improved, in: Proceedings of the 16th

Symposium on Theoretical Aspects of Computer Science STACS’99, Lecture Notes in Computer Science,

Vol. 1563, Springer, Berlin, 1999, pp. 561–570.

[27] R. Niedermeier, P. Rossmanith, On efficient fixed parameter algorithms for weighted vertex cover, in:

Proceedings of the 11th Annual International Symposium on Algorithms And Computation ISAAC’00, Lecture

Notes in Computer Science, Vol. 1969, Springer, Berlin, 2000, pp. 180–191.

[28] V.T. Paschos, A survey of approximately optimal solutions to some covering and packing problems, ACM

Comput. Surveys 29 (2) (1997) 171–209.

[29] S.S. Ravi, H.B. Hunt, An application of the planar separator theorem to counting problems, Inform. Process. Lett.

25 (6) (1987) 317–322.

[30] N. Robertson, D.P. Sanders, P. Seymour, R. Thomas, Efficiently four-coloring planar graphs, in: Proceedings of

the 28th ACM Symposium on the Theory of Computing STOC’96, 1996, pp. 571–575.

[31] J.M. Robson, Algorithms for maximum independent sets, J. Algorithms 7 (3) (1986) 425–440.

[32] D.A. Spielman, S.-H. Teng, Disk packings and planar separators, in: SCG 96: 12th Annual ACM Symposium on

Computational Geometry, 1996, pp. 349–358.

[33] J.A. Telle, Complexity of domination-type problems in graphs, Nordic J. Comput. 1 (1994) 157–171.

[34] J.A. Telle, A. Proskurowski, Practical algorithms on partial k-trees with an application to domination-like

problems, in: Proceedings of the 3rd Algorithms and Data Structures WADS’93, Lecture Notes in Computer

Science, Vol. 709, Springer, Berlin, 1993, pp. 610–621.

[35] J.A. Telle, A. Proskurowski, Algorithms for vertex partitioning problems on partial k-trees, SIAM J. Discrete

Math. 10 (4) (1997) 529–550.

[36] M. Yannakakis, F. Gavril, Edge dominating sets in graphs, SIAM J. Appl. Math. 38 (3) (1980) 364–372.

ARTICLE IN PRESS

J. Alber et al. / Journal of Computer and System Sciences 67 (2003) 808–832832