5
Information Processing Letters 98 (2006) 145–149 www.elsevier.com/locate/ipl Parameterized power domination complexity Joachim Kneis, Daniel Mölle, Stefan Richter, Peter Rossmanith Department of Computer Science, RWTH Aachen University, Germany Received 10 April 2005; received in revised form 25 November 2005 Available online 9 February 2006 Communicated by F. Meyer auf der Heide Abstract The optimization problem of measuring all nodes in an electrical network by placing as few measurement units (PMUs) as possible is known as POWER DOMINATING SET. Nodes can be measured indirectly according to Kirchhoff’s law. We show that this problem can be solved in linear time for graphs of bounded treewidth and establish bounds on its parameterized complexity if the number of PMUs is the parameter. 2006 Elsevier B.V. All rights reserved. Keywords: Graph algorithms; Computational complexity 1. Introduction Electrical networks can be interpreted as undirected graphs in a very natural fashion. Each node represents a measuring point and edges denote electrical connec- tions between them. In this paper, we discuss a graph problem known as POWER DOMINATING SET which has been introduced by Haynes et al. [9]. In order to observe the voltage and phase angle at some measur- ing point, we may place a Phase Measurement Unit (PMU) on it, and by a law resembling Kirchhoff’s cur- rent law, we can observe measuring points indirectly as well. More precisely, we have the following rules that tell us how nodes and edges can be measured: Supported by the DFG under grant RO 927/6-1 (TAPI). * Corresponding author. E-mail address: [email protected] (P. Rossmanith). (1) A PMU on a node v observes v , all incident edges, and all adjacent nodes. (2) If a vertex v of degree d 2 is incident to d 1 observed edges, all edges of v are observed. (3) If an edge e ={v,w} is observed, v and w are ob- served as well. (4) If two adjacent nodes v and w are observed, the edge {v,w} is observed as well. The POWER DOMINATING SET problem is defined by the following question: Given an undirected graph G = (V,E) and a non- negative integer k , is there a subset M V with |M| k such that all nodes from V would be observed according to the four rules, if we placed a PMU on every v M? POWER DOMINATING SET is similar to the well-known problem DOMINATING SET. In this, we look for a domi- nating set D of k nodes, such that every node either is an 0020-0190/$ – see front matter 2006 Elsevier B.V. All rights reserved. doi:10.1016/j.ipl.2006.01.007

Parameterized power domination complexity

Embed Size (px)

Citation preview

Page 1: Parameterized power domination complexity

Information Processing Letters 98 (2006) 145–149

www.elsevier.com/locate/ipl

Parameterized power domination complexity ✩

Joachim Kneis, Daniel Mölle, Stefan Richter, Peter Rossmanith ∗

Department of Computer Science, RWTH Aachen University, Germany

Received 10 April 2005; received in revised form 25 November 2005

Available online 9 February 2006

Communicated by F. Meyer auf der Heide

Abstract

The optimization problem of measuring all nodes in an electrical network by placing as few measurement units (PMUs) aspossible is known as POWER DOMINATING SET. Nodes can be measured indirectly according to Kirchhoff’s law. We show thatthis problem can be solved in linear time for graphs of bounded treewidth and establish bounds on its parameterized complexity ifthe number of PMUs is the parameter. 2006 Elsevier B.V. All rights reserved.

Keywords: Graph algorithms; Computational complexity

1. Introduction

Electrical networks can be interpreted as undirectedgraphs in a very natural fashion. Each node representsa measuring point and edges denote electrical connec-tions between them. In this paper, we discuss a graphproblem known as POWER DOMINATING SET whichhas been introduced by Haynes et al. [9]. In order toobserve the voltage and phase angle at some measur-ing point, we may place a Phase Measurement Unit(PMU) on it, and by a law resembling Kirchhoff’s cur-rent law, we can observe measuring points indirectly aswell. More precisely, we have the following rules thattell us how nodes and edges can be measured:

✩ Supported by the DFG under grant RO 927/6-1 (TAPI).* Corresponding author.

E-mail address: [email protected](P. Rossmanith).

0020-0190/$ – see front matter 2006 Elsevier B.V. All rights reserved.doi:10.1016/j.ipl.2006.01.007

(1) A PMU on a node v observes v, all incident edges,and all adjacent nodes.

(2) If a vertex v of degree d � 2 is incident to d − 1observed edges, all edges of v are observed.

(3) If an edge e = {v,w} is observed, v and w are ob-served as well.

(4) If two adjacent nodes v and w are observed, theedge {v,w} is observed as well.

The POWER DOMINATING SET problem is definedby the following question:

Given an undirected graph G = (V ,E) and a non-negative integer k, is there a subset M ⊆ V with|M| � k such that all nodes from V would be observedaccording to the four rules, if we placed a PMU on everyv ∈ M?

POWER DOMINATING SET is similar to the well-knownproblem DOMINATING SET. In this, we look for a domi-nating set D of k nodes, such that every node either is an

Page 2: Parameterized power domination complexity

146 J. Kneis et al. / Information Processing Letters 98 (2006) 145–149

element of D or has a neighbor in D. Dominating set isitself a classical NP-complete problem [7]. What makesPOWER DOMINATING SET seemingly harder to solveis its non-local structure: For dominating set the place-ment of a dominating node cannot influence other partsin the graph that are far away, while this is perfectly pos-sible for POWER DOMINATING SET. A path of arbitrarylength, for example, can be measured by a single PMUat one of its ends.

It is well known that DOMINATING SET can besolved efficiently for graphs of bounded treewidth [11].The notion of treewidth was introduced by Robertsonand Seymour [10] and measures how treelike a graphis. Graphs of treewidth k are also called partial k-trees.introduction to this concept. Many graph problems thatare hard in general can be efficiently solved, i.e., in poly-nomial and often linear time, for graphs of boundedtreewidth, e.g., HAMILTONIAN PATH, MAX-CUT, IN-DEPENDENT SET and VERTEX COVER [11]. A notableexception is bandwidth minimization [6].

Because of its non-local structure, standard tech-niques do not easily lead to efficient algorithms forPOWER DOMINATING SET even for graphs of boundedtreewidth. The first polynomial algorithm for POWER

DOMINATING SET works only on trees, i.e., on graphswith treewidth one [9]. Haynes et al. left the generaliza-tion to bounded treewidth as an open question. A smallstep in this direction is a new algorithm by Guo et al. [8]that solves POWER DOMINATING SET in polynomialtime for trees with a constant number of additionaledges. This class of graphs is a subset of all graphs withbounded treewidth, but does not even contain all graphswith treewidth two. E.g., a 2×n-grid has treewidth two,but is a tree with n − 1 additional edges.

In what follows, we achieve the general result thatPOWER DOMINATING SET can be solved in linear timefor any fixed treewidth k, thereby solving the open prob-lem posed in the article that incited research in thisarea [9].

Parameterized complexity

In parameterized complexity every input instance hasan associated natural number, called the parameter. Of-ten, the parameter is part of the input, otherwise itis a—usually simple—function of the input. The timecomplexity of a parameterized problem is measured asa function in both the input length n and the parame-ter k. We say that a problem is fixed parameter tractableor in the complexity class FPT if there is an algorithmthat can solve the problem in f (k)nc steps, where c isa constant and f is an arbitrary function. The idea be-

hind parameterized complexity theory is that hard prob-lems can be easy in practice if hard instances do notoccur. The parameter measures how hard an instance isand the complexity “explodes” only in terms of the pa-rameter. See the influential monograph by Downey andFellows [4] for an introduction to parameterized com-plexity.

We can parameterize POWER DOMINATING SET inseveral reasonable ways. Two natural parameters arethe treewidth of the graph and the number of neededPMUs:

Input: A graph G and a number k

Parameter: tw(G) (the treewidth of G)Question: Is there a power dominating set of

size k for G?

Input: A graph G and a number k

Parameter: k (the number of PMUs)Question: Is there a power dominating set of

size k for G?

Let t be the treewidth of a graph. If we had two al-gorithms that solve POWER DOMINATING SET in nt

resp. t tn3 steps, both would imply that the problem canbe solved in polynomial time for graphs of boundedtreewidth, i.e., all graphs whose treewidth is boundedby some constant. The second, but not the first algo-rithm would also imply that POWER DOMINATING SET

is fixed parameter tractable. Please note that the secondalgorithm is still feasible if t has a moderate value, butthe first becomes impractical even for small values of t .Hence, parameterized complexity makes a better state-ment than simply “polynomial for fixed treewidth”.

In this sense Guo, Hüffner and Niedermeier showedthat POWER DOMINATING SET is fixed parametertractable if the number of edges added to a tree is theparameter.

In conventional complexity there is the class P of ef-ficiently solvable problems, as well as NP, whose com-plete problems are unlikely to be in P. In parameterizedcomplexity, these are paralleled by FPT as opposed toW[1], W[2], . . . and W[P] whose complete problems areunlikely to be fixed parameter tractable. It is known thatDOMINATING SET is W[2]-complete if the size of thedominating set is the parameter [5]. We show in thispaper that POWER DOMINATING SET is in W[P] andis W[2]-hard if the number of PMUs is the parameter.Unfortunately, we cannot establish the complexity ex-actly, but there are several other problems with W[2] asa lower and W[P] as an upper bound. One example isMONOCHROME CYCLE COVER.

Page 3: Parameterized power domination complexity

J. Kneis et al. / Information Processing Letters 98 (2006) 145–149 147

Fig. 1. A graph that is power-dominated by three PMUs. Nodes with PMUs are marked by a square, and neighbors of such nodes are marked bya circle. All these vertices are observed according to the first rule. Nodes observed due to the Kirchhoff rule are marked by a comet whose tailpoints at the induction source.

2. A simplified set of rules

To begin with, we found a way to simplify the prob-lem description by using a smaller set of rules equiva-lent to the four original rules mentioned above.

Lemma 1. The following set of rules is equivalent to theoriginal set of rules with respect to observed nodes:

(1) A PMU on a node v observes v and all its neigh-bors.

(2) If an observed vertex v of degree d � 2 is adjacentto d − 1 observed nodes, all its neighbors are ob-served.

Proof. Let us return to the original set of rules. Thereis no rule that creates an observed edge both of whosenodes are not observed. Only the second rule is capa-ble of creating an observed edge exactly one of whosenodes is not observed. By the third rule, however, thisnode becomes observed immediately.

Thus, by applying the third rule immediately eachtime we apply the second one, we contract these tworules into one. It then never happens that an observededge is incident to a node that is not yet observed. Thus,we do not have to consider observed edges any longer,and the modification of the first rule as well as the dele-tion of the fourth rule are clearly uncritical. �3. Bounded treewidth tractability

In this section, we apply a theorem by Courcelle et al.[3, Theorem 27] to show that Power Dominating Set canbe solved in linear time for graphs of bounded treewidth.

Proposition 1. (Courcelle et al.) Let p and k be fixedintegers. Every LinEMSOL(τ1,p) optimization problem

on the class of partial k-trees can be solved in O(|V |)time and the corresponding algorithm can be derivedconstructively from its LinEMSOL(τ1,p) definition.

LinEMSOL(τ1,p) denotes monadic second orderlogic (MSO) with linear evaluation functions. To be-gin with, recall that monadic second order logic is anextension of first order logic that allows us to quantifyover unary predicate variables (that is, subsets of theuniverse). The vocabulary τ1 consists of a single binaryrelation E over V ×V that encodes the edges of a givengraph. Clearly, every graph G can be expressed as a τ1-structure 〈V,E〉.

For any fixed integer p, the vocabulary τ1,p is anextension of τ1 that introduces p additional unary pred-icates U1, . . . ,Up to the language (that is, τ1 can beinterpreted as τ1,0). These extended vocabularies, how-ever, are not going to be required in this section at all,hence we omit further details.

For a vocabulary τ , we say that a graph problem is anMSO(τ ) decision problem if it can be stated as a closedMSO formula over the vocabulary τ . LinEMSOL(τ )

optimization problems are a bit more complicated, andfor the sake of brevity we only describe the very specialand restricted kind of these problems that is relevant inour context. A graph problem is a LinEMSOL(τ ) opti-mization problem of this kind if it can be expressed asfollows:

The input consists of a graph given as a τ -structureG(τ) = 〈V,E〉 and an evaluation function f :V → N.There is a fixed MSO(τ ) formula θ that contains a freeset variable X whose universe is V . The problem is tofind a valuation of X that fulfills 〈G(τ),X〉 |= θ(X) atminimal cost with respect to f , that is,

arg minX⊆V

{∑f (x) | ⟨G(τ),X

⟩ = θ(X)

}.

x∈X

Page 4: Parameterized power domination complexity

148 J. Kneis et al. / Information Processing Letters 98 (2006) 145–149

In the general case, LinEMSOL optimization prob-lems can be a lot more complex, even for the vocabularyτ1 alone: there can be an arbitrary number of free setvariables Xi , an arbitrary number of evaluation func-tions fj , and fixed integer weights as coefficients foreach fj (Xi).

Lemma 2. POWER DOMINATING SET can be ex-pressed as an LinEMSOL(τ1) optimization problem asfollows:

arg minX⊆V

|X|:∀VM ⊆ V. VM = observed_nodes(X) → VM = V,

where

observed_nodes(X)

≡ {v ∈ V | near_PMU(v) ∨ kirchhoff (v)

},

near_PMU(v) ≡ v ∈ X ∨ ∃u ∈ X.adj(v,u),

kirchhoff (v) ≡ ∃w ∈ VM.(adj(v,w) ∧ ∀w′ ∈ V.(

adj(w′,w) → w′ = v ∨ w′ ∈ VM

)).

Proof. It is easily verified that near_PMU(v) holds ofa node v exactly if it is directly measured by a node inX via the first rule. As well, kirchhoff (v) if and onlyif v is observed using the second rule. Note that VM isconstructed as a fixed point in a quasi iterative manner:If a node w and all of his neighbors save one have beenmeasured (and thus are part of VM ), the last remainingneighbor is also observed, by the Kirchhoff rule.

Thus, we have that under the premise VM = observed_nodes(X), exactly the measured nodes are containedin VM . That way, the conclusion VM = V is satisfiedif and only if the whole graph G is power-dominatedby X. We achieve the smallest such X by the min opti-mization. �Theorem 1. POWER DOMINATING SET can be solvedin linear time for graphs of bounded tree width.

Notice that Proposition 1 allows for defining theinteger-weighted version of the problem as well, whereplacing a PMU on a node v has cost f (v). By omittingf in the above lemma, we implicitly assigned a weightof 1 to each node.

4. Hardness for W[2]

The most natural parameter for the POWER DOM-INATING SET problem may not be the treewidth, butthe number of PMUs required to power-dominate the

Fig. 2. A dominated graph and its corresponding power-dominatedantenna graph. In the first graph, diamonds and circles denote dom-inators and dominated nodes, respectively. The nodes in the secondgraph are marked according to the notation used in Fig. 1.

input graph. In this section, we show that POWER DOM-INATING SET is W[2]-hard for this parameterization.It is already known that POWER DOMINATING SET isNP-complete, but the reduction from 3-SAT given byHaynes et al. [9] cannot be used to show W[2]-hardness.Therefore, we take a different approach.

Theorem 2. POWER DOMINATING SET is W[2]-hardwhen we choose the number of PMUs as the parameter.

Proof. By reduction from DOMINATING SET, wherethe number of dominators is the parameter. This prob-lem is W[2]-complete [5].

Given an input graph G = (V ,E) for DOMINATING

SET, construct the graph G′ = (V ′,E′) by copying G

and adding a single edge with a new node v′ to eachnode v ∈ V . Let us call such an edge {v, v′} the an-tenna of v. We will now prove the following equalityof the two domination numbers: G can be dominated byd nodes if and only if G′ can be power-dominated by d

nodes.(⇒) Let D ⊆ V dominate G such that |D| is mini-

mal. Clearly, D also dominates all nodes in G′ exceptfor, maybe, nodes v′ on antennae {v, v′} for some nodesv ∈ V . As all neighbors of any such node v, except forv′, are dominated by D, the Kirchhoff rule applies, andwe have that D power-dominates the entire graph G′.

(⇐) Let D ⊆ V ′ power-dominate G′ such that |D|is minimal. If D uses the node v′ of the antenna {v, v′}for some v ∈ V , we may replace D by D ∪ ({v}) − {v′}without losing the power domination property, as v isthe only neighbor of v′. Since this operation does notchange the size of D, we may assume that D ⊆ V

without loss of generality. It remains to show that theKirchhoff rule never applies to any node from V , whichmeans that D is also a dominating set for G′[V ] andthus for G.

Mark all nodes in D and all their neighbors, and as-sume there exists a node v ∈ V that remains unmarked,which means that v is not dominated by D. The Kirch-

Page 5: Parameterized power domination complexity

J. Kneis et al. / Information Processing Letters 98 (2006) 145–149 149

hoff rule can only be applied if v has a neighbor w ∈ V

all of whose neighbors but v are marked. As there is anantenna {w,w′}, w has a neighbor w′ /∈ V that cannotbe marked unless w ∈ D. However, if w ∈ D, then v

(as a neighbor of w) must be marked. This contradictschoosing v as an unmarked node, showing that there isno node in G′[V ] not dominated by D. �5. Containedness in W[P]

In the case that the number of PMUs is chosen as theparameter, POWER DOMINATING SET is in W[P]. Thisfollows directly from a result by Cai et al. [2]:

Proposition 2. (Cai, Chen, Downey, Fellows.) Let Q bea parameterized problem which is in NP as a classicalproblem. Then Q ∈ W[P] if and only if there is a non-deterministic Turing machine M deciding Q such that,given the input (x, k), M performs at most p(|x| + k)

steps and at most f (k) · logn nondeterministic steps( for some computable f and polynomial p).

Corollary 1. POWER DOMINATING SET ∈ W[P].

Proof. A nondeterministic Turing machine can guessa set X of k node numbers (ranging from 1 through n) ink · logn nondeterministic steps. It may then in determin-istic polynomial time compute the set VM of measurednodes under the assumption that exactly the nodes in X

have PMUs, and finally check whether VM = V . �6. Summary

While POWER DOMINATING SET is efficiently solv-able for graphs of bounded treewidth, it is W[2]-hard—but in W[P]—when parameterized by the number ofPMUs. That leaves a more precise complexity charac-terization of this variant as an interesting open question.

To us, it seems reasonable that the inductive effect of theKirchhoff rule would make POWER DOMINATING SET

more difficult to solve than DOMINATING SET, possiblyeven as hard as INDUCED FORMULA SATISFIABILITY,which has been shown to be W[P]-complete [1].

References

[1] K.A. Abrahamson, R.G. Downey, M.R. Fellows, Fixed-parame-ter tractability and completeness. IV: On completeness for W[P]and PSPACE analogues, Ann. Pure Appl. Logic 73 (1995) 235–276.

[2] L. Cai, J. Chen, R.G. Downey, M.R. Fellows, On the structure ofparameterized problems in NP, Inform. and Comput. 123 (1995)38–49.

[3] B. Courcelle, J.A. Makowsky, U. Rotics, Linear time solvableoptimization problems on graphs of bounded clique width, in:Proc. 24th WG, in: Lecture Notes in Comput. Sci., vol. 1517,Springer, Berlin, 1998, pp. 1–16.

[4] R.G. Downey, M.R. Fellows, Fixed parameter tractability andcompleteness III, in: K. Ambos-Spies, S. Homer, U. Schöning(Eds.), Complexity Theory: Current Research, Cambridge Uni-versity Press, Cambridge, 1993, pp. 191–225.

[5] R.G. Downey, M.R. Fellows, Parameterized Complexity, Sprin-ger-Verlag, Berlin, 1999.

[6] M. Garey, R. Graham, D. Johnson, D. Knuth, Complexity resultsfor bandwidth minimization, SIAM J. Appl. Math. 34 (1978)477–495.

[7] M. Garey, D. Johnson, Computers and Intractability: A Guide tothe Theory of NP-Completeness, Freeman, San Francisco, CA,1979.

[8] J. Guo, F. Hüffner, R. Niedermeier, A structural view on parame-terizing problems: Distance from triviality, in: Proc. 1st IWPEC,in: Lecture Notes in Comput. Sci., vol. 3162, Springer, Berlin,2004, pp. 162–173.

[9] T.W. Haynes, S.M. Hedetniemi, S.T. Hedetniemi, M.A. Henning,Domination in graphs applied to electric power networks, SIAMJ. Discrete Math. 15 (4) (2002) 519–529.

[10] N. Robertson, P.D. Seymour, Graph minors I. Excluding a forest,J. Combin. Theory Ser. B 35 (1983) 39–61.

[11] J.A. Telle, A. Proskurowski, Algorithms for vertex partition-ing problems on partial k-trees, SIAM J. Discrete Math. 10 (4)(1997) 529–550.