solving -barrier coverage problem using modified...

13
Research Article Solving -Barrier Coverage Problem Using Modified Gravitational Search Algorithm Yanhua Zhang, 1,2 Xingming Sun, 1 and Zhanke Yu 3 1 Nanjing University of Information Science & Technology, Nanjing, China 2 Jiangsu Lightning Protection Center, Nanjing, China 3 College of Communications Engineering, PLA University of Science and Technology, Nanjing, China Correspondence should be addressed to Xingming Sun; [email protected] Received 28 December 2016; Revised 11 March 2017; Accepted 30 March 2017; Published 3 May 2017 Academic Editor: Dan Simon Copyright ยฉ 2017 Yanhua Zhang et al. is is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. Coverage problem is a critical issue in wireless sensor networks for security applications. e -barrier coverage is an e๏ฌ€ective measure to ensure robustness. In this paper, we formulate the -barrier coverage problem as a constrained optimization problem and introduce the energy constraint of sensor node to prolong the lifetime of the -barrier coverage. A novel hybrid particle swarm optimization and gravitational search algorithm (PGSA) is proposed to solve this problem. e proposed PGSA adopts a -barrier coverage generation strategy based on probability and integrates the exploitation ability in particle swarm optimization to update the velocity and enhance the global search capability and introduce the boundary mutation strategy of an agent to increase the population diversity and search accuracy. Extensive simulations are conducted to demonstrate the e๏ฌ€ectiveness of our proposed algorithm. 1. Introduction Recently, interest in wireless sensor networks (WSNs) in numerous applications has increased considerably. e con- nection of physical things to the Internet makes it possible to access remote sensor data and to control the physical world from a distance [1]. is capability is a critical issue for security applications, such as border surveillance, forest ๏ฌres monitoring, and intruding enemy planes detection [2โ€“ 6]. ree categories of the coverage problem exist in the literature [7, 8]: target coverage [9โ€“15], area coverage [16โ€“23], and barrier coverage [24โ€“30]. Unlike the full coverage, barrier coverage does not necessarily cover the whole region in the WSNs. Barrier coverage of the WSNs aims to detect the intruders attempting to cross the regions of interest. It requires forming a chain of overlapping sensors across the whole regions of interest from le๏ฌ… to right. In [31], barrier coverage is classi๏ฌed into two categories: weak barrier coverage and strong barrier coverage. Weak barrier coverage only requires detecting intruders moving along congruent crossing paths, and strong barrier coverage requires detecting intruders with arbitrary moving paths. Figure 1 shows the two kinds of barrier coverage. In this paper, we address the barrier coverage formation problem for strong barrier coverage. e -barrier coverage refers to all crossing paths through the region that is -covered. A crossing path can be covered by at least distinct sensors [32]. e WSNs are said to be fault tolerant if they remain functional a๏ฌ…er a failure of up to โˆ’1 sensors. erefore, -barrier coverage is an e๏ฌ€ective measure to ensure robustness. To achieve -barrier coverage, the disjoint chain of overlapping sensors must be formulated in the WSNs. However, a๏ฌ…er the initial random deployment, in general, the -barrier coverage cannot be satis๏ฌed. Recent technological advances in practical mobile sensors allowed sensor nodes to have the ability to improve barrier coverage performance a๏ฌ…er sensor networks had been deployed. Meanwhile, the development of detection technology improves the detection level of sensor in WSNs [33โ€“35]. Hindawi Mathematical Problems in Engineering Volume 2017, Article ID 1206129, 12 pages https://doi.org/10.1155/2017/1206129

Upload: others

Post on 06-Jan-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Solving -Barrier Coverage Problem Using Modified ...downloads.hindawi.com/journals/mpe/2017/1206129.pdfย ยท ResearchArticle Solving ๐‘˜-Barrier Coverage Problem Using Modified Gravitational

Research ArticleSolving ๐‘˜-Barrier Coverage Problem Using ModifiedGravitational Search Algorithm

Yanhua Zhang,1,2 Xingming Sun,1 and Zhanke Yu3

1Nanjing University of Information Science & Technology, Nanjing, China2Jiangsu Lightning Protection Center, Nanjing, China3College of Communications Engineering, PLA University of Science and Technology, Nanjing, China

Correspondence should be addressed to Xingming Sun; [email protected]

Received 28 December 2016; Revised 11 March 2017; Accepted 30 March 2017; Published 3 May 2017

Academic Editor: Dan Simon

Copyright ยฉ 2017 Yanhua Zhang et al. This is an open access article distributed under the Creative Commons Attribution License,which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Coverage problem is a critical issue in wireless sensor networks for security applications. The ๐‘˜-barrier coverage is an effectivemeasure to ensure robustness. In this paper, we formulate the ๐‘˜-barrier coverage problem as a constrained optimization problemand introduce the energy constraint of sensor node to prolong the lifetime of the ๐‘˜-barrier coverage. A novel hybrid particle swarmoptimization and gravitational search algorithm (PGSA) is proposed to solve this problem.The proposed PGSA adopts a ๐‘˜-barriercoverage generation strategy based on probability and integrates the exploitation ability in particle swarm optimization to updatethe velocity and enhance the global search capability and introduce the boundary mutation strategy of an agent to increase thepopulation diversity and search accuracy. Extensive simulations are conducted to demonstrate the effectiveness of our proposedalgorithm.

1. Introduction

Recently, interest in wireless sensor networks (WSNs) innumerous applications has increased considerably. The con-nection of physical things to the Internet makes it possibleto access remote sensor data and to control the physicalworld from a distance [1]. This capability is a critical issuefor security applications, such as border surveillance, forestfires monitoring, and intruding enemy planes detection [2โ€“6]. Three categories of the coverage problem exist in theliterature [7, 8]: target coverage [9โ€“15], area coverage [16โ€“23],and barrier coverage [24โ€“30].Unlike the full coverage, barriercoverage does not necessarily cover the whole region inthe WSNs. Barrier coverage of the WSNs aims to detectthe intruders attempting to cross the regions of interest. Itrequires forming a chain of overlapping sensors across thewhole regions of interest from left to right.

In [31], barrier coverage is classified into two categories:weak barrier coverage and strong barrier coverage. Weakbarrier coverage only requires detecting intruders moving

along congruent crossing paths, and strong barrier coveragerequires detecting intruders with arbitrary moving paths.Figure 1 shows the two kinds of barrier coverage. In this paper,we address the barrier coverage formation problem for strongbarrier coverage.

The ๐‘˜-barrier coverage refers to all crossing paths throughthe region that is ๐‘˜-covered. A crossing path can be coveredby at least ๐‘˜ distinct sensors [32]. The WSNs are said to befault tolerant if they remain functional after a failure ofup to ๐‘˜ โˆ’ 1 sensors. Therefore, ๐‘˜-barrier coverage is aneffective measure to ensure robustness. To achieve ๐‘˜-barriercoverage, the ๐‘˜ disjoint chain of overlapping sensors must beformulated in the WSNs. However, after the initial randomdeployment, in general, the ๐‘˜-barrier coverage cannot besatisfied. Recent technological advances in practical mobilesensors allowed sensor nodes to have the ability to improvebarrier coverage performance after sensor networks hadbeen deployed. Meanwhile, the development of detectiontechnology improves the detection level of sensor in WSNs[33โ€“35].

HindawiMathematical Problems in EngineeringVolume 2017, Article ID 1206129, 12 pageshttps://doi.org/10.1155/2017/1206129

Page 2: Solving -Barrier Coverage Problem Using Modified ...downloads.hindawi.com/journals/mpe/2017/1206129.pdfย ยท ResearchArticle Solving ๐‘˜-Barrier Coverage Problem Using Modified Gravitational

2 Mathematical Problems in Engineering

Congruent crossing path

(a) Weak barrier coverage

Arbitrary moving path

(b) Strong barrier coverage

Figure 1: Two kinds of barrier coverage.

There are many challenging issues in the ๐‘˜-barrier cov-erage because WSNs have their own characteristics [25].First, there are a large number of sensor nodes in WSNs,and building large-scale models has always been a technicaldifficulty. Second, sensor nodes have limited energy andprocessing capacities and are influenced by the surround-ing environment and irregular terrain. Third, moving themobile sensors to build the ๐‘˜-barrier coverage costs a lot ofenergy; therefore, we aim to move the sensor nodes as fewas possible. Considering the above reasons, we study the ๐‘˜-barrier coverage problem in hybrid sensor networks, whichconsist of both stationary and mobile sensors. After initialdeployment with stationary sensors, barrier coverage gener-ally cannot be satisfied. In this paper, wemovemobile sensorsto repair barrier gaps and form ๐‘˜-barrier coverage. In WSNs,relocating the mobile sensors to repair such gaps requiresconsiderable energy. An issue to be addressed is ensuring thatthe number of relocated sensors is as few as possible. There-fore, we investigated how to form ๐‘˜-barrier coverage with aminimum number of mobile sensors that need to be moved.In this paper, we formulate the ๐‘˜-barrier coverage problem asa constrained optimization problem in large-scale WSNs.

For large-scale constrained optimization problems, theclassical optimization algorithms cannot provide a suitablesolution because the search space is increasing exponentiallywith problem size. Many new types of algorithms, such asintelligence algorithm and heuristic algorithm, have beenproposed. Gravitational search algorithm (GSA) is one of thelatest heuristic optimization algorithms, which is based onNewtonโ€™s law of gravity and mass interactions [36]. GSA hasbeen proven to have high-quality performance in solvingdifferent optimization problems [37โ€“39]. It can speed up thesolution process by adjusting the accuracy of the search withgravitational constant. Furthermore, GSA is memoryless andworks efficiently similar to algorithms with memory. How-ever, in solving complex constrained problems, GSA maybe easily trapped into local optimums. To enhance the globaloptimum ability and escape from local optimal solution, anewly modified GSA called hybrid particle swarm optimiza-tion and gravitational search algorithm (PGSA) is developedin this paper. PGSA integrates the ability to exploit in particleswarm optimization (PSO) with the ability to explore inGSA to synthesize both algorithmsโ€™ strength. In PGSA, thevelocity updating is adjusted to improve the search accuracy,and agent boundary mutation strategy is introduced toincrease the agent diversity and improve the convergence ofthe algorithm significantly. Simulation experiments were per-formed to evaluate the proposed algorithm performance.Thenumerical results demonstrate that the proposed algorithm

provides very remarkable results for solving ๐‘˜-barrier cover-age problem.

Our main contributions are summarized as follows:

(i) To the best of our knowledge, we are the first to applythe GSA algorithm to solve the ๐‘˜-barrier coverageproblem. At the same time, we are the first to proposethe encoding strategy based on probability and ๐‘˜-barrier coverage generation strategy by introducingthe vertex-splitting method.

(ii) We formulate the ๐‘˜-barrier coverage into constraintoptimization problem and first propose the energyconstraint of sensor node to prolong the lifetime ofthe ๐‘˜-barrier coverage.

(iii) We propose the newly modified GSA (PGSA), whichadjusts the velocity updating by integrating the abilityto exploit in PSO to enhance the global searchcapability and introduce agent boundary mutationstrategy to increase population diversity and searchaccuracy.

The rest of the paper is organized as follows: in Sec-tion 2, we briefly introduce the existing related works. InSection 3, preliminaries and the standard GSA algorithm areintroduced. Section 4 presents our algorithm design. Thesimulation and comparison study are presented in Section 5.Finally, the paper is concluded in Section 6.

2. Related Works

Kumar et al. [31] first defined the notion of ๐‘˜-barrier coverageand proposed two notions of barrier coverage in a belt region:weak barrier coverage and strong barrier coverage. They alsopresented a critical condition forweak barrier coverage. Liu etal. [40] derived critical conditions and presented a solutionfor strong barrier coverage when sensor nodes are distributedaccording to a Poisson point process. Bereg and Kirkpatrick[41] studied the redundant properties of ๐‘˜-barrier coverageand defined two notions of thickness and resilience. Thethickness of the barrier counts the minimum number of sen-sor region intersections. The resilience of the barrier countsthe minimum number of sensors whose removal permits apath with no sensor region intersections. In [42], Zhang etal. studied strong barrier coverage problem in wireless sensornetworkswith directional sensors.They presented an efficientcentralized algorithm and a distributed algorithm to solvethe barrier coverage problem. Sun et al. [43] proposed anovel algorithm to solve themultiobjective optimization cov-erage problem. The novel algorithm improves the quality of

Page 3: Solving -Barrier Coverage Problem Using Modified ...downloads.hindawi.com/journals/mpe/2017/1206129.pdfย ยท ResearchArticle Solving ๐‘˜-Barrier Coverage Problem Using Modified Gravitational

Mathematical Problems in Engineering 3

A B

s t

C DE

(a) Sensor deployment

s

A

t

B

CD

E

23

61 4

2

13

1 2

2 4

6

3 0

1

25

63

(b) Weighted barrier graph (WBG)

Figure 2: Deployment and WBG of sensors.

network coverage and extends the life cycle of the networksignificantly. In [44], they presented a novel linear program-ming optimization coverage scheme inWSNs.This algorithmimproves the coverage and network quality of service andextends the network lifetime effectively. Silvestri and Goss[45] proposed an autonomous deployment algorithm namedMobiBar to construct ๐‘˜-barrier coveragewithmobile sensors.In [46], they studied the question of barrier coverage of a line-based sensor deployment strategy and concentrated on theefficiency of improving barrier using sensor mobility. Duet al. [47]. aim at prolonging the barrier lifetime under anovel ๐‘˜-discrete barrier coveragemodel in terms of the sensormobility of the mobile sensors participated.

Recently, many evolutionary and heuristic algorithmshave been employed to solve coverage-related problems [48โ€“59]. Zhang et al. [48] proposed an integer linear program-ming (ILP) formulation for the barrier coverage problem.They investigated how mobile sensors can be efficientlyrelocated to achieve ๐‘˜-barrier coverage and construct anILP model with a totally unimodular constraint coefficientmatrix to solve the barrier coverage problem. Gupta et al. [53]proposed a genetic algorithm (GA) to solve the coverage andconnectivity issues in ๐‘˜-barrier coverage problem. Theyattempted to find the potential positions for placing sensornodes so that it will fulfill the ๐‘˜-coverage of the targets andm-connectivity of the sensor nodes. A learning automata-based method had been introduced in [54]. They formulateda barrier coverage model based on stochastic coverage graphand then proposed a learning automata-basedmethod to finda near-optimal solution to the stochastic barrier coverageproblem. A neural network algorithm is proposed to solve thesensor node fault detection issues and coverage problemsin [55]. They presented a dynamic model of WSNs and itsapplication to sensor node fault detection. Liao et al. [56] usedthe ant colony optimization (ACO) algorithm to solve thecoverage problem and maximize the lifetime of the network.Theymodeled the deployment problem as multiple knapsackproblems and evaluated the improvement of the energy useproblem in sensor networks using the area coverage.The sim-ulations showed that the algorithm was effective in the cov-erage problem and could prolong the lifetime of the network.Huang and Li [57] focused on the problems of the coverage

optimization method based on artificial fish swarm algo-rithm. They established a mathematical model to solve theoptimization coverage problems and used the artificial fishswarmalgorithm to search an optimal solution in the solutionspace by simulating fish swarm behaviors. Maleki et al. [59]presented a PSO algorithm to solve the optimized coverageproblem using a hybrid PSO and differential evolution (DE)in WSNs. The results of the simulation show that PSO algo-rithm is efficient in the lifetime of the network.

3. Preliminaries and Problem Formulations

3.1. Preliminaries. In this section, some definitions, assump-tions, and preliminaries for the proposed method to guar-antee the ๐‘˜-barrier coverage in the network are introduced.We assumed that the๐‘ sensors with omnidirectional motionare randomly deployed in a two-dimensional rectangular beltarea with a size of ๐ฟ ร— ๐‘Š. The location information of eachsensor can be known through a localization mechanism. Weassume that each mobile sensor can move anywhere in thebelt area without being limited by energy constraints.

Definition 1 (weighted barrier graph (WBG)). Wang et al.[25] introduced a novel graph model of the weighted barriergraph (WBG).They definedWBGas a triple โŸจ๐‘‰, ๐ธ,๐‘ŠโŸฉ, where๐‘‰ is a set of sensors nodes ๐‘‰ = {๐‘ , V1, V2, . . . , V๐‘›, ๐‘ก}. In theset ๐‘‰, ๐‘  and ๐‘ก are two virtual nodes and correspond to theoriginal node and definition node, respectively (Figure 2(b)).๐ธ = ๐‘’(๐‘ข, V), ๐‘ข, V โˆˆ ๐‘‰, is the link from sensor ๐‘ข to V. ๐‘Š ={๐‘ค(๐‘ข, V)} is the set of weight of each edges. ๐‘‘(๐‘ข, V), ๐‘ข, V โˆˆ ๐‘‰,is the distance between two sensors ๐‘ข and V.

Definition 2 (the weight of edges ๐‘ค(๐‘ข, V)). We define theweight of edges ๐‘ค(๐‘ข, V) as the minimum number of sensorsthat need to be relocated to connect the two vertices. ๐‘ค(๐‘ข, V)can be calculated as follows:

๐‘ค (๐‘ข, V) = โŒˆ๐‘‘ (๐‘ข, V)๐‘™๐‘Ÿ โŒ‰ , (1)

where ๐‘‘(๐‘ข, V) is the distance between two sensors ๐‘ข and V. ๐‘™๐‘Ÿis the largest coverage range of a sensor.

Page 4: Solving -Barrier Coverage Problem Using Modified ...downloads.hindawi.com/journals/mpe/2017/1206129.pdfย ยท ResearchArticle Solving ๐‘˜-Barrier Coverage Problem Using Modified Gravitational

4 Mathematical Problems in Engineering

Figure 2(a) shows sensors randomly deployed in the two-dimensional belt region. Figure 2(b) shows the weightedbarrier graph. In Figure 2(b), each pair of sensors is linkedexcept ๐‘  and ๐‘ก. ๐‘ค(๐ท, ๐ธ) = 0 presents that sensors ๐ท and ๐ธintersect with each other. ๐‘ค(๐ถ,๐ท) = 2 presents that sensors๐ถ and๐ท are disjoint from each other, and two sensors shouldbe added to repair the barrier gap.

Lemma 3. Any path from the original node ๐‘  to the definitionnode ๐‘ก on the WBG is a barrier composed of the initiallydeployed stationary sensors and mobile sensors. The length ofthe barrier is the number of mobile sensors required to form thebarrier coverage.

Proof. Suppose we choose a path from ๐‘  to ๐‘ก in WBG andplace the exact number of mobile sensors to fill the gaps ofthe path.Then, the initially deployed sensors are connected tothe mobile sensors; therefore, a barrier is formed. The lengthof the barrier is equivalent to the sum of the weights on thepath.

To explain better Lemma 3, the path in Figure 2(b) is usedas an example. The length of the path ๐‘  โ†’ ๐ถ โ†’ ๐ท โ†’ ๐ธ โ†’ ๐‘กin Figure 2(b) is 4, which means that 4 mobile sensors arerequired to form the barrier along the path. There are threegaps on the path: ๐‘  โ†’ ๐ถ, ๐ถ โ†’ ๐ท, and๐ธ โ†’ ๐‘ก, which require 1,2, and 1 mobile sensors to fill, respectively.

Lemma 4. The minimum number of mobile sensors requiredto be moved to form the ๐‘˜ sensor-disjoint barriers is equivalentto finding the minimum total length of ๐‘˜-sensors disjoint pathson the WBG.

Proof. Based on Lemma 3, the length of a barrier is the num-ber of mobile sensors required to form the barrier coverage.Therefore, finding the minimum number of mobile sensorsto form the ๐‘˜ sensor-disjoint barriers is equivalent to findingthe minimum total length of ๐‘˜-sensors disjoint paths onthe WBG.

3.2. Problem Formulation. Based on Lemma 4, after deploy-ing the stationary sensors, the problem to find a minimumnumber of mobile sensors to form the ๐‘˜ sensor-disjoint bar-riers is transformed to find theminimum total length of the ๐‘˜sensor-disjoint paths on the WBG. Considering a topologyin WBG, each link is denoted by ๐‘ค(๐‘ข, V). Introducing thevariable ๐‘ฆ๐‘ขV๐‘™, let ๐‘ฆ๐‘ขV๐‘™ = 1 if ๐‘ค(๐‘ข, V) is on the ๐‘™th barrier;otherwise, ๐‘ฆ๐‘ขV๐‘™ = 0. The problem can be defined as aconstrained optimization problem as follows [48]:

min๐‘˜

โˆ‘๐‘™=1

โˆ‘(๐‘ข,V)โˆˆ๐ธ

๐‘ค (๐‘ข, V) ๐‘ฆ๐‘ขV๐‘™

Subject to for ๐‘™ = 1, 2, . . . ๐‘˜, โˆ€๐‘ข โˆˆ ๐‘‰.(2)

โˆ‘{V|(๐‘ข,V)โˆˆ๐ธ}

๐‘ฆ๐‘ขV๐‘™ โˆ’ โˆ‘{V|(V,๐‘ข)โˆˆ๐ธ}

๐‘ฆV๐‘ข๐‘™ = 1,

for ๐‘ข = ๐‘ (3)

โˆ‘{V|(๐‘ข,V)โˆˆ๐ธ}

๐‘ฆ๐‘ขV๐‘™ โˆ’ โˆ‘{V|(V,๐‘ข)โˆˆ๐ธ}

๐‘ฆV๐‘ข๐‘™ = 0,

โˆ€๐‘ข โˆˆ ๐‘‰ \ {๐‘ , ๐‘ก}(4)

โˆ‘{V|(๐‘ข,V)โˆˆ๐ธ}

๐‘ฆ๐‘ขV๐‘™ โˆ’ โˆ‘{V|(V,๐‘ข)โˆˆ๐ธ}

๐‘ฆV๐‘ข๐‘™ = โˆ’1,

for ๐‘ข = ๐‘ก(5)

๐ธ๐‘– โ‰ฅ ๐ธmin, ๐‘– โˆˆ ๐‘‰๐‘ฆ๐‘ขV๐‘™ โˆˆ {0, 1} , (๐‘ข, V) โˆˆ ๐ธ (6)

The objective function of (2) denotes the minimum num-ber of mobile sensors required to form the sensor-disjoint ๐‘˜-barrier coverage. Every sensor-disjoint barrier from a sourcenode ๐‘  to a destination node ๐‘ก should satisfy the constraintsin (3)โ€“(5). As sensor nodes operate on limited battery power,energy usage is a very important concern inWSNs.When oneof the sensors in the barrier is depleted of energy, the barrierwill be broken. Therefore, when we choose the stationarysensors to construct the barrier, the energy of each stationarysensor ๐ธ๐‘– must satisfy the constraint of (6), where ๐ธmindenotes the minimum energy at a stationary sensor nodebattery for it to be operational.

3.3. GSA Algorithm. GSA is a novel stochastic search algo-rithm developed by Rashedi et al. [36]. In this paper, a newoptimization algorithm based on the law of gravity and massinteractions is introduced. In the GSA, agents have beenconsidered as objects whose performance is measured bytheir masses. All these agents attract every other mass with aforce, which is the โ€œgravitational force,โ€ and this force causesthe agents to be attracted by agents with heavier masses.Specifically, the heaviest agent presents the optimum solutionand other agents will be attracted by it. The GSA can beconsidered in a system with๐‘ agents as follows:

๐‘‹๐‘– = (๐‘‹1๐‘– , . . . , ๐‘‹๐‘‘๐‘– , . . . , ๐‘‹๐ท๐‘– ) for ๐‘– = 1, 2, . . . , ๐‘, (7)

where ๐‘‹๐‘‘๐‘– presents the position of the ๐‘–th agent in the ๐‘‘thdimension.

At a specific time, the โ€œgravitational forceโ€ acts on the ๐‘–thagent from the ๐‘—th agent. We can denote this force as follows:

๐น๐‘‘๐‘–๐‘— (๐‘ก) = ๐บ (๐‘ก)๐‘€๐‘๐‘– (๐‘ก) ร— ๐‘€๐‘Ž๐‘— (๐‘ก)

๐‘…๐‘–๐‘— + ๐œ€ ร— (๐‘‹๐‘‘๐‘— (๐‘ก) โˆ’ ๐‘‹๐‘‘๐‘– (๐‘ก)) , (8)

where ๐บ(๐‘ก) is the gravitational constant at the special time ๐‘ก.๐‘…๐‘–๐‘—(๐‘ก) is the Euclidean distance between agents at time ๐‘ก, and ๐œ€is a small constant to ensure that the value of the denominatoris not zero.๐‘€๐‘Ž๐‘— and๐‘€๐‘๐‘– are the active gravitational mass ofthe ๐‘—th agents and the passive gravitational mass of the ๐‘–thagents, respectively.

Based on [36], inGSA, themass of each agent is calculatedafter computing the current population fitness. The equality

Page 5: Solving -Barrier Coverage Problem Using Modified ...downloads.hindawi.com/journals/mpe/2017/1206129.pdfย ยท ResearchArticle Solving ๐‘˜-Barrier Coverage Problem Using Modified Gravitational

Mathematical Problems in Engineering 5

Node ID 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

Node probability P1 P2 P3

(a) Agent encoding method based on probability

Node ID 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

Node probability 29 78 19 33 49 28 65 17 6 9 31 22 11 21 38 36 44 48 52

(b) Probabilities of the nodes of the agent

Figure 3: Agent encoding strategy for barrier coverage problem.

Node ID 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

Node probability 29 78 19 33 49 28 65 17 6 9 31 22 11 21 38 36 44 48 52 36 22

201 202 203

Figure 4: Vertex-splitting technique.

of the gravitational and inertial masses has been assumed byGSA; hence, we can update (9) as follows:

๐‘€๐‘Ž๐‘– = ๐‘€๐‘๐‘– = ๐‘€๐‘–๐‘– = ๐‘€๐‘–๐‘€๐‘– (๐‘ก) = ๐‘š๐‘– (๐‘ก)

โˆ‘๐‘›๐‘—=1๐‘š๐‘— (๐‘ก) ,(9)

where๐‘š๐‘–(๐‘ก) is measured as

๐‘š๐‘– (๐‘ก) = fit (๐‘ก) โˆ’ worst (๐‘ก)best (๐‘ก) โˆ’ worst (๐‘ก) . (10)

In (10), fit(๐‘ก) represents the fitness value of the ๐‘–th agentat time ๐‘ก. worst(๐‘ก) and best(๐‘ก) are given as follows:

best (๐‘ก) = min๐‘—โˆˆ{1,2,...,๐‘}

fit๐‘— (๐‘ก) (11)

worst (๐‘ก) = max๐‘—โˆˆ{1,2,...,๐‘}

fit๐‘— (๐‘ก) . (12)

To compute the acceleration of an agent, the total forcesfrom a set of heavier masses applied on the ๐‘–th agent shouldbe considered based on a combination of the law of gravityand the second law of Newton [36] on motion:

๐‘Ž๐‘‘๐‘– (๐‘ก) = ๐น๐‘‘๐‘– (๐‘ก)๐‘€๐‘– (๐‘ก) , (13)

where the total force ๐น๐‘‘๐‘– (๐‘ก) applied on the ๐‘–th agent couldbe calculated as (14), and rand๐‘— is uniform random in theinterval [0, 1].

๐น๐‘‘๐‘– (๐‘ก) =๐‘

โˆ‘๐‘—=1,๐‘— =๐‘–

rand๐‘— ร— ๐น๐‘‘๐‘–๐‘— (๐‘ก) . (14)

Furthermore, the next velocity of an agent is calculated asa fraction of its current velocity added to its acceleration (see(15)), where rand๐‘– is a random variable in the interval [0, 1]and can ensure the random characteristic to the GSA.

๐‘‰๐‘‘๐‘– (๐‘ก + 1) = rand๐‘– ร— ๐‘‰๐‘‘๐‘– (๐‘ก) + ๐‘Ž๐‘‘๐‘– (๐‘ก) . (15)

Finally, the agentโ€™s position could be updated using

๐‘‹๐‘‘๐‘– (๐‘ก + 1) = ๐‘‹๐‘‘๐‘– (๐‘ก) + ๐‘‰๐‘‘๐‘– (๐‘ก + 1) . (16)

4. The Proposed Hybrid PSO and GSAAlgorithm (PGSA)

GSA is one of the metaheuristic algorithms that search forthe global optimum in large-scale networks. However, the ๐‘˜-barrier coverage problem can be formulated as a constrainedoptimization problem for its constraint and particular struc-ture. Given this issue, it cannot be solved by the GSA forits own limitations, such as easy trapping into local optimaand slow convergence. Thus, we introduce a new GSA calledPGSA to solve this problem.We discuss the modified steps ofthe GSA in following sections subsequently.

4.1. Initial Population

4.1.1. Agent Encoding Strategy. The most difficult problemin applying GSA to the ๐‘˜-barrier coverage problem is howto encode a barrier into an agent in GSA. We investigatedrelevant studies and proposed the agent encoding methodbased on the probability for the barrier coverage problemas follows. Figure 3 illustrates the agent encoding strategy.Each node in the agent represents a sensor. We assumethat 20 sensors of the agent are randomly deployed in themonitoring area, and nodes 1 and 20 are the original node anddefinition node, respectively. In Figure 3(a), {๐‘ƒ1, ๐‘ƒ2, ๐‘ƒ3, . . .}are the probabilities of the nodes to be chosen to generatethe barrier, which are randomly generated in [1, 100]. Giventhat each barrier starts with the initial node, the selectionprobability is not set for the initial node.

4.1.2. Vertex-Splitting Technique. To construct the ๐‘˜-barriercoverage, we introduce the vertex-splitting technique. Wesplit the destination node ๐‘ก into ๐‘˜ splitting node, that is,{๐‘ก1, ๐‘ก2, . . . , ๐‘ก๐‘˜}. Then, we generate the probability value ofthe splitting t, {๐‘ƒ1, ๐‘ƒ2, . . . , ๐‘ƒ๐‘˜}. As shown in Figure 4, we

Page 6: Solving -Barrier Coverage Problem Using Modified ...downloads.hindawi.com/journals/mpe/2017/1206129.pdfย ยท ResearchArticle Solving ๐‘˜-Barrier Coverage Problem Using Modified Gravitational

6 Mathematical Problems in Engineering

Node ID 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

Node probability 29 78 19 33 49 28 65 17 6 9 31 10 11 21 38 30 44 48 52 36 22

201 202 203

(a) Barrier 1: 1 โ†’ 3 โ†’ 8 โ†’ 201

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

29 19 33 49 28 17 6 9 31 10 11 21 38 30 44 48 36 22

Node ID

Node probability

201 202 203

(b) Barrier 2: 1 โ†’ 6 โ†’ 19 โ†’ 18 โ†’ 16 โ†’ 202Node ID 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

Node probability 29 19 33 28 17 6 9 31 10 11 21 30 22

201 202 203

(c) Barrier 3: 1 โ†’ 12 โ†’ 17 โ†’ 2 โ†’ 7 โ†’ 203

Figure 5: Agent ๐‘˜-barrier coverage generation.

split the destination node 20 into 3 splitting nodes, thatis, {201, 202, 203}, and generate the probability value of thesplitting node 20, {52, 36, 22}.

4.1.3. Barrier Coverage Generation Strategy. The barrier isconstructed by the node selecting strategy beginning with thesource node and terminating at the destination node. Nodeswith high probability are selected in turn until reaching thedestination. In Figure 3(b), the node with maximum proba-bility, that is, node 3 (probability value is 78), is selected tobe added to the barrier. Then, node 3 is removed fromFigure 3(b) and node 8 is selected for its highest probability.The steps are repeated until destination node 20 is reached;then, a complete barrier {1 โ†’ 3 โ†’ 8 โ†’ 20} is obtained.

4.1.4. ๐‘˜-Barrier Coverage Generation Strategy. To constructthe ๐‘˜-barrier coverage, we first split the destination node๐‘ก into ๐‘˜ splitting node using the vertex-splitting techniquein Section 4.1.2. Second, we construct the ๐‘˜-barrier cover-age using the barrier coverage generation strategy in Sec-tion 4.1.4.

To explain further the ๐‘˜-barrier coverage generationstrategy, consider the 3-barrier coverage of the agent inFigure 5 as an example. Using the barrier coverage generationstrategy, the node with maximum probability, that is, node 3(probability value is 78), is selected to be added to barrier 1.Then, node 3 is removed from Figure 5(a) and node 8 isselected for its highest probability.The steps are repeated untilthe destination node 201 is reached.Then, barrier 1 {1 โ†’ 3 โ†’8 โ†’ 201} is obtained. After constructing barrier 1, node 3,node 8, and node 201 are already removed from Figure 5(b).Repeating the steps in constructing barrier 1, the node withmaximumprobability, that is, node 6 (probability value is 49),is selected to be added to barrier 2 in Figure 5(b). Then, node6 is removed from Figure 5(b) and node 19 is selected forits highest probability. The steps are repeated until thedestination node 202 is reached. Then, barrier 2 {1 โ†’ 6 โ†’19 โ†’ 18 โ†’ 16 โ†’ 202} is constructed. In the same manner,in Figure 5(c), barrier 3 {1 โ†’ 12 โ†’ 17 โ†’ 2 โ†’ 7 โ†’ 203} isconstructed by the node selecting strategy, beginningwith thesource node 1 and terminating at the destination node 203.

4.2. Fitness Function. The length of the ๐‘˜-barrier can be usedas the fitness function, where the smaller the total lengthof the ๐‘˜-barrier coverage, the better the solution. Consideringthemodel ofWBG, each link is denoted by๐‘ค(๐‘ข, V). Introduc-ing the variable ๐‘ฆ๐‘ขV๐‘™, let ๐‘ฆ๐‘ขV๐‘™ = 1 if๐‘ค(๐‘ข, V) is on the ๐‘™th barrier;otherwise, ๐‘ฆ๐‘ขV๐‘™ = 0. The fitness function can be calculated asfollows:

fit =๐‘˜

โˆ‘๐‘™=1

โˆ‘(๐‘ข,V)โˆˆ๐ธ

๐‘ค (๐‘ข, V) ๐‘ฆ๐‘ขV๐‘™. (17)

The fitness function (17) denotes that the smaller thefitness value, the less the number of sensors needed torelocate, the better the solution.

4.3. Gravitational Constant. The gravitational constant ๐บ(๐‘ก)is a function of the initial value (๐บ0) and decreases as timepasses. ๐บ(๐‘ก) is formulated as follows:

๐บ (๐‘ก) = ๐บ0 (๐‘’โˆ’๐›ฝ(๐‘ก/๐‘‡)) , (18)

where ๐บ0 and ๐›ฝ are constant values, and ๐บ0 and ๐›ฝ are setto 100 and 20, respectively. ๐‘‡ and ๐‘ก are the current and totalnumber of iterations.

4.4. Updating the Agentโ€™s Velocity. In solving complex prob-lems, GSA may be easily trapped into local optima. Toenhance the global optimum ability to escape from the localoptimal solution, the idea of saving previous local optimumsolution and global optimum solution from PSO is adoptedinto GSA. Our ๐‘˜-barrier coverage problem uses a new set ofequations for updating the agent velocities. Therefore, (15)is modified as (19). Where ๐‘1 and ๐‘2 are positive constants,๐‘1 adjusts the step-size of the particle flying to local optimalposition and ๐‘2 adjusts the step-size of the particle flying toglobal optimum position; ๐‘๐‘๐‘’๐‘ ๐‘ก๐‘– and ๐‘”๐‘๐‘’๐‘ ๐‘ก represent thebest previous position of the ๐‘–th agent and the best previousposition among all particles in the population, respectively.The hybrid PSO and GSA algorithm combine the localsearch ability of GSA with the social thinking ability ofPSO. Through the simulation and comparative performanceevaluation in Section 5, we can conclude that the hybrid algo-rithm successfully escapes from the local optimal solution

Page 7: Solving -Barrier Coverage Problem Using Modified ...downloads.hindawi.com/journals/mpe/2017/1206129.pdfย ยท ResearchArticle Solving ๐‘˜-Barrier Coverage Problem Using Modified Gravitational

Mathematical Problems in Engineering 7

and obtain a solution close to the global optimum in the large-scale WSNs.

๐‘‰๐‘‘๐‘– (๐‘ก + 1) = rand0 ร— ๐‘‰๐‘‘๐‘– (๐‘ก) + ๐‘1 ร— rand1

ร— (๐‘๐‘๐‘’๐‘ ๐‘ก๐‘‘๐‘– (๐‘ก) โˆ’ ๐‘ฅ๐‘‘๐‘– (๐‘ก))+ ๐‘2rand2 (๐‘”๐‘๐‘’๐‘ ๐‘ก๐‘‘ (๐‘ก) โˆ’ ๐‘ฅ๐‘‘๐‘– (๐‘ก)) + ๐‘Ž๐‘‘๐‘– (๐‘ก) .

(19)

4.5. Agent Boundary Mutation. GSA is an optimizationmethod based onNewtonโ€™s second law; therefore, the positionof the agent may be beyond the scope of [๐‘ฅmin, ๐‘ฅmax]. In thesecircumstances, the GSA will force the agent to be pulled backto its boundaries at ๐‘ฅ = ๐‘ฅmin or ๐‘ฅ = ๐‘ฅmax. However, thefinal optimal results will be skewed. To solve this problem, weintroduce the boundary mutation strategy in the PGSA. Themutation strategy can be described as follows:

if ๐‘ฅ๐‘– โ‰ฅ ๐‘ฅmax

or๐‘ฅ๐‘– โ‰ค ๐‘ฅmin,then ๐‘ฅ๐‘– = rand๐‘– ร— (๐‘ฅmax โˆ’ ๐‘ฅmin) + ๐‘ฅmin.

(20)

After boundary mutation, the agent beyond the bound-aries is pulled back to the feasible range of [๐‘ฅmin, ๐‘ฅmax].Through the simulation and comparative performance inSection 5, we can prove that the boundary mutation strategycan increase the agent diversity and improve the convergenceof the algorithm significantly.

4.6. Termination Condition. In GSA, the maximum numberof iterations is a condition of the termination. However, insome cases, GSA could not improve the optimal value. Tosolve the problem, we employ a termination condition toterminate the algorithm in advance. If the algorithm couldnot get its optimum for a large number of stages (๐œƒ), the algo-rithmmay be subject to early termination. We determine thevariable ๐œƒ by trial and error. If we select min_ineration/10 โ‰ค๐œƒ โ‰ค max_ineration/5, then, the performance of the algorithmis optimal.

4.7. Proposed Algorithm Description. The algorithm of PGSAis described as follows.

Step 1 (initialization). The initial population size is ๐‘ = 50,then the maximum iterate number is max_iteration = 500,and min_iteration = 200. The initial gravitational constant is๐บ0 = 100 and ๐›ฝ = 20. Remove sensor nodes with energy lessthan ๐ธmin.

Step 2 (initial population). First, randomly generate a groupof agents at a size of 50, with each node in the agentrepresenting the location of a sensor. Randomly generatethe sensors probabilities in the range [1, 100]. Second, splitthe destination node ๐‘ก into ๐‘˜ splitting node, and assign theprobability value to the splitting node of each agent. Third,construct the ๐‘˜-barrier coverage using the strategy in Sec-tion 4.1.4.

Step 3 (fitness). Evaluate the fitness for each agent by (17).

Step 4 (constant ๐บ). Update the gravitational constant ๐บ by(18).

Step 5 (best solution and worst solution). Update the bestsolution and the worst solution of the population by (11) and(12), respectively.

Step 6 (mass). Calculate the mass for each agent by (6).

Step 7 (acceleration). Calculate the acceleration for eachagent by (13).

Step 8 (velocity). Update the velocity for each agent by (19).

Step 9 (position). Update the position for each agent by (16).

Step 10 (termination). If max_iteration or termination con-dition is reached, then return the solution; otherwise, Steps3โ€“9 are repeated.

4.8. ๐‘˜-Barrier Coverage with Minimum Cost Problem(KCMC). Through the solution of the PGSA algorithm, weobtain the minimum number and target location of the mo-bile sensor to be moved to fill the gaps. The KCMC problemmainly involves determining how tomove themobile sensorsto the target locations at theminimumcost.TheKCMCprob-lem could be formulated as a 0-1 ILP and solved rapidly bycommercial quality CPLEX package in [48].

5. Performance Evaluation

In this section, we conduct extensive experiments to evaluateand testify the proposed algorithms (PGSA). The sensors arerandomly deployed in a belt region of ๐ฟ = 100m and ๐‘Š =20m.The largest range of the sensor is ๐‘™๐‘Ÿ = 2. The maximumiteration number is 500, the number of agents (๐‘) is 50, andthe initial gravitational constant (๐บ0) is 100. The constant is๐›ฝ = 20. The algorithm was conducted with MATBLAB 2009and implemented on a CPU with an Intel Corei9, 3.06GHz,and 4GB RAM running on windows 7.

In this paper, PGSA and GSA are compared to verifywhether the PGSA can overcome the shortcomings of tradi-tional GSA and escape from a local optimum effectively.

The PGSA is proposed to find the approximate optimalsolution in a short time. Therefore, the evaluation mainlyfocuses on two performance metrics: running time and theoptimal value of the PGSA. GSA is one of the latest heuristicoptimization algorithms, and it has been proven that GSAhashigh-quality time performance in solving different optimiza-tion problems [37โ€“39]. PGSA is amodified algorithmofGSA;therefore, we compare the average iteration times of PGSAand GSA to verify the time performance of the PGSA. Whenevaluating the performance of the optimal value, we comparethe optimal value of the PGSA with that of RSMN. RSMN isan efficient algorithm for ๐‘˜-barrier coverage based on optimalvalue [48], and it gets the optimal value but is not suitable for

Page 8: Solving -Barrier Coverage Problem Using Modified ...downloads.hindawi.com/journals/mpe/2017/1206129.pdfย ยท ResearchArticle Solving ๐‘˜-Barrier Coverage Problem Using Modified Gravitational

8 Mathematical Problems in Engineering

Table 1: Comparison of statistical results between GSA and PGSA.

MetricsGSA PGSA

Optimal number ofmobile sensors Average iteration

number

Optimal number ofmobile sensors Average iteration

numberBest Worst Average Best Worst Average

๐ฟ = 100m,๐‘Š = 20m,๐‘™๐‘Ÿ = 20,๐‘ = 50,๐บ0 = 100

๐‘› = 200, ๐‘˜ = 4 57 98 73 262 40 69 49 115๐‘› = 150, ๐‘˜ = 4 78 121 94 278 53 82 62 123๐‘› = 120, ๐‘˜ = 3 45 83 65 235 34 62 45 98๐‘› = 100, ๐‘˜ = 3 42 79 58 251 29 58 38 105๐‘› = 80, ๐‘˜ = 2 44 76 59 217 30 56 39 94๐‘› = 60, ๐‘˜ = 2 48 84 63 223 32 62 44 107

Table 2: Comparison of statistical results on different number of barriers (๐‘˜).

Metrics Barrier numberRSMN PGSA

Optimal number ofmobile sensors Running time (s) Optimal number

of mobile sensors Running time (s)

๐ฟ = 100m๐‘Š = 20m๐‘› = 100๐‘™๐‘Ÿ = 2๐‘ = 50๐บ0 = 100

๐‘˜ = 2 26 4.84 26 2.08๐‘˜ = 3 29 38.18 29 2.12๐‘˜ = 4 37 69.36 41 2.14๐‘˜ = 5 65 112.44 72 2.33๐‘˜ = 6 79 171.2 88 2.76

large-scale networks.Therefore, we evaluate the performanceof the optimal value by comparing two algorithms.

The comparison results of GSA and PGSA are given inTable 1. We generate six random datasets with 200, 150, 120,100, 80, and 60 nodes and 4, 3, and 2 barriers. For all sixtest datasets, the best, the worst, and average solutions aregained among 20 independent runs. In addition, the averageiteration number was also reported.

From the numerical results, PGSA performs better withrespect to the best, the worst, the average solutions, andaverage iteration number compared to GSA.The results showthat PGSA can explore the search space more effectively andovercome the premature convergence.

Figure 6 plots the comparison of convergence curve with๐‘› = 120 and ๐‘˜ = 3 between PGSA and GSA. GSA convergesto optimal solution 68 at iteration 230, while PGSA convergesto 37 at iteration 92. The result shows superior performanceof PGSA over that of GSA. The average iteration number ofPGSA is less than that of the GSA algorithm, and the timeperformance of the algorithm is greatly improved.

To verify further the performance of PGSA,we compare itwith RSMN algorithm. In the RSMN algorithm, the ๐‘˜-barriercoverage problem was formulated as a 0-1 ILP, and then thecommercial software, such as CPLEX or Lingo, was used tosolve the problem directly.

Table 2 and Figure 7 show the performance of PGSA andRSMN on a different number of barriers. Figure 7(a) showsthe comparison of the average running time of the two algo-rithms.With the increase of the barriers, the average runningtime of the two algorithms also increases. Figure 7(a) shows

PGSAGSA

Iteration number500450400350300250200150100500

0

20

40

60

80

100

120

140

160

Opt

imal

val

ues

Figure 6: Comparison of convergence curve between GSA andPGSA (๐‘› = 120, ๐‘˜ = 3).

that the PGSA algorithm increases gradually and smoothly.However, the RSMN algorithm increases remarkably. Thenumerical results show that PGSA has better time perfor-mance than the RSMNalgorithmwith the increase of the bar-rier number. Figure 7(b) shows a comparison of the optimalvalues obtained by the two algorithms. The results show thatsome optimal values are the same, whereas others are justclose.The PGSA algorithm obtains the near-optimal solutionin a very short amount of time and, in some cases, obtains theoptimal solution.

Figure 8 and Table 3 show the optimal value and theaverage running time against the number of sensor nodes. In

Page 9: Solving -Barrier Coverage Problem Using Modified ...downloads.hindawi.com/journals/mpe/2017/1206129.pdfย ยท ResearchArticle Solving ๐‘˜-Barrier Coverage Problem Using Modified Gravitational

Mathematical Problems in Engineering 9

Number of barriers32 4 5 6

RSMNPGSA

0

50

100

150

200

Aver

age r

unni

ng ti

me (

s)

(a) Average running time

Opt

imal

num

ber o

f mob

ile

0

20

40

60

80

100

sens

ors

3 4 5 62Number of barriers

RSMNPGSA(b) Optimal number of mobile sensors

Figure 7: Comparison of average running time and optimal number of mobile sensors.

Number of sensors

260

240

220

200

180

160

140

120

100

80

60

40

20

RSMNPGSA

0

50

100

150

200

Aver

age r

unni

ng ti

me (

s)

(a) Average running time

Number of sensors260

240

220

200

180

160

140

120

100

80

60

40

20

RSMNPGSA

0

5

10

15

20

25

30

35

40

45

The n

umbe

r of m

obile

sens

ors

(b) Optimal number of mobile sensors

Figure 8: Comparison of average running time and optimal number of mobile sensors on different number of sensors.

Figure 8(a), we compare the average running time of the twoalgorithms. The average running time for PGSA is worsewhen the number of sensors is less than 80. However, withthe increase of scale, PGSAperforms better thanRSMN.Withan increase in the number of nodes, the average running timeof both algorithms also increases. However, the increase rateof PGSA is far less than RSMN. The average running timeof PGSA was not significantly affected by the number ofsensor nodes. Figure 8(b) shows the comparison of the opti-mal values obtained by the two algorithms. The results show

that the optimal values of the two algorithms are the same insome cases and close in others.

6. Conclusion

In this paper, we investigated the GSA measures for con-structing the ๐‘˜-barrier coverage, which is aimed to detectintruders attempting to cross the regions of interest with atleast ๐‘˜ distinct sensors. By proposing a newmethod based onGSA, many problems of the previous studies, such as finding

Page 10: Solving -Barrier Coverage Problem Using Modified ...downloads.hindawi.com/journals/mpe/2017/1206129.pdfย ยท ResearchArticle Solving ๐‘˜-Barrier Coverage Problem Using Modified Gravitational

10 Mathematical Problems in Engineering

Table 3: Comparison of statistical results on different number of sensors (๐‘›).

Metrics Sensor numberRSMN PGSA

Optimal numberof mobile sensors Running time (s) Optimal number

of mobile sensors Running time (s)

๐ฟ = 100m๐‘Š = 20m๐‘˜ = 2๐‘™๐‘Ÿ = 2๐‘ = 50๐บ0 = 100

๐‘› = 20 42 0.042 42 0.778๐‘› = 40 39 0.08 41 0.907๐‘› = 60 32 0.289 32 1.098๐‘› = 80 30 0.51 30 1.29๐‘› = 100 26 1.887 28 1.569๐‘› = 120 21 4.009 25 1.761๐‘› = 140 19 9.557 25 2.157๐‘› = 160 16 18.458 19 2.263๐‘› = 180 13 31.089 14 2.362๐‘› = 200 10 53.886 15 2.639๐‘› = 220 8 74.892 12 2.667๐‘› = 240 7 108.045 13 2.991๐‘› = 260 5 151.594 8 3.31

an inaccurate solution or the unreasonably low speed, aresolved. Finally, we obtained a solution close to the globaloptimum in a short period and successfully applied the GSAalgorithm to the WSNs.

Conflicts of Interest

The authors declare that there are no conflicts of interestregarding the publication of this paper.

Acknowledgments

This work is supported by the NSFC (U1536206, 61232016,U1405254, 61373133, 61502242, 61672294, 61602253, and71401176), BK20150925, KYLX16_0926, and PAPD fund.

References

[1] S. Jeschke, C. Brecher, S. H. Song et al., Industrial Internetof Things: Foundations, Principles and Applications, Springer,Cham, Switzerland, 2017.

[2] M. P. Durisic, Z. Tafa, G. Dimic, and V. Milutinovic, โ€œAsurvey of military applications of wireless sensor networks,โ€ inProceedings of the 1st Mediterranean Conference on EmbeddedComputing (MECO โ€™12), pp. 196โ€“199, June 2012.

[3] G. Hackmann, W. Guo, G. Yan, Z. Sun, C. Lu, and S. Dyke,โ€œCyber-physical codesign of distributed structural health mon-itoring with wireless sensor networks,โ€ IEEE Transactions onParallel and Distributed Systems, vol. 25, no. 1, pp. 63โ€“72, 2014.

[4] Y. E. Aslan, I. Korpeoglu, and O. Ulusoy, โ€œA framework for useof wireless sensor networks in forest fire detection andmonitor-ing,โ€ Computers, Environment and Urban Systems, vol. 36, no. 6,pp. 614โ€“625, 2012.

[5] X. Sun, S. Yan, B. Wang, L. Xia, Q. Liu, and H. Zhang, โ€œAirtemperature error correction based on solar radiation in aneconomical meteorologicalwireless sensor network,โ€ Sensors,vol. 15, no. 8, pp. 18114โ€“18139, 2015.

[6] Z. F. Fu, X. Sun, Q. Liu, L. Zhou, and J. Shu, โ€œAchieving effi-cient cloud search services: multi-keyword ranked search overencrypted cloud data supporting parallel computing,โ€ IEICETransactions on Communications, vol. 98, no. 1, pp. 190โ€“200,2015.

[7] B. Wang, โ€œCoverage problems in sensor networks: a survey,โ€ACM Computing Surveys, vol. 43, no. 4, article 32, 2011.

[8] D. G. Costa and L. A. Guedes, โ€œThe coverage problem in video-based wireless sensor networks: a survey,โ€ Sensors, vol. 10, no. 9,pp. 8215โ€“8247, 2010.

[9] Q. Zhao and M. Gurusamy, โ€œLifetime maximization for con-nected target coverage in wireless sensor networks,โ€ IEEE/ACMTransactions on Networking, vol. 16, no. 6, pp. 1378โ€“1391, 2008.

[10] J.-M. Gil and Y.-H. Han, โ€œA target coverage scheduling schemebased on genetic algorithms in directional sensor networks,โ€Sensors, vol. 11, no. 2, pp. 1888โ€“1906, 2011.

[11] K.-P. Shih, H.-C. Chen, C.-M. Chou, and B.-J. Liu, โ€œOn targetcoverage in wireless heterogeneous sensor networks with mul-tiple sensing units,โ€ Journal of Network and Computer Applica-tions, vol. 32, no. 4, pp. 866โ€“877, 2009.

[12] S. Mini, S. K. Udgata, and S. L. Sabat, โ€œSensor deployment andscheduling for target coverage problem in wireless sensornetworks,โ€ IEEE Sensors Journal, vol. 14, no. 3, pp. 636โ€“644,2014.

[13] M. Naderan, M. Dehghan, and H. Pedram, โ€œSensing taskassignment via sensor selection formaximum target coverage inWSNs,โ€ Journal of Network and Computer Applications, vol. 36,no. 1, pp. 262โ€“273, 2013.

[14] Z. Liao, J. Wang, S. Zhang, J. Cao, and G. Min, โ€œMinimizingmovement for target coverage and network connectivity inmobile sensor networks,โ€ IEEE Transactions on Parallel andDistributed Systems, vol. 26, no. 7, pp. 1971โ€“1983, 2015.

[15] Z. Lu, W.W. Li, andM. Pan, โ€œMaximum lifetime scheduling fortarget coverage and data collection in wireless sensor networks,โ€IEEE Transactions on Vehicular Technology, vol. 64, no. 2, pp.714โ€“727, 2015.

Page 11: Solving -Barrier Coverage Problem Using Modified ...downloads.hindawi.com/journals/mpe/2017/1206129.pdfย ยท ResearchArticle Solving ๐‘˜-Barrier Coverage Problem Using Modified Gravitational

Mathematical Problems in Engineering 11

[16] V. Zalyubovskiy, A. Erzin, S. Astrakov et al., โ€œEnergy-efficientarea coverage by sensors with adjustable ranges,โ€ Sensors, vol. 9,no. 4, pp. 2446โ€“2460, 2009.

[17] J. A. Torkestani, โ€œAn adaptive energy-efficient area coveragealgorithm for wireless sensor networks,โ€ Ad Hoc Networks, vol.11, no. 6, pp. 1655โ€“1666, 2013.

[18] S. Rizvi, H. K. Qureshi, S. A. Khayam, V. Rakocevic, and M.Rajarajan, โ€œA1: an energy efficient topology control algorithmfor connected area coverage in wireless sensor networks,โ€ Jour-nal of Network and Computer Applications, vol. 35, no. 2, pp.597โ€“605, 2012.

[19] S. Sengupta, S. Das, M. D. Nasir, and B. K. Panigrahi, โ€œMulti-objective node deployment in WSNs: in search of an optimaltrade-off among coverage, lifetime, energy consumption, andconnectivity,โ€ Engineering Applications of Artificial Intelligence,vol. 26, no. 1, pp. 405โ€“416, 2013.

[20] Y.-G. Fu, J. Zhou, and L. Deng, โ€œSurveillance of a 2D plane areawith 3D deployed cameras,โ€ Sensors, vol. 14, no. 2, pp. 1988โ€“2011,2014.

[21] M. Vecchio and R. Lopez-Valcarce, โ€œImproving area coverage ofwireless sensor networks via controllable mobile nodes: agreedy approach,โ€ Journal of Network and Computer Applica-tions, vol. 48, pp. 1โ€“13, 2015.

[22] Q. Yang, S. He, J. Li, J. Chen, and Y. Sun, โ€œEnergy-efficientprobabilistic area coverage in wireless sensor networks,โ€ IEEETransactions on Vehicular Technology, vol. 64, no. 1, pp. 367โ€“377,2015.

[23] H. Zhu and Y. Shi, โ€œBrain storm optimization algorithm for fullarea coverage of wireless sensor networks,โ€ in Proceedings ofthe 8th International Conference on Advanced ComputationalIntelligence (ICACI โ€™16), pp. 14โ€“20, February 2016.

[24] S. He, J. Chen, X. Li, X. S. Shen, and Y. Sun, โ€œMobility andintruder prior information improving the barrier coverage ofsparse sensor networks,โ€ IEEE Transactions on Mobile Comput-ing, vol. 13, no. 6, pp. 1268โ€“1282, 2014.

[25] Z. Wang, J. Liao, Q. Cao, H. Qi, and Z. Weng, โ€œAchieving k-barrier coverage in hybrid directional sensor networks,โ€ IEEETransactions on Mobile Computing, vol. 13, no. 7, pp. 1443โ€“1455,2014.

[26] S. Dobrev, S. Durocher, M. Eftekhari et al., โ€œComplexity of bar-rier coverage with relocatable sensors in the plane,โ€TheoreticalComputer Science, vol. 579, pp. 64โ€“73, 2015.

[27] D. Tao and T.-Y. Wu, โ€œA survey on barrier coverage problem indirectional sensor networks,โ€ IEEE Sensors Journal, vol. 15, no.2, pp. 876โ€“885, 2015.

[28] Y. Wu and M. Cardei, โ€œDistributed algorithms for barriercoverage via sensor rotation in wireless sensor networks,โ€Journal of Combinatorial Optimization, pp. 1โ€“22, 2016.

[29] X. Gong, J. Zhang, D. Cochran, and K. Xing, โ€œOptimal Place-ment for Barrier Coverage in Bistatic Radar Sensor Networks,โ€IEEE/ACM Transactions on Networking, vol. 24, no. 1, pp. 259โ€“271, 2016.

[30] B. Wang, J. Chen, W. Liu, and L. Yang, โ€œMinimum costplacement of bistatic radar sensors for belt barrier coverage,โ€IEEE Transactions on Computers, vol. 65, no. 2, pp. 577โ€“588,2016.

[31] S. Kumar, T. H. Lai, and A. Arora, โ€œBarrier coverage withwireless sensors,โ€ in Proceedings of the 11th Annual InternationalConference on Mobile Computing and Networking (MobiComโ€™05), pp. 284โ€“298, ACM, Cologne, Germany, September 2005.

[32] H. M. Ammari and S. K. Das, โ€œFault tolerance measures forlarge-scale wireless sensor networks,โ€ ACM Transactions onAutonomous and Adaptive Systems, vol. 4, no. 1, article 2, 2009.

[33] J. Li, X. Li, B. Yang, and X. Sun, โ€œSegmentation-based imagecopy-move forgery detection scheme,โ€ IEEE Transactions onInformation Forensics and Security, vol. 10, no. 3, pp. 507โ€“518,2015.

[34] Z. Xia, X. Wang, X. Sun, and Q. Wang, โ€œA secure and dynamicmulti-keyword ranked search scheme over encrypted clouddata,โ€ IEEETransactions onParallel andDistributed Systems, vol.27, no. 2, pp. 340โ€“352, 2016.

[35] Z. Fu, X. Wu, C. Guan, X. Sun, and K. Ren, โ€œToward efficientmulti-keyword fuzzy search over encrypted outsourced datawith accuracy improvement,โ€ IEEE Transactions on InformationForensics and Security, vol. 11, no. 12, pp. 2706โ€“2716, 2016.

[36] E. Rashedi, H. Nezamabadi-pour, and S. Saryazdi, โ€œGSA: agravitational search algorithm,โ€ Information Sciences, vol. 179,no. 13, pp. 2232โ€“2248, 2009.

[37] S. R. Balachandar and K. Kannan, โ€œA meta-heuristic algorithmfor set covering problem based on gravity,โ€ International Journalof Computational and Mathematical Sciences, vol. 4, no. 5, pp.223โ€“228, 2010.

[38] S. Duman, U. Guvenc, and N. Yorukeren, โ€œGravitational searchalgorithm for economic dispatch with valve-point effects,โ€International Review of Electrical Engineering, vol. 5, no. 6, pp.2890โ€“2895, 2010.

[39] H. R. Hassanzadeh andM. Rouhani, โ€œAmulti-objective gravita-tional search algorithm,โ€ in Proceedings of the 2nd InternationalConference on Computational Intelligence, Communication Sys-tems and Networks (CICSyN โ€™10), pp. 7โ€“12, IEEE, Liverpool, UK,July 2010.

[40] B. Liu, O. Dousse, J. Wang, and A. Saipulla, โ€œStrong barriercoverage of wireless sensor networks,โ€ in Proceedings of the 9thACM International Symposium on Mobile Ad Hoc Networkingand Computing (MobiHoc โ€™08), pp. 411โ€“419, ACM, May 2008.

[41] S. Bereg and D. Kirkpatrick, โ€œApproximating barrier resiliencein wireless sensor networks,โ€ in Proceedings of the InternationalSymposium on Algorithms and Experiments for Sensor Systems,Wireless Networks andDistributed Robotics, pp. 29โ€“40, Springer,Wroclaw, Poland, 2009.

[42] L. Zhang, J. Tang, and W. Zhang, โ€œStrong barrier coverage withdirectional sensors,โ€ in Proceedings of the Global Telecommuni-cations Conference (GLOBECOM โ€™09), pp. 1โ€“6, IEEE, Honolulu,Hawaii, USA, 2009.

[43] Z. Sun, Y. Zhang, Y. Nie, W. Wei, J. Lloret, and H. Song,โ€œCASMOC: a novel complex alliance strategy with multi-objec-tive optimization of coverage in wireless sensor networks,โ€Wireless Networks, pp. 1โ€“22, 2016.

[44] Z. Sun, Y. Shu, X. Xing et al., โ€œLPOCS: A Novel Linear Pro-gramming Optimization Coverage Scheme in Wireless SensorNetworks,โ€ Adhoc & Sensor Wireless Networks, vol. 33, 2016.

[45] S. Silvestri and K. Goss, โ€œMobiBar: an autonomous deploymentalgorithm for barrier coverage with mobile sensors,โ€ Ad HocNetworks, vol. 54, pp. 111โ€“129, 2017.

[46] A. Saipulla, C. Westphal, B. Liu, and J. Wang, โ€œBarrier coveragewith line-based deployedmobile sensors,โ€AdHocNetworks, vol.11, no. 4, pp. 1381โ€“1391, 2013.

[47] J. Du, K.Wang, H. Liu, and D. Guo, โ€œMaximizing the lifetime ofk-discrete barrier coverage using mobile sensors,โ€ IEEE SensorsJournal, vol. 13, no. 12, pp. 4690โ€“4701, 2013.

Page 12: Solving -Barrier Coverage Problem Using Modified ...downloads.hindawi.com/journals/mpe/2017/1206129.pdfย ยท ResearchArticle Solving ๐‘˜-Barrier Coverage Problem Using Modified Gravitational

12 Mathematical Problems in Engineering

[48] Y. Zhang, X. Sun, and B. Wang, โ€œEfficient algorithm for k-barrier coverage based on integer linear programming,โ€ ChinaCommunications, vol. 13, no. 7, pp. 16โ€“23, 2016.

[49] B. Gu, X. Sun, and V. S. Sheng, โ€œStructural minimax probabilitymachine,โ€ IEEE Transactions on Neural Networks and LearningSystems, pp. 1โ€“11, 2016.

[50] Y. Xue, J. Jiang, B. Zhao, and T.Ma, โ€œA self-adaptive artificial beecolony algorithm based on global best for global optimization,โ€Soft Computing, pp. 1โ€“18, 2017.

[51] B. Gu, V. S. Sheng, Z. Wang, D. Ho, S. Osman, and S. Li,โ€œIncremental learning for ]-support vector regression,โ€ NeuralNetworks, vol. 67, pp. 140โ€“150, 2015.

[52] B. Gu and V. S. Sheng, โ€œA robust regularization path algorithmfor ]-support vector classification,โ€ IEEETransactions onNeuralNetworks and Learning Systems, pp. 1โ€“8, 2016.

[53] S. K. Gupta, P. Kuila, and P. K. Jana, โ€œGenetic algorithmapproach for k-coverage and m-connected node placement intarget based wireless sensor networks,โ€ Computers & ElectricalEngineering, vol. 56, pp. 544โ€“556, 2016.

[54] H. Mostafaei, โ€œStochastic barrier coverage in wireless sensornetworks based on distributed learning automata,โ€ ComputerCommunications, vol. 55, pp. 51โ€“61, 2015.

[55] A. I. Moustapha and R. R. Selmic, โ€œWireless sensor networkmodeling using modified recurrent neural networks: applica-tion to fault detection,โ€ IEEE Transactions on Instrumentationand Measurement, vol. 57, no. 5, pp. 981โ€“988, 2008.

[56] W.-H. Liao, Y. Kao, and R.-T. Wu, โ€œAnt colony optimizationbased sensor deployment protocol for wireless sensor net-works,โ€ Expert Systems with Applications, vol. 38, no. 6, pp.6599โ€“6605, 2011.

[57] Y. Y. Huang and K. Q. Li, โ€œCoverage optimization of wirelesssensor networks based on artificial fish swarm algorithm,โ€Jisuanji Yingyong Yanjiu, vol. 30, no. 2, pp. 554โ€“556, 2013.

[58] Z. Pan, Y. Zhang, and S. Kwong, โ€œEfficient motion and disparityestimation optimization for low complexity multiview videocoding,โ€ IEEE Transactions on Broadcasting, vol. 61, no. 2, pp.166โ€“176, 2015.

[59] I. Maleki, S. R. Khaze, M. M. Tabrizi et al., โ€œA new approach forarea coverage problem in Wireless Sensor Networks withhybrid particle swarm optimization and differential evolutionalgorithms,โ€ International Journal of Mobile Network Commu-nications & Telematics (IJMNCT), vol. 3, 2013.

Page 13: Solving -Barrier Coverage Problem Using Modified ...downloads.hindawi.com/journals/mpe/2017/1206129.pdfย ยท ResearchArticle Solving ๐‘˜-Barrier Coverage Problem Using Modified Gravitational

Submit your manuscripts athttps://www.hindawi.com

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

MathematicsJournal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Mathematical Problems in Engineering

Hindawi Publishing Corporationhttp://www.hindawi.com

Differential EquationsInternational Journal of

Volume 2014

Applied MathematicsJournal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Probability and StatisticsHindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Journal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Mathematical PhysicsAdvances in

Complex AnalysisJournal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

OptimizationJournal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

CombinatoricsHindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

International Journal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Operations ResearchAdvances in

Journal of

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Function Spaces

Abstract and Applied AnalysisHindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

International Journal of Mathematics and Mathematical Sciences

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 201

The Scientific World JournalHindawi Publishing Corporation http://www.hindawi.com Volume 2014

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Algebra

Discrete Dynamics in Nature and Society

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Decision SciencesAdvances in

Journal of

Hindawi Publishing Corporationhttp://www.hindawi.com

Volume 2014 Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014

Stochastic AnalysisInternational Journal of