In the past 20 years, the connected dominating set (CDS) as a virtual backbone network has been widely used in the wireless networks. Many researchers have been devoted to designing approximate algorithms for CDS problem since constructing the minimum CDS (MCDS) is NP-hard problem. Different from the most existing algorithms with two phases, we employ greedy strategy to design a centralized algorithm GR_CDS in only one phase to get MCDS, with the time complexity of . Afterwards, another algorithm P_CDS is designed for pruning redundant nodes in the obtained MCDS with the time complexity of .
1. Introduction
Wireless networks are widely used in many fields [1] such as environment monitoring, disaster forecast, battlefield detection, traffic control, and disease diagnosis. In recent years, CDS as the virtual backbone network in wireless ad hoc and wireless sensor networks (WSNs) has attracted more and more attention of researchers, since the CDS can prolong the lifetime of the wireless network, optimize the energy consumption, transfer data fast, and so forth. Further, how to minimize the size of the CDS is a significant research direction.
In wireless networks, each node can only communicate with neighbors and its computing capacity is finite. Therefore, the nodes need to cooperate with each other to complete an overall task. If a node wants to transfer information to other nodes outside of the transmitting range (i.e., the destination has multiple hops away from it), a backbone network is needed to transmit the messages effectively. Once the backbone network is constructed, all nodes can communicate with other nonneighbor nodes through intermediate nodes in the backbone network. Therefore, the nodes that are not in the backbone network can sleep intermittently or shut off for saving energy consumption.
It was verified that CDS is an optimal selection as a backbone network for transferring messages [2, 3]. In wireless networks, CDS as a virtual backbone network was first proposed [4]. Beyond that, CDS has many practical applications such as topology control [5], routing [6], and broadcasting [7]. In addition to the size of CDS, our goal is to design an optimization algorithm for considering other algorithm performance indexes such as CDS size, throughput size, time complexity, and message complexity.
In this paper, assume that the algorithm is executed in wireless network and the nodes are deployed on a two-dimensional plane. The topology of the network is modeled with a unit disk graph (UDG) , where V represents the set of nodes in the network and E represents the collection of the network link. And assume that each node has a unique and its maximum transmission range is R. In addition, if node u is in the maximum transmission range of node v, we think that there is an undirected link between u and v, which is the undirected edge between u and v on graph G. Let be the neighbor set of node v and let be the degree of node v. And let be the maximum degree of the graph.
Let be the original network topology and DS is a subset of set V in graph G. For arbitrary node , if node v is not in set , there is at least a neighbor node of v in set . For any two nodes , if there exists a path that can make them connected by other intermediate nodes which belongs to set , then we denote set as CDS. We just need to store the routing information into the nodes in the CDS, which can route messages as soon as quickly. It is clear that the smaller the size of the CDS is, the faster the messages are transmitted and the less the energy consumption of the node is. Therefore, it is important to construct the minimum CDS (MCDS). Unfortunately, it was proved that the MCDS problem was NP-complete [8]. Hence, most of researchers have been devoted to designing approximate algorithm for constructing the MCDS.
In this paper, we propose a greedy centralized GR_CDS algorithm with the time complexity of . Afterwards, we put forward an algorithm P_CDS to prune redundant nodes in CDS with the time complexity of , which can remove all of the redundant nodes from the obtained CDS eventually.
2. Related Work
2.1. Related Network Model and Notations
In order to minimize the size of CDS, we devoted to designing approximate algorithm to obtain CDS by the approximation factor , which is as little as possible. In many cases, however, we need to consider the other performance parameters such as the diameter of CDS, communication consumption of nodes.
As a critical performance index, the size of CDS has attracted more attention of researchers. For constructing CDS as virtual backbone networks in wireless network, Guha and Khuller [9] proposed two heuristic centralized algorithms. The fist algorithm firstly put up all nodes are transformed into white. And the white node with the maximum number of neighbors is selected to be colored black, and all its white neighbors are marked gray. Finally, they formed CDS by all black nodes. The approximation ratio of the algorithm is . The second algorithm is divided into two phases. The first stage is to delete redundant nodes of graph as many as possible. The second phase is to build a Steiner tree for constructing CDS. And it was proved that the approximation ratio is . Afterwards, two distributed versions of algorithms in [10, 11] were proposed by Das et al. Then Wu and Li proposed a distributed algorithm [12] to construct a CDS based on two-hop information of neighbors. For arbitrary node in the network, it is added to CDS if there are two nonadjacent neighbors, and all redundant nodes are moved from the network. When topology of network contains complete subgraphs, however, the algorithm cannot execute successfully. In [13], Wan et al. proved that the approximation ratio of [12] is , and they proved that the approximation ratio of any MIS is in the unit disk graph (i.e., ), where is the optimal set of CDS. Afterwards, they proposed a distributed algorithm to construct CDS in unit disk graph. In the first phase, they constructed a spanning tree and obtained with the method of searching nodes layer by layer. Later, they constructed a dominating tree whose internal nodes can consist of CDS with performance ratio and the time complexity and message complexity of , respectively, where opt is the size of optimal solution of CDS and n is the number of nodes in the network. In [14], Funke et al. proved that the approximation ratio of MIS is by analyzing the coverage area of nodes, and they got CDS with the approximation ratio of 6.9. In [15] and [16], Li et al. and Das et al., respectively, proposed different distributed algorithm of approximation ratio . All of these algorithms first construct and then obtain CDS by connecting the nodes through some connectors.
Except the size of CDS, communication consumption of nodes is also an important performance index. It not only involves the energy consumption but also contains the time consumption in communication cost, which are related to the number of hops. Then reducing the number of hops is the most effective way to increase the transmission range. However, the battery power of nodes in backbone requires higher volume. So more and more researchers have been devoted to studying the routing efficient CDS [17–20]. At the same time, the works about minimizing the diameter of CDS are gradually being taken seriously. An algorithm [21] is proposed for constructing CDS with the small diameter, which guaranteed that not only is the diameter of acquired CDS limited to (where is the diameter of the MCDS), but also the size of CDS is limited to . Additionally, some other research facets such as k-connected m-dominating set [22], weakly-dominating set [23], and k-hop [24] have also attracted much attention by researchers.
3. Algorithm GR_CDS
In this section, we propose a greedy centralized GR_CDS algorithm with time complexity of for constructing MCDS. The pseudocode of the algorithm is described as algorithm GR_CDS (Greedy Redundant Connected Dominating Set).
In this paper, three states of a node are represented by colors white, black, and gray. Initially, all nodes are remarked white, also called initial state. A global parameter count (its initial value is n, i.e., the number of nodes) is a parameter that is to record the current number of white nodes. We first choose node v with the maximum degree among all neighbors as the initial node of the CDS and it turns into black and all of its neighbors are colored gray. Irrespective of the color of node v, the value of the parameter count substracts 1. And for any node , node v is removed from set ; that is, . Then all the nodes in are white. As long as the value of count is greater than 0, each time we select gray node v that has the largest number of white neighbor nodes among all gray nodes as a new node in the CDS and it is marked black and all its white neighbors turn into gray. When two or more gray nodes have the same number of white neighbors and the number of adjacent white nodes is more than others, we choose the biggest one as a new element of CDS. The operations are performed iteratively until all nodes are colored to either black or gray.
The result description of constructing operation of CDS is shown in Figure 1 with executing algorithm GR_CDS (Algorithm 1). At first, node 6 is colored black because it has the maximum degree among all neighbor nodes. Then, nodes 1, 3, 7, 8, and 9 are colored gray since they are neighbors of node 6. Afterward, node 8 is colored black since it has the largest number of white neighbors among all gray nodes. As well, its white neighbors 4 and 5 are colored gray. By the same token, nodes 5 and 4 are colored black.
Algorithm 1: Algorithm GR_CDS.
Input:
Output: CDS
() ;
() Select a node with the maximum degree among all nodes in ;
() ;
() ;
() For each node
() ;
() End for
() For each node
() ;
() End for
() For each gray node u
For each gray node
End for
() End for
() While do
() Select a gray node v with the largest number of white neighbors among all gray nodes;
() ;
() ;
() For each node
() ;
() ;
() End for
() For each gray node u
() For each gray node
() ;
() End for
() End for
() End while
() For all nodes in V
() If then
()
() End if
() End for
Example showing CDS construction.
Lemma 1.
CDS is a correct connected dominating set.
Proof.
Let us use deduction to prove that set CDS is a connected dominating set. Assume that and node cannot connect with other nodes in the CDS, where cds is the number of nodes in CDS. Then node is colored black and all its neighbors are colored gray. According to the algorithm, when node is white, there must exist one of gray nodes at least has one white neighbor; that is, the value of count is not 0. Therefore, one of its neighbors must become black, which means that each black node has a path to connect other nodes in CDS. The result conflicts with the hypothetic premises. If CDS is divided into two parts, there must exist two local sets CDSi and CDSj such that there are at most three hops between node and node .
Theorem 2.
The time complexity of the algorithm is .
Proof.
Firstly, a node is selected which has the maximum node degree as the beginning of the algorithm and the time of ordering all the nodes needs . Secondly, for each neighbor node, the operation time of deleting the colored neighbor nodes requires . Thirdly, due to the initial value of n, the execution time of the while loop is n. Fourthly, in the interior of the cycle, we define gray node v with the largest number of white neighbors as a new node in the CDS; thus the time required for sorting all gray nodes is . At last, for each neighbor node, when node v is changed into black, the operation time of deleting the colored neighbor nodes requires . As a result, the time complexity of constructing the CDS is .
4. Algorithm P_CDS
In this section, we design algorithm P_CDS (Pruning for CDS) with time complexity which is to delete the redundant nodes from the obtained CDS with algorithm GR_CDS, aiming at making the CDS smaller.
The pseudocode of the algorithm is shown in algorithm P_CDS (Algorithm 2). Firstly, it is a preparation of making a judge on each node . Node v is colored gray if all its gray neighbor nodes are connected with other black nodes, and there is still a linked path between all its black nodes when the node v is deleted. In this way, some redundant black nodes can be removed from the CDS, and the rest of the CDS is denoted as CCDS (Concise CDS). After executing the algorithm P_CDS, the final CCDS is shown in Figure 1(f).
Algorithm 2: Algorithm P_CDS.
() Input:
() Output: CCDS
() CCDS = CDS
() For each node
() If each node such that node u is black or u has another black neighbor in CCDS, then
() Delete v from CCDS;
() If any two black neighbors of node v has a path by nodes in CCDS, then
()
() Else
()
() End if
() End if
() End for
Lemma 3.
Set CCDS is a correct CDS.
Proof.
As proof in by Lemma 1, set is a CDS. According to the algorithm, when all the neighbor nodes of node are connected with , either node v is the cut point which is connecting two black nodes or it becomes the redundant black nodes, since node v must be adjacent to the black nodes at least. After deleting node v, if there is still an adjacent path between any two black nodes, node v is not the cut point. That is, v is the redundant node. So the set CCDS is a correct CDS.
Theorem 4.
The time complexity of the algorithm P_CDS is .
Proof.
As the number of nodes in the set is less than . So the number of nodes in is less than or equal to . For each node , it needs to judge whether all the neighbor nodes connect with other nodes in . The convenient way is to judge the biggest degree of the network Δ. After deleting node v from the , the operation of judging whether the set is connected needs the time of . Therefore, the time complexity of the algorithm P_CDS is .
5. Conclusion
Traditionally, most existing algorithms have two phases. The first phase is to construct maximal independent set (MIS) as dominating set (DS). The second is to construct a Steiner tree for connecting nodes in DS through adding to connectors. In this paper, a new algorithm GR_CDS with greedy strategy is proposed to get a relatively optimal size of the CDS, and the time complexity of the algorithm is . Further, an algorithm P_CDS is developed to make the CDS smaller, with the time complexity of . It reduces the size of the CDS algorithm effectively, sacrificing some performance of time.
Footnotes
Competing Interests
The authors declare that they have no competing interests.
Acknowledgments
This work was supported by GRRC Program of Gyeonggi Province (GRRCSUWON2015-B1) Cooperative Recognition and Response System Based on Tension Sensing; also Shandong Provincial Natural Science Foundation, China (ZR2014FL022); Ph.D. Research Foundation of Linyi University (LYDX2015BS020); and the National Natural Science Foundation (61173079 and 61472163) of China.
References
1.
BlumJ.DingM.ChengX.Applications of connected dominating sets in wireless networksHandbook of Combinatorial Optimization200442329369
2.
WanP.-J.AlzoubiK. M.FriederO.Distributed construction of connected dominating set in wireless ad hoc networksMobile Networks and Applications20049214114910.1023/B:MONE.0000013625.87793.132-s2.0-1642408650
3.
ChengX.HuangX.LiD.WuW.DuD.-Z.A polynomial-time approximation scheme for the minimum-connected dominating set in ad hoc wireless networksNetworks. An International Journal200342420220810.1002/net.10097MR2016521ZBL1031.050922-s2.0-2142846003
4.
EphremiDesA.WieselthierJ. E.BakerD. J.A design concept for reliable mobile radio networks with frequency hopping signalingProceedings of the IEEE1987751567310.1109/proc.1987.137052-s2.0-0023092944
5.
DebB.BhatnagarS.NathB.Multi-resolution state retrieval in sensor networksProceedings of the 1st IEEE International Workshop on Sensor Network Protocols and Applications (SNPA '03)May 2003Anchorage, AK, USA192910.1109/snpa.2003.12033532-s2.0-84942424052
6.
DiW.YanQ.NingT.Connected dominating set based hybrid routing algorithm in ad hoc networks with obstaclesProceedings of the IEEE International Conference on Communications (ICC '06)July 20064008401310.1109/icc.2006.2557082-s2.0-42549136516
7.
IqbalA.AhmedN.AkbarM. M.Directional antenna based connected dominating set construction for energy efficient broadcasting in wireless ad hoc networkProceedings of the International Conference on Computer and Electrical Engineering (ICCEE '08)December 200883984310.1109/iccee.2008.1402-s2.0-62949194326
8.
ClarkB. N.ColbournC. J.JohnsonD. S.Unit disk graphsDiscrete Mathematics1990861–316517710.1016/0012-365x(90)90358-oMR10885692-s2.0-0000839639
9.
GuhaS.KhullerS.Approximation algorithms for connected dominating setsAlgorithmica199820437438710.1007/pl00009201MR1600830
10.
DasB.SivakumarR.BharghavanV.Routing in ad hoc networks using a spineProceedings of the 6th International Conference on Computer Communications and NetworksSeptember 1997Las Vegas, Nev, USAIEEE3439
11.
DasB.BharghavanV.Routing in ad-hoc networks using minimum connected dominating setsProceedings of the IEEE International Conference on Communications (ICC '97)June 1997Montreal, Canada37638010.1109/ICC.1997.6053032-s2.0-0030689578
12.
WuJ.LiH.On calculating connected dominating set for efficient routing in ad hoc wireless networksProceedings of the 3rd International Workshop on Discrete Algorithms and Methods for Mobile Computing and Communications (DIALM '99)August 1999Seattle, Wash, USA71410.1145/313239.313261
13.
WanP.-J.AlzoubiK. M.FriederO.Distributed construction of connected dominating set in wireless ad hoc networksProceedings of the 21st Annual Joint Conference of the IEEE Computer and Communications Societies (INFOCOM '02)June 2002New York, NY, USA1597160410.1109/INFCOM.2002.10194112-s2.0-0036346466
14.
FunkeS.KesselmanA.MeyerU.SegalM.A simple improved distributed algorithm for minimum CDS in unit disk graphsACM Transactions on Sensor Networks20062344445310.1145/1167935.11679412-s2.0-33750323316
15.
LiY.ThaiM. T.WangF.YiC.-W.WanP.-J.DuD.-Z.On greedy construction of connected dominating sets in wireless networksWireless Communications and Mobile Computing20055892793210.1002/wcm.3562-s2.0-29144524581
16.
DasA.MandalC.ReadeC.AasawatM.An improved greedy construction of minimum connected dominating sets in wireless networksProceedings of the IEEE Wireless Communications and Networking Conference (WCNC '11)March 2011Cancún, Mexico79079510.1109/wcnc.2011.57792332-s2.0-79959304191
17.
KimD.WuY.LiY.ZouF.DuD.-Z.Constructing minimum connected dominating sets with bounded diameters in wireless networksIEEE Transactions on Parallel and Distributed Systems200920214715710.1109/tpds.2008.74
18.
DingL.WuW.WillsonJ.DuH.LeeW.DuD.-Z.Efficient algorithms for topology control problem with routing cost constraints in wireless networksIEEE Transactions on Parallel and Distributed Systems201122101601160910.1109/tpds.2011.302-s2.0-80052324399
19.
DuH.YeQ.WuW.LeeW.LiD.DuD.HowardS.Constant approximation for virtual backbone construction with Guaranteed Routing Cost in wireless sensor networksProceedings of the IEEE International Conference on Computer Communications (INFOCOM '11)April 2011Shanghai, China1737174410.1109/infcom.2011.59349672-s2.0-79960877514
20.
LuZ.WuL.PardalosP. M.MaslovE.LeeW.DuD.-Z.Routing-efficient CDS construction in disk-containment graphsOptimization Letters20148242543410.1007/s11590-012-0590-5MR31632782-s2.0-84893753844
21.
LiY.KimD.ZouF.DuD.-Z.Constructing connected dominating sets with bounded diameters in wireless networksProceedings of the 2nd Annual International Conference on Wireless Algorithms, Systems, and Applications (WASA '07)August 2007Chicago, Ill, USA899410.1109/wasa.2007.1482-s2.0-46849094526
22.
AhnN.ParkS.An optimization algorithm for the minimum k-connected m-dominating set problem in wireless sensor networksWireless Networks201521378379210.1007/s11276-014-0819-62-s2.0-84940008528
23.
DuH.WuW.ShanS.KimD.LeeW.Constructing weakly connected dominating set for secure clustering in distributed sensor networkJournal of Combinatorial Optimization201223230130710.1007/s10878-010-9358-yMR2886303ZBL1242.901922-s2.0-84858866273
24.
YangH.-Y.LinC.-H.TsaiM.-J.Distributed algorithm for efficient construction and maintenance of connected k-hop dominating sets in mobile ad hoc networksIEEE Transactions on Mobile Computing20087444445710.1109/tmc.2007.707362-s2.0-39749135443