Next Article in Journal / Special Issue
Tractabilities and Intractabilities on Geometric Intersection Graphs
Previous Article in Journal
Energy Efficient Routing in Wireless Sensor Networks Through Balanced Clustering
Previous Article in Special Issue
Maximum Disjoint Paths on Edge-Colored Graphs: Approximability and Tractability
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Computational Study on a PTAS for Planar Dominating Set Problem

School of Computing Science, Simon Fraser University, Burnaby BC, V5A 1S6, Canada
*
Author to whom correspondence should be addressed.
Algorithms 2013, 6(1), 43-59; https://doi.org/10.3390/a6010043
Submission received: 2 November 2012 / Revised: 10 January 2013 / Accepted: 13 January 2013 / Published: 21 January 2013
(This article belongs to the Special Issue Graph Algorithms)

Abstract

:
The dominating set problem is a core NP-hard problem in combinatorial optimization and graph theory, and has many important applications. Baker [JACM 41,1994] introduces a k-outer planar graph decomposition-based framework for designing polynomial time approximation scheme (PTAS) for a class of NP-hard problems in planar graphs. It is mentioned that the framework can be applied to obtain an O ( 2 c k n ) time, c is a constant, ( 1 + 1 / k ) -approximation algorithm for the planar dominating set problem. We show that the approximation ratio achieved by the mentioned application of the framework is not bounded by any constant for the planar dominating set problem. We modify the application of the framework to give a PTAS for the planar dominating set problem. With k-outer planar graph decompositions, the modified PTAS has an approximation ratio ( 1 + 2 / k ) . Using 2 k -outer planar graph decompositions, the modified PTAS achieves the approximation ratio ( 1 + 1 / k ) in O ( 2 2 c k n ) time. We report a computational study on the modified PTAS. Our results show that the modified PTAS is practical.

1. Introduction

An important research area in graph theory and networks is domination; it has been energetically investigated for many years due to its large number of real-world applications, such as resource allocation [1,2] and voting [3]. Haynes et al. In their books, [4,5] provide a good survey on domination problems. Let G be a simple undirected graph with the set of vertices V ( G ) and the set of edges E ( G ) . We denote | V ( G ) | by n. The r-dominating set D of G is a subset of V ( G ) containing r vertices, such that for every vertex v in V ( G ) , either v D or v is adjacent to a vertex in D. The minimum integer r for which G has a r-dominating set is called the domination number of G and is denoted by γ ( G ) . The dominating set problem is to decide that given a graph G and an integer r, whether γ ( G ) r . The optimization version of this problem is to find a minimum dominating set.
The dominating set problem is a core NP-hard problem in combinatorial optimization and graph theory [6]. There is a long history of research on the approximation and exact algorithms to tackle the intractability of the problem. A minimization problem P is α−approximable ( α 1 ) if there is an algorithm which gives a solution for any instance of P in polynomial time in the instance size with solution value at most α O P T , where O P T is the value of an optimal solution for the instance of P. If P is ( 1 + ϵ ) approximable for any fixed ϵ > 0 then P has a polynomial time approximation scheme (PTAS). The dominating set problem for general graphs is ( 1 + log n ) approximable [7], however, it is not approximable within a factor ( 1 ϵ ) ln n for any ϵ > 0 unless N P D T I M E ( n log log n ) [8]. The dominating set problem has been widely studied on an important class of graphs, the planar graphs. A graph is planar if it can be drawn on the sphere with no crossing edges. The dominating set problem in planar graphs (planar dominating set problem) remains NP-hard [6] but admits a PTAS [9].
The fixed parameter algorithms have played a central role in exact algorithms for the planar dominating set problem. A minimization problem P is fixed-parameter tractable if given a parameter r, whether O P T of P is at most r can be decided in f ( r ) n O ( 1 ) time, where f ( r ) is a computable function depending only on r [10]. Such an algorithm is called a fixed parameter tractable (FPT) algorithm. Readers may refer to [11] for a survey on new techniques for developing exact algorithms for NP-hard problems. It is shown in [10] that for general graphs, the dominating set problem is not fixed-parameter tractable unless some collapses occur between parametrized complexity classes. However, the planar dominating set problem is fixed-parameter tractable [10]. The planar dominating set problem also admits a linear size kernel [12].
Recent progresses in FPT algorithms result in subexponential time exact algorithms for the planar dominating set problem [13,14,15]. These algorithms use the tree-/branch-decomposition based approach and have running time O ( 2 c γ ( G ) n + n O ( 1 ) ) , c is a constant. The branch-decomposition based algorithm by Fomin and Thilikos (called FT algorithm in what follows) [14] achieves a smallest constant c in the exponent of the running time. The notion of branch-decomposition of graphs is introduced by Robertson and Seymour [16]. Informally, a branch-decomposition of a graph G is a collection of vertex cut sets of G that decomposes G into subgraphs with each edge of G a minimal subgraph. The width of a branch-decomposition is the maximum size of the vertex cuts in the collection. The branchwidth of G, denoted by bw ( G ) , is the minimum width of all possible branch-decompositions of G. Given a graph G and a branch-decomposition of G with width β, FT algorithm finds an optimal solution in O ( 2 ( 3 log 4 3 ) β n ) time for the dominating set problem.
For a planar graph G, it is known that a branch-decomposition of minimum width bw ( G ) can be computed in O ( n 3 ) time [17,18] and bw ( G ) 3 4.5 γ ( G ) [14,19]. Alber et al. [12] give an O ( n 3 ) time algorithm which computes a subgraph H (kernel) of G such that H has O ( γ ( G ) ) vertices, γ ( H ) γ ( G ) , and a minimum dominating set of G can be constructed from a minimum dominating set of H in linear time. Notice that for a subgraph H of G, bw ( H ) bw ( G ) . From the above, the FT algorithm solves the planar dominating set problem in O ( 2 ( 3 log 4 3 ) bw ( G ) γ ( G ) + n 3 ) and O ( 2 15.13 γ ( G ) γ ( G ) + n 3 ) time (The running time of FT algorithm can be further improved to O ( 2 11.98 γ ( G ) γ ( G ) + n 3 ) using fast matrix multiplication in the dynamic programming step of the algorithm [20]. However, this improvement is only of theoretical interest because the fast matrix multiplication is not practical [21]).
For graphs with small treewidth/branchwidth, an FPT algorithm may be efficient to find an optimal solution, however, for graphs with large treewidth/branchwidth, one may have to rely on approximation algorithms for the planar dominating set problem. A PTAS is highly desired if the solution values are required to be close to optimal with a guaranteed approximation ratio. Baker introduces a framework to obtain PTAS for a class of NP-hard problems [9]. This framework is based on decomposing a planar graph into k-outer planar subgraphs.
A graph G is called outer planar or 1-outer planar if it has a planar embedding such that all vertices of G are incident to a same face (called outer face). For k > 1 , G is a k-outer planar graph, if it has a planar embedding such that removing the vertices of G incident to the outer face will result in a ( k 1 ) -outer planar graph. A k-outer planar graph G has a branchwidth of at most 2 k . Baker’s PTAS framework for a problem P in a planar graph G is to decompose G into a collection of k-outer planar subgraphs, find an optimal partial solution of P in each subgraph by an exact algorithm, and take the union of the optimal partial solutions as a solution of P in G. When the framework is used for a minimization problem, G is decomposed in such a way that every two “neighbor" k-outer planar subgraphs share “one-level" vertices. Baker shows that the framework gives a 2 O ( k ) n time ( 1 + 1 / k ) -approximation algorithm for the vertex cover problem in planar graphs and mentions that the framework can be applied to obtain 2 O ( k ) n time ( 1 + 1 / k ) -approximation algorithms for many other minimization problems, including the planar dominating set problem [9]. For a maximization problem like the independent set problem in planar graphs, Baker’s framework gives a 2 O ( k ) n time k / ( k + 1 ) -approximation algorithm.
We show that the approximation ratio of Baker’s framework is not bounded by any constant for the planar dominating set problem when two “neighbor" k-outer planar subgraphs share only “one-level" of vertices. To get a PTAS for the planar dominating set problem, the application of the framework has to be modified. We modify the application of the framework by decomposing G into k-outer planar subgraphs such that every two “neighbor" subgraphs share “two-levels" of vertices. Let O ( 2 c k n ) , c is a constant, be the running time of Baker’s framework with “one-level" of overlapping vertices for the planar dominating set problem. We show that the modified application of the framework gives a PTAS with approximation ratio ( 1 + 2 / k ) for the planar dominating set problem. By decomposing G into 2 k -outer planar subgraphs with “two-level" overlapping vertices, the modified PTAS achieves the approximation ratio ( 1 + 1 / k ) in O ( 2 2 c k n ) time.
In addition to the theoretical progresses in the algorithms for the dominating set problem, the practical performance of algorithms for the problem has received much attention. A computational study of an exact algorithm (FT algorithm) for the planar dominating set problem is reported in [21]. The study shows that the FT algorithm is practically efficient for graphs with small branchwidth. Heuristic algorithms for the dominating set problem have also been well investigated and a computational study of heuristic algorithms is reported in [22]. However, the practical performance of a PTAS is not known for the planar dominating set problem. One hurdle in evaluating the practical performance of a PTAS is the implementation of the algorithm. We conduct a computational study to evaluate the practical performance of the modified PTAS for the planar dominating set problem. In our implementation, the FT algorithm is used to compute an optimal partial solution in each k-outer planar subgraph. Our results show that the PTAS finds solutions with values very close to optimal in a practical time and much better than those given by well used heuristic algorithms. The computational study gives a concrete example on using a PTAS for solving important NP-hard problems in planar graphs and shows that the PTAS is practical for the planar dominating set problem. This work provides a tool for computing solutions close to optimal for the planar dominating set problem.
The next section gives preliminaries of the paper. In Section 3, we review Baker’s framework, show that the approximation ratio of the framework is not bounded by a constant with “one-level" of overlapping vertices for the planar dominating set problem, and modify the application of the framework to give a PTAS for the problem. In Section 4, we report the computational study results. The final section concludes the paper.

2. Preliminaries

A graph G consists of a set V ( G ) of vertices and a set E ( G ) of edges, where each edge e of E ( G ) is a subset of two elements from V ( G ) . For edge e = { u , v } E ( G ) , we say that vertices u and v are adjacent. The node degree of a vertex u is the number of vertices adjacent to u. Vertex u is dominated by vertex v if u and v are adjacent or u = v . Vertex u is dominated by a set D if u is dominated by a vertex of D. Edge e is covered by a vertex u if u e . For a subset U V ( G ) and a subset A E ( G ) , we denote by G [ U ] and G [ A ] the subgraphs of G induced by U and A, respectively. For a subset A E ( G ) , we denote by E ( G ) A by A ¯ when G is clear from the context. A separation of graph G is a pair ( A , A ¯ ) of subsets of E ( G ) . For each A E ( G ) , we denote by ( A ) the vertex set V ( A ) V ( A ¯ ) . The order of separation ( A , A ¯ ) is | ( A ) | = | ( A ¯ ) | .
A graph G is planar if G has a planar embedding (a draw on a sphere without edge crossing). We call a planar embedding of G a plane graph. A face of a plane graph G is a connected region of the sphere bounded by edges and vertices of G and containing no edge or vertex of G in its interior. For a plane graph G and a face f of G, let V G ( f ) be the set of vertices in V ( G ) incident to f. Given a plane graph G and a face f o (called outer face) of G, let V 1 = V G ( f o ) . For i 1 , let U i = j = 1 i V j , G i = G [ V ( G ) U i ] , f i be the face of G i such that f o f i , and V i + 1 = V G i ( f i ) . We call the vertices of V i level i vertices of G. Intuitively, G i is the plane graph obtained from removing vertices of levels 1 , 2 , , i from G. V i + 1 is the vertices of G i incident to the outer face of G i .
Branch-decomposition based algorithms play a central role in the PTAS studied in this paper. The notion of branch-decomposition is introduced by Robertson and Seymour [16]. A branch-decomposition of graph G is a pair ( ϕ , T ) where T is a tree each internal node of which has degree 3 and ϕ is a bijection from the set of leaves of T to E ( G ) . Consider a link e of T and let L 1 and L 2 denote the sets of leaves of T in the two respective subtrees of T obtained by removing e. We say that the separation ( ϕ ( L 1 ) , ϕ ( L 2 ) ) is induced by this link e of T. We define the width of the branch-decomposition ( ϕ , T ) to be the largest order of the separations induced by links of T. The branchwidth of G, denoted by bw ( G ) , is the minimum width of all branch-decompositions of G. In the rest of this paper, we identify a branch-decomposition ( ϕ , T ) with the tree T, regarding each leaf of T as an edge of G.
Given a branch-decomposition T of G, an optimization problem P in G may be solved by the dynamic programming method as follows: convert T into a rooted binary tree by replacing a link { x , y } of T with three links { x , z } , { y , z } , { z , r } , where z and r are new nodes to T, and r is the root of T. For a link e = { u , v } of T, assume u is the end node reachable from root r by passing through e. Let A e be the set of leaves of T reachable from r by passing through e. Link e = { u , v } is called a leaf link if u is a leaf node, otherwise an internal link. An internal link e has two child links e 1 and e 2 covered by u. Notice that A e = A e 1 A e 2 . For a leaf link e, all partial solutions of P in the subgraph G [ A e ] can be computed by enumeration. For an internal link e, assume that all partial solutions of P in the subgraph G [ A e 1 ] and those in G [ A e 2 ] have been computed. Then all partial solutions of P in the subgraph G [ A e ] are computed by merging the partial solutions in G [ A e 1 ] and those in G [ A e 2 ] . The merging process is performed in a bottom-up way, from each leaf link to the link { z , r } , to find an optimal solution of P in G.
The FT algorithm is a branch-decomposition-based algorithm for the planar dominating set problem. In FT Algorithm, the number of partial solutions in G [ A e ] is 3 | ( A e ) | . To compute a partial solution in G [ A e ] , every pair ( s 1 , s 2 ) is checked, where s 1 and s 2 are partial solutions in G [ A e 1 ] and G [ A e 2 ] , respectively. Notice that each of | ( A e ) | , | ( A e 1 ) | , | ( A e 2 ) | is at most the width of the given branch-decomposition T. When an optimal branch-decomposition T (of width bw ( G ) ) is given, the FT algorithm takes O ( 2 ( 3 log 4 3 ) bw ( G ) ) time and O ( 3 bw ( G ) γ ( G ) ) memory space to compute the partial solutions in G [ A e ] . A planar graph G can be reduced to a kernel of size O ( γ ( G ) ) in O ( n 3 ) time and there are O ( γ ( G ) ) merging steps for the kernel. An optimal branch-decomposition of the kernel can be computed in O ( ( γ ( G ) ) 3 ) time. The FT algorithm solves the planar dominating set problem in O ( 2 ( 3 log 4 3 ) bw ( G ) γ ( G ) + n 3 ) time [14]. For many other NP-hard problems, branch-decomposition-based algorithms usually have exponential time and memory space in the width of a given branch-decomposition. The exponential time and memory space are often a bottle-neck in applying branch-decomposition-based algorithms in practice.

3. PTAS for Planar Dominating Set Problem

3.1. Baker’s Framework for Minimization Problem

We review Baker’s PTAS framework for minimization problems. We define the terminology for describing the framework. Given a plane graph G with m levels of vertices, for integers 2 k < m and 2 s k + 1 , let r = ( m s ) / k . We define U ( 0 , s ) = j = 1 s V j ; U ( i , s ) = j = 0 k V ( i 1 ) × k + s + j for 1 i < r ; and U ( r , s ) = j = ( r 1 ) × k + s m V j . Then G [ U ( 0 , s ) ] is the plane subgraph of G induced by the vertices of G with levels 1 , , s and is s-outer planar; each G [ U ( i , s ) ] is the subgraph of G induced by the vertices of G with levels ( i 1 ) × k + s , , i × k + s and is ( k + 1 ) -outer planar for 1 i < r ; and G [ U ( r , s ) ] is the subgraph of G induced by the vertices of G with levels ( r 1 ) × k + s , , m and is t-outer planar, where t = m [ ( r 1 ) × k + s ] + 1 k + 1 . Below is Baker’s PTAS framework for minimization problems.
  • Let G be a plane graph with m levels of vertices for an outer face and k 2 be an integer. Compute the vertex sets V 1 , , V m .
  • for s = 2 , , k + 1
    (a)
    Compute subgraphs G [ U ( i , s ) ] for i = 0 , 1 , , r .
    (b)
    For every subgraph G [ U ( i , s ) ] , find an optimal solution S ( i , s ) by an exact algorithm.
    (c)
    Let S s = i = 0 r S ( i , s ) .
  • Let S be a set of S 2 , , S k + 1 with the minimum cardinality.
Baker [9] gives a proof that the above framework achieves a ( 1 + 1 / k ) -approximation ratio for the minimum vertex cover problem in plane graph G: find a minimum subset C of V ( G ) such that every edge of G is covered by a vertex in C. We review Baker’s proof of the approximation ratio for the vertex cover problem. This proof gives a base on our later argument for the planar dominating set problem.
Given a plane graph G, let C be a minimum vertex cover of G. Given integer k, let S ( i , s ) be a minimum vertex cover of G [ U ( i , s ) ] and let C ( i , s ) = C U ( i , s ) , s = 2 , , k + 1 and 0 i r . Since no vertex of G in V ( G ) U ( i , s ) covers any edge of G [ U ( i , s ) ] , C ( i , s ) is a vertex cover of subgraph G [ U ( i , s ) ] . From this and the fact that S ( i , s ) is a minimum vertex cover of G [ U ( i , s ) ] , | S ( i , s ) | | C ( i , s ) | . Therefore, S s = i = 0 r S ( i , s ) is a vertex cover of G and
| S s | i = 0 r | S ( i , s ) | i = 0 r | C ( i , s ) |
Since the vertices of V i × k + s appear in both subgraphs G [ U ( i , s ) ] and G [ U ( i + 1 , s ) ] , 0 i < r ,
i = 0 r | C ( i , s ) | = | C | + i = 0 r 1 | C V i × k + s |
Notice that
min s = 2 k + 1 { i = 0 r 1 | C V i × k + s | } | C | k
Let S be a S s with a minimum cardinality. Then from Inequalities (1), (2), and (3), we have | S | | C | + | C | k , that is, the solution produced by Baker’s framework has the approximation ratio ( 1 + 1 / k ) for the minimum vertex cover problem in planar graphs.

3.2. Modified Framework for Planar Dominating Set Problem

In [9], it is mentioned that the framework in the previous section can be applied to obtain a ( 1 + 1 / k ) -approximation algorithm for the planar dominating set problem. We show that this is not true. Recall that for the vertex cover problem, no vertex of G in V ( G ) U ( i , s ) can cover any edge of G [ U ( i , s ) ] . This implies that for a minimum vertex cover C, C ( i , s ) = C U ( i , s ) is a vertex cover of subgraph G [ U ( s , i ) ] and a minimum vertex cover S ( i , s ) of G [ U ( i , s ) ] has the property | S ( i , s ) | | C ( i , s ) | . However, for the planar dominating set problem, the intersection of a minimum dominating set of G and U ( i , s ) may not be a dominating set of G [ U ( i , s ) ] because a vertex of G in V ( G ) U ( i , s ) can dominate a vertex of G [ U ( i , s ) ] . More specifically, let D be a minimum dominating set of G, D ( i , s ) = D U ( i , s ) and S ( i , s ) be a minimum dominating set of G [ U ( i , s ) ] . Then D ( i , s ) may not be a dominating set of G [ U ( i , s ) ] and | S ( i , s ) | | D ( i , s ) | may not hold. Below we show by an example that the approximation ratio of the mentioned application of Baker’s framework is not bounded by any constant for the planar dominating set problem.
Let G be a plane graph with 4 levels of vertices shown in Figure 1. Let X i be the set of vertices of G with labels ( i , 1 ) , , ( i , x ) , 1 i 6 . The subgraph G [ X i ] is a chain and there is a unique vertex in G dominating all vertices of X i . For a large x, G has a unique minimum dominating set D with its six vertices shown as black squares in the figure. Let k = 2 . For s = 2 , the subgraphs G [ U ( 0 , 2 ) ] and G [ U ( 1 , 2 ) ] are shown in Figure 2 (a) and (b), respectively. Let D ( 0 , 2 ) = D U ( 0 , 2 ) . Then D ( 0 , 2 ) (the set of vertices denoted by black squares) is not a dominating set of G [ U ( 0 , 2 ) ] . On the other hand, a minimum dominating set S ( 0 , 2 ) of G [ U ( 0 , 2 ) ] contains a fraction of vertices in X 3 and | S ( 0 , 2 ) | > | D ( 0 , 2 ) | for large x = | X 3 | . Similarly, a minimum dominating set S ( 1 , 2 ) of G [ U ( 1 , 2 ) ] contains a fraction of vertices in X 2 and | S ( 1 , 2 ) | > | D ( 1 , 2 ) | . Let S 2 = S ( 0 , 2 ) S ( 1 , 2 ) . Then | S 2 | / | D | is not bounded by any constant for non-constant x.
Figure 1. A plane graph G with four levels of vertices.
Figure 1. A plane graph G with four levels of vertices.
Algorithms 06 00043 g001
Figure 2. (a) Subgraph G [ U ( 0 , 2 ) ] and (b) Subgraph G [ U ( 1 , 2 ) ] of G.
Figure 2. (a) Subgraph G [ U ( 0 , 2 ) ] and (b) Subgraph G [ U ( 1 , 2 ) ] of G.
Algorithms 06 00043 g002
For s = 3 , the subgraphs G [ U ( 0 , 3 ) ] and G [ U ( 1 , 3 ) ] are shown in Figure 3 (a) and (b), respectively. Then a minimum dominating set S ( 0 , 3 ) of G [ U ( 0 , 3 ) ] contains a fraction of vertices in X 4 and a minimum dominating set S ( 1 , 3 ) of G [ U ( 1 , 3 ) ] contains a fraction of vertices in X 5 . Let S 3 = S ( 0 , 3 ) S ( 1 , 3 ) . Then | S 3 | / | D | is not bounded by any constant for non-constant x = | X 4 | . Therefore, for a set S of S 2 and S 3 with the minimum cardinality, | S | / | D | is not bounded by any constant for non-constant x.
Figure 3. (a) Subgraph G [ U ( 0 , 3 ) ] and (b) Subgraph G [ U ( 1 , 3 ) ] of G.
Figure 3. (a) Subgraph G [ U ( 0 , 3 ) ] and (b) Subgraph G [ U ( 1 , 3 ) ] of G.
Algorithms 06 00043 g003
We modify the application of Baker’s framework to get a PTAS for the planar dominating set problem. The idea for the modification is that instead of decomposing G into ( k + 1 ) -outer planar subgraphs with two neighbor subgraphs G [ U ( i , s ) ] and G [ U ( i + 1 , s ) ] overlapping on one level of vertices, we decompose G into ( k + 2 ) -outer planar subgraphs with two neighbor subgraphs overlapping on two levels of vertices. For each subgraph, we find a minimum set which dominates only k levels of vertices in the subgraph. The formal modification is described below.
Let G be a plane graph with m levels of vertices. For integers 2 k < m and 2 s k + 1 , let r = ( m s ) / k . We define W ( 0 , s ) = j = 1 s V j ; W ( i , s ) = j = 1 k V ( i 1 ) × k + s + j for 1 i < r ; and W ( r , s ) = j = ( r 1 ) × k + s 1 m V j . G [ W ( 0 , s ) ] is the subgraph of G induced by the vertices of G with levels 1 , , s and is s-outer planar; each G [ W ( i , s ) ] is the subgraph of G induced by the vertices of G with levels ( i 1 ) × k + s 1 , , i × k + s and is ( k + 2 ) -outer planar for 1 i < r ; and G [ W ( r , s ) ] is the subgraph of G induced by the vertices of G with levels ( r 1 ) × k + s 1 , , m and is t-outer planar, where t = m [ ( r 1 ) × k + s ] + 2 k + 2 . We call the vertices of G [ W ( 0 , s ) ] with level s, the vertices of each subgraph G [ W ( i , s ) ] ( 1 i < r ) with levels ( i 1 ) × k + s 1 and i × k + s , and the vertices of G [ W ( r , s ) ] with level ( r 1 ) × k + s 1 the vertices on boundary; and call the other vertices the interior vertices.
  • Let G be a plane graph with m levels of vertices for an outer face and k 2 be an integer. Compute the vertex sets V 1 , , V m .
  • for s = 2 , , k + 1
    (a)
    Compute subgraphs G [ W ( i , s ) ] for i = 0 , 1 , , r .
    (b)
    For subgraph G [ W ( 0 , s ) ] , find a minimum subset S ( 0 , s ) of W ( 0 , s ) that dominates every vertex of j = 1 s 1 V j (every interior vertex).
    For every subgraph G [ W ( i , s ) ] , i = 1 , , r 1 , find a minimum subset S ( i , s ) of W ( i , s ) that dominates every vertex of j = ( i 1 ) × k + s i × k + s 1 V j (every interior vertex).
    For subgraph G [ W ( r , s ) ] , find a minimum subset S ( r , s ) of W ( r , s ) that dominates every vertex of j = ( r 1 ) × k + s m V j (every interior vertex).
    (c)
    Let S s = i = 0 r S ( i , s ) .
  • Let S be a set of S 2 , , S k + 1 with the minimum cardinality.
Theorem 3.1 The modified application of Baker’s framework gives an O ( 2 ( 6 log 4 3 ) ( k + 2 ) ) k n ) time ( 1 + 2 / k ) -approximation algorithm for the planar dominating set problem.
Proof: We first show the approximation ratio of the framework. Notice that S s = i = 0 r S ( i , s ) dominates every vertex of
( j = 1 s 1 V j ) [ i = 1 r 1 ( j = ( i 1 ) × k + s i × k + s 1 V j ) ] ( j = ( r 1 ) × k + s m V j ) = j = 1 m V j = V ( G )
that is, S s is a dominating set of G. Let D be a minimum dominating set of G and let D ( i , s ) = D W ( i , s ) , s = 2 , , k + 1 and 0 i r . Since no vertex of G in V ( G ) W ( i , s ) can dominate any interior vertex of G [ W ( i , s ) ] and D dominates every vertex of G, D ( i , s ) dominates every interior vertex of G [ W ( i , s ) ] . From this and the fact that S ( i , s ) is a minimum subset of W ( i , s ) dominating every interior vertex of G [ W ( i , s ) ] , | S ( i , s ) | | D ( i , s ) | . From this, we have
| S s | i = 0 r | S ( i , s ) | i = 0 r | D ( i , s ) |
Since the vertices of V i × k + s 1 and V i × k + s appear in subgraphs G [ W ( i , s ) ] and G [ W ( i + 1 , s ) ] , 0 i < r ,
i = 0 r | D ( i , s ) | | D | + i = 0 r 1 | D V i × k + s 1 | + | D V i × k + s |
Notice that
min s = 2 k + 1 { i = 0 r 1 | D V i × k + s 1 | + | D V i × k + s | } 2 | D | k
Let S be an S s with a minimum cardinality. Then from Inequalities (4), (5), and (6), we have | S | | D | + 2 | D | k . that is, the solution produced by the modified algorithm has the approximation ratio ( 1 + 2 / k ) for the planar dominating set problem.
Given a planar graph G, a planar embedding of G can be computed in linear time [23]. It is obvious that Step 1 and Step 3 can be computed in linear time. Step 2 (a) and (c) can be computed in O ( k n ) time. Recall that FT Algorithm (by Fomin and Thilikos [14]) is the most efficient known exact algorithm for the planar dominaing set problem. We use FT Algorithm for Step 2 (b). Given a graph G and a branch-decomposition of G with width β, FT Algorithm finds an optimal solution for the dominating set problem in O ( 2 ( 3 log 4 3 ) β n ) time. Each subgraph G [ W ( i , s ) ] is ( k + 2 ) -outer planar and has branchwidth at most 2 ( k + 2 ) . A branch-decomposition of G [ W ( i , s ) ] with width at most 2 ( k + 2 ) can be computed in linear time [24]. Each vertex of G appears in at most two subgraphs for a specific value s. Therefore, Step 2 (b) takes
s = 2 k + 1 i = 0 r O ( 2 ( 6 log 4 3 ) ( k + 2 ) | W ( i , s ) | ) = s = 2 k + 1 O ( 2 ( 6 log 4 3 ) ( k + 2 ) n ) = O ( 2 ( 6 log 4 3 ) ( k + 2 ) k n )
time which is the dominating part of the modified application’s running time. []
Notice that if G is decomposed into ( 2 k + 2 ) -outer planar subgraphs, the modified PTAS achieves the approximation ratio ( 1 + 1 / k ) and has running time O ( 2 ( 12 log 4 3 ) ( k + 1 ) k n ) .
We conclude this section by comparing the running time of the modified PTAS with that of the application of Baker’s framework in Section 3.1 for the planar dominating set problem. We assume that the most efficient FT Algorithm is used in Step 2 (b) of both algorithms. Assume that G is decomposed into ( k + 1 ) -outer planar subgraphs in Baker’s framework in Section 3.1. Then a branch-decomposition of G [ U ( i , s ) ] with width at most 2 ( k + 1 ) can be computed in linear time and Step 2 (b) takes
s = 2 k + 1 i = 0 r O ( 2 ( 6 log 4 3 ) ( k + 1 ) | U ( i , s ) | ) = O ( 2 ( 6 log 4 3 ) ( k + 1 ) k n )
time which is the dominating part of the framework’s running time. The constant in the exponent of the running time of the modified PTAS for the approximation ratio ( 1 + 1 / k ) is as twice as that of Baker’s framework in Section 3.1.

4. Computational Study of PTAS

We study the practical performance of the PTAS for the planar dominating set problem. The PTAS is implemented in C++ and its performance is tested for four different classes of graphs including the Delaunay triangulations of point sets taken from TSPLIB [25] (Class (1)), triangulations (Class (2)) and intersection graphs (Class (3)) generated by LEDA [26] and Gabriel graphs (Class (4)) generated using the points uniformly distributed in a two-dimensional plane. Those classes of graphs are well used in previous computational studies and the branchwidth of the graphs increases in the size of graphs (for classes of graphs with small branchwidth such as the maximal random planar graphs from LEDA [26], the FT algorithm can find optimal solutions efficiently [21] and thus they are not interesting in this study). The computer used for testing has an AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ (2.4 GHz) and 3 GByte of internal memory. The operating system is SUSE Linux 10.2.
We use the FT algorithm to compute an optimal solution for each ( k + 2 ) -outer planar subgraph. There are three major steps of FT Algorithm:
  • Compute a linear size kernel H of the subgraph using the O ( n 3 ) time kernelization algorithm by Alber et al. [12].
  • Compute an optimal branch-decomposition of H by the O ( n 3 ) time algorithm [17,18].
  • Find an optimal solution for H by dynamic programming based on the branch-decomposition of H and compute an optimal solution for the subgraph from the optimal solution for H.
Step 3 has exponential time complexity and memory complexity in the width of the branch-decomposition used, and is the dominating part in the running time and used memory of the FT algorithm. Thus we include the kernelization in the FT algorithm because, for a kernel H of a graph G, bw ( H ) bw ( G ) and it often happens that bw ( H ) < bw ( G ) for a kernel computed. Also, the effort for computing an optimal branch-decomposition reduces the running time and used memory in practice. For a planar graph G, the FT algorithm implemented runs in O ( 2 ( 3 log 4 3 ) bw ( H ) γ ( G ) + n 3 ) time and uses O ( 3 bw ( H ) γ ( G ) ) memory space. Readers may refer to [21] for more details on the practical performance of the FT algorithm.
Table Table 1 shows the computational results of the PTAS for the planar dominating set problem. For every instance, we calculate the approximated solutions for two different values of k, 3 and 4, and, for every value of k, we calculate the ( k + 2 ) -outer planar decomposition for every face of the instance. We choose the best value for an approximated solution. For some instances with small branchwidth, we also include the optimal solutions computed by the FT algorithm and reported in [21] in the column of ”Exact Alg.”. The size of a minimum dominating set of graph G, computed by the FT algorithm, is indicated by γ ( G ) in Table 1, and for every value of k, D P T A S is the size of dominating set computed by the PTAS. In the table, b w is the branchwidth of G, β is the branchwidth of a kernel H of G in the FT algorithm and the largest branchwidth of a kernel H of a ( k + 2 ) -outer planar subgraph in PTAS. The running time is in seconds. For two large instances rand16000 and rand20000, we only compute γ ( G ) but not the minimum dominating sets by the FT algorithm due to the memory constraint. These values of γ ( G ) are identified by “*”.
In order to compare the size of dominating sets obtained from the PTAS with the optimal solutions, we include some instances with small branchwidth for every class of graphs, such that a minimum dominating set can be computed by FT Algorithm. The Exact Alg. column shows the results of FT Algorithm reported in [21]. We use two values for k to decompose the instances into ( k + 2 ) -outer planar component. Notice that the branchwidth of every ( k + 2 ) -outer planar graph is at most 2 ( k + 2 ) . Hence, by increasing k the size of subgraphs and their branchwidth will increase. Theoretical results suggest that increasing k gives smaller approximated solutions for minimization problems. Our computing results confirm the theoretical analysis of the k-outer planar decomposition method. For example, for k = 4 , every instance can be decomposed into subgraphs with a branchwidth of at most 12. This is the largest value of branchwidth that can be processed on our computational platform in a practical time.
Since the theory of NP-completeness has reduced hopes that NP-hard problems can be solved in polynomial time, heuristic and approximation algorithms have attracted more attentions. These algorithms compute near optimal solutions within a reasonable time for problems of practical size. We compare the performance of the PTAS with the performance of three different heuristic algorithms introduced in [22] for the planar dominating set problem. In what follows we briefly explain these heuristic algorithms (for more details please refer to [22]).
In [22], six heuristic algorithms for the dominating set problem are studied. We test the performance of these six methods, but only report three of them with better performances. The three reported heuristics are described below. Let D be a dominating set computed by these heuristics.
Table 1. Computational results (time in seconds) of PTAS for the planar dominating set problem.
Table 1. Computational results (time in seconds) of PTAS for the planar dominating set problem.
Graph
G
|E(G)|bwExact Alg.k = 3k = 4
γ (G)βtimeDPTASβtimeDPTASβtime
(1)kroB150436102310102882.07---
pr29986411471137561011.42---
tsp2256221237121104695.21---
a28078813431333753108.40511212.09
rd400118317---751035.307412351.93
pcb442128617---791010.46781010.86
d657195822---1231064.8912012604.10
pr1002297221---19010115.65182121253.9
(2)tri20005977832171983617175.59---
tri4000119699653719037247733.06---
tri600017979997583576113681994.53---
tri8000239759128377750143072858.63---
tri100002997691606716495180474977.06---
tri110003297214---198785910.81958812341.1
tri120003597414---216475370.18213276865.08
tri140004197415---251478220.49243479208.72
tri160004796916---2920710060.12885712794.4
(3)rand600010293111563915016588104.85---
rand10000175781325351086928508535.8726929432.23
rand15000267171437581227694144101313.14---
rand1600028624134002*1359174379102443.274295112027.7
rand2000035975144963*14139935465104241.655368125017.02
rand250004037816---710186407.916632129470
(4)Gab50094913115122381361018.021291018.95
Gab6001174141351430741641026.051561022.10
Gab7001302141621457101871022.811831024.30
Gab800153317---2251051.822051224.30
Gab900175817---2431048.3923112344.50
Gab1000190118---2601049.6925912781.89
Gab1500287021---40210116.3738512960.71
Greedy: Initially, D is empty. In each iteration, a vertex which dominates a maximum number of vertices in V ( G ) D is added to D.
Greedy-Rev: Initially D = V ( G ) . In each iteration, a vertex is removed from D, such that the resulting set remains a dominating set of G. A vertex is chosen to be removed, by ordering the vertices of D in increasing node degree, and removing the first vertex that does not dominate any vertex uniquely.
Greedy-Vote: Initially, D is empty. This algorithm does not include a vertex u in D only based on the number of vertices which are dominated by u. It uses a more complex voting scheme to select a vertex to be included. We omit the details of the selection scheme and readers may refer to [22] for details.
Table 2. Computational results for heuristic algorithms and PTAS for the planar dominating set problem (time in seconds).
Table 2. Computational results for heuristic algorithms and PTAS for the planar dominating set problem (time in seconds).
Graph
G
|E(G)|γ(G)Greedy Alg.Greedy-Rev Alg.Greedy-Vote Alg.PTAS
DGrtimeDRevtimeDVotetimeDPTAStime
(1)kroB15043623270.002310.01310.002282.08
pr29986447540.003630.032620.0055611.42
tsp22562237490.153540.02500.003465.21
a28078843510.004620.025620.0065112.09
rd4001183-780.007920.032900.00974351.93
pcb4421286-760.908900.063870.017810.86
d6571958-1260.0161460.1281430.021120604.10
pr10022972-1900.0322360.3281940.041821253.9
(2)tri200059773213650.1163791.1194640.168361175.59
tri4000119696537290.1837651.7927870.544724733.06
tri60001797997511180.41811664.1413060.54111361994.53
tri800023975128314490.71515227.00316530.91814302858.63
tri1000029976160618191.117190611.52423021.57218044977.06
tri1100032972-20401.375211614.09234312.561195812341.1
tri1200035974-21861.607227816.53827412.24321326865.08
tri1400041974 25762.462266422.97633173.16324349208.72
tri1600047969-29172.839303330.69436844.005288512794.4
(3)rand600010293156319320.74821664.51729081.2061658104.85
rand1000017578253531972.06361813.3341642.8782692432.23
rand1500026717375846984.861540229.48772777.64141441313.14
rand16000286244002*50395.176574435.589755210.32742952027.7
rand20000359754963*62738.053716855.948857111.90353985017.02
rand2500045327-777212.467894291.0391186520.61566329470
(4)Gab5009491151460.0061730.0391600.00712918.95
Gab60011741351680.0071990.0511710.00915622.10
Gab70013021622000.012420.0722380.01218324.30
Gab8001533-2270.0122700.0973070.01920524.30
Gab9001758-2540.0163030.1033230.022231344.50
Gab10001901-2800.0193440.1464230.03259781.89
Gab15002870-4260.0425070.3354960.051385960.71
We study the performances of the above heuristic algorithms for the four classes of planar graphs that are used in the study of the PTAS. These heuristic algorithms are implemented in C++. Table 2 shows the computational results of these heuristic algorithms and the PTAS. In Table 2, D G r , D R e v , and D V o t e are the sizes of dominating sets computed by the heuristic algorithm Greedy, Greedy-Rev, and Greedy-Vote, respectively. For every graph instance, if the size of the instance allows the application of the FT algorithm, we include the size of the minimum dominating set of the instance, as well. For the PTAS, we include the best result D P T A S for every instance from Table 1. Time in the table is in seconds. The results in the table show that the heuristic algorithms are always faster than the PTAS. However, the size of dominating sets computed by the heuristics are larger than those by the PTAS for most of instances.
Based on our computational results, the Greedy algorithm gives the smallest dominating sets compared to other heuristic algorithms. Table 3 shows the results of our computational study for the FT algorithm, Greedy (the best heuristic method) and PTAS for graph instances whose branchwidths are small enough to run the FT algorithm.
Table 3. Computational results for Exact, Greedy and PTAS algorithms for small instances (time in seconds).
Table 3. Computational results for Exact, Greedy and PTAS algorithms for small instances (time in seconds).
Graph
G
|E(G)|Exact Alg.Greedy Alg.PTAS
γ(G)timeDGtimeDPTAStime
(1)kroB1504362310270.002282.08
pr2998644737540.0325611.42
tsp22562237110490.153465.21
a28078843337510.0045112.09
(2)tri200059773211983650.116361175.59
tri40001196965319037290.183724733.06
tri600017979975357611180.41811361994.53
tri8000239751283775014490.71514302858.63
tri100002997616061649518191.11718044977.06
(3)rand600010293156315019320.7481658104.85
rand1000017578253586931972.062692432.23
rand15000267273758276946984.86141441313.14
rand16000286244002*591750395.17642952027.7
rand20000359754963*1399362738.05353985017.02
(4)Gab5009491152381460.00612918.95
Gab6001174135*30741680.00715622.10
Gab7001302162*57102000.0118324.30
Since the branchwidth of graphs in Class(1) grow quickly in the size of graphs, we have only included small instances of this class in Table 3. From the results of the table, we recommend the FT algorithm for optimal solutions if the branchwidth of a graph in Class (1) is smaller than 14. For the instances of Class (2), FT Algorithm is time consuming. If the running time is the driving factor, we suggest the Greedy algorithm for this class of graphs. For the instances of Classes (3) and (4), as the results in Table 3 suggest, the sizes of dominating sets computed by Greedy are considerably bigger than those computed by the PTAS. Moreover, the FT algorithm is time consuming, rendering the PTAS a better choice. For instance, for graph instance rand20000 with 35,975 edges, the FT algorithm takes almost four hours to compute the size of an optimal dominating set (not the set itself), while the PTAS computes a dominating set of a slightly larger size than the optimal value in less than two hours.
Table 4 shows the computational results for the instances that the FT algorithm is not able to find an optimal solution in practical time and memory space. The computational results show that for all of these instances, except one, the D P T A S is smaller than D G r . In summary, for applications with running-time priority, Greedy is a better choice to compute an approximated dominating set, and if the running-time is not a big concern, the PTAS is a better option for instances whose optimal dominating set cannot be computed by the FT algorithm in a practical time.
Table 4. Computational results for Greedy and PTAS for large instances (time in seconds).
Table 4. Computational results for Greedy and PTAS for large instances (time in seconds).
Graph
G
|E(G)|Greedy Alg.PTAS
DGrtimeDPTAStime
(1)rd4001183780.00774351.93
pcb4421286760.9087810.86
d65719581260.016120604.10
pr100229721900.0321821253.9
(2)tri110003297220401.375195812341.1
tri120003597421861.60721326865.08
tri140004197425762.46224349208.72
tri160004796929172.839288512794.4
(3)rand2500045327777212.46766329470
(4)Gab80015332270.01220524.30
Gab90017582540.016231344.50
Gab100019012800.019259781.89
Gab150028704260.042385960.71

5. Concluding Remarks

It is mentioned that Baker’s k-outer planar graph decomposition framework can be applied to obtain a PTAS for the planar dominating set problem. We show that, in order to get a PTAS for the planar dominating set problem, the mentioned application needs some modification. We modify the application and give a PTAS for the planar dominating set problem. We also report a computational study on the modified PTAS. Computational studies on exact algorithms and heuristic algorithms for the planar dominating set problem have already been conducted, but no report on PTAS has yet been given. Our study on the PTAS makes the computational study of planar dominating set problem more comprehensive. For larger k, the PTAS gives better solutions, but is more time/memory consuming. Due to the computation platform limitation, we only evaluated the PTAS for small k. It would be interesting to test the practical performances of the PTAS for larger k on more powerful computation platforms. The practical performances of PTASes for other optimization problems in planar graphs are worth investigation.
The authors thank the anonymous reviewers for their constructive comments.

Acknowledgements

The authors thank the anonymous reviewers for their constructive comments.

References

  1. Berge, C. Graphs and Hypergraphs; American Elsevier: New York, NY, USA, 1973. [Google Scholar]
  2. Liu, C. Introduction to Combinatorial Mathematics; McGraw-Hill: New York, NY, USA, 1963. [Google Scholar]
  3. Norman, R.; Harary, F.; Cartwright, D. Structural Models: An Introduction to the Theory of Directed Graphs; Wiley: Weinheim, Germany, 1966. [Google Scholar]
  4. Haynes, T.W.; Hedetniemi, S.T.; Slater, P.J. Domination in Graphs. In Monographs and Textbooks in Pure and Applied Mathematics; Marcel Dekker: New York, NY, USA, 1998. [Google Scholar]
  5. Haynes, T.W.; Hedetniemi, S.T.; Slater, P.J. Fundamentals of Domination in Graphs. In Monographs and Textbooks in Pure and Applied Mathematics; Marcel Dekker: New York, NY, USA, 1998. [Google Scholar]
  6. Garey, M.R.; Johnson, D.S. Computers and Intractability, a Guide to the Theory of NP-Completeness; Freeman: New York, NY, USA, 1979. [Google Scholar]
  7. Johnson, D.S. Approximation algorithms for combinatorial problems. J. Comput. Syst. Sci 1974, 9, 256–278. [Google Scholar] [CrossRef]
  8. Fiege, U. A threshold of ln n for approximating set cover. J. ACM 1998, 45, 634–652. [Google Scholar] [CrossRef]
  9. Baker, B.S. Approximation algorithms for NP-complete problems on planar graphs. J. ACM 1994, 41, 153–180. [Google Scholar] [CrossRef]
  10. Downey, R.G.; Fellows, M.R. Parameterized Complexity. In Monographs in Computer Science; Springer-Verlag: Berlin/Heidelberg, Germany, 1999. [Google Scholar]
  11. Fomin, F.V.; Grandoni, F.; Kratch, D. Some new techniques in design and analysis of exact (exponential) algorithms. Bull. EATCS 2005, 87, 47–77. [Google Scholar]
  12. Alber, J.; Fellows, M.R.; Niedermeier, R. Polynomial time data reduction for dominating set. J. ACM 2004, 51, 363–384. [Google Scholar] [CrossRef]
  13. Alber, J.; Bodlaender, H.L.; Fernau, H.; Kloks, T.; Niedermeier, R. Fixed parameter algorithms for dominating set and related problems on planar graphs. Algorithmica 2002, 33, 461–493. [Google Scholar] [CrossRef]
  14. Fomin, F.V.; Thilikos, D.M. Dominating sets in planar graphs: Branch-width and exponential speed-up. SIAM J. Comput. 2006, 36, 281–309. [Google Scholar] [CrossRef]
  15. Kanj, I.A.; Perkovic, L. Improved Parameterized Algorithms for Planar Dominating Set. In Proceedings of the 27th Mathematical Foundations of Computer Science. LNCS 2420, Warsaw, Poland, Augaust, 2002; pp. 399–410.
  16. Robertson, N.; Seymour, P.D. Graph minors X. Obstructions to tree decomposition. J. Comb. Theory Ser. B 1991, 52, 153–190. [Google Scholar] [CrossRef]
  17. Gu, Q.; Tamaki, H. Optimal branch-decomposition of planar graphs in O(n3) time. ACM Trans. Algorithm 2008, 4, 30:1–30:13. [Google Scholar] [CrossRef]
  18. Seymour, P.D.; Thomas, R. Call routing and the ratcatcher. Combinatorica 1994, 14, 217–241. [Google Scholar] [CrossRef]
  19. Fomin, F.V.; Thilikos, D.M. New upper bounds on the decomposability of planar graphs. J. Graph Theory 2006, 51, 53–81. [Google Scholar] [CrossRef]
  20. Dorn, F. Dynamic Programming and Fast Matrix Multiplication. In Proceedings of the 14th Annual European Symposium on Algorithms (ESA2006) LNCS 4168, Zurich, Switerland, September, 2006; pp. 280–291.
  21. Marzban, M.; Gu, Q.; Jia, X. Computational study on planar dominating set problem. Theor. Comput. Sci. 2009, 410, 5455–5466. [Google Scholar] [CrossRef]
  22. Sanchis, L.A. Experimental analysis of heuristic algorithms for the dominating set problem. Algorithmica 2002, 33, 3–18. [Google Scholar] [CrossRef]
  23. Hopcroft, J.; Tarjan, R. Efficient planarity testing. J. ACM 1974, 21, 549–568. [Google Scholar] [CrossRef]
  24. Tamaki, H. A linear Time Heuristic for the Branch-decomposition of Planar Graphs. In Proceedings of the 11th Annual European Symposium, Budapest, Hungary, 16–19 September 2003; pp. 765–775.
  25. Reinelt, G. TSPLIB-A traveling salesman library. ORSA J. Comput. 1991, 3, 376–384. [Google Scholar] [CrossRef]
  26. Library of Efficient Data Types and Algorithms, Version 5.2. Available online: http://www.algorithmic-solutions.com/leda/index.html (accessed on 1 July 2007).

Share and Cite

MDPI and ACS Style

Marzban, M.; Gu, Q.-P. Computational Study on a PTAS for Planar Dominating Set Problem. Algorithms 2013, 6, 43-59. https://doi.org/10.3390/a6010043

AMA Style

Marzban M, Gu Q-P. Computational Study on a PTAS for Planar Dominating Set Problem. Algorithms. 2013; 6(1):43-59. https://doi.org/10.3390/a6010043

Chicago/Turabian Style

Marzban, Marjan, and Qian-Ping Gu. 2013. "Computational Study on a PTAS for Planar Dominating Set Problem" Algorithms 6, no. 1: 43-59. https://doi.org/10.3390/a6010043

APA Style

Marzban, M., & Gu, Q. -P. (2013). Computational Study on a PTAS for Planar Dominating Set Problem. Algorithms, 6(1), 43-59. https://doi.org/10.3390/a6010043

Article Metrics

Back to TopTop