Abstract
Introduction
In recent years, wireless sensor networks (WSNs) have been the focus of increasing attention and have been extensively used in environmental monitoring, traffic control, patient monitoring and intrusion detection.1,2 Given their calculation, monitoring, communication and other functions, 3 many wireless sensors are organized into WSNs autonomously through communication to complete the task of monitoring specific areas. Wireless sensors have several advantages, including their small size and low power consumption. However, these sensors have limited battery power and cannot be easily changed after deployment. 4 Therefore, the energy efficiency of WSNs must be investigated. Methods for energy perception routing, data transmission control, energy-efficient data transmission and aggregation, data compression and sensor node scheduling have been proposed to improve the energy efficiency of WSNs from different aspects. 5
Based on different coverage goals and requirements, WSNs can be divided into target coverage, area coverage and barrier coverage. 6 Deng et al. 7 proposed that the regional coverage problem can be converted into the target coverage problem. Cardei et al. 8 and Zorbas et al. 9 argued that the target coverage can cover a set of targets under the condition that wireless sensors and targets are randomly and uniformly deployed in the area and that wireless sensors can monitor all targets. For the target coverage problem, wireless sensors must continuously monitor all targets. The continuous monitoring of all targets is crucial in extending the network lifetime. Wireless sensors have four states, namely, transmission, reception, idle and sleep. 8 Although energy consumption in the transmission, reception and idle states is greater than that in the sleep state, this problem can be simplified because wireless sensors can only switch between the active and sleep states. 10 Therefore, scheduling wireless sensors is a simple and effective method for extending the network lifetime. 11
The omnidirectional wireless sensor has a circular monitoring area. Singh and Lobiyal, 12 Liu et al. 13 and others proposed different methods based on the scheduling protocol to extend the network lifetime of WSNs that consist of omnidirectional wireless sensors. Directional wireless sensors only sense a sector of a disk at a specific time. Video sensors, 14 ultrasonic sensors, 15 infrared sensors 16 and other directional sensors are used more extensively. In directional sensor networks (DSNs), the sensors can only sense one direction that does not overlap with the other directions. This restriction makes the target coverage problem in directional WSNs more complex than that in omnidirectional WSNs because directional WSNs need to determine the state and sensing direction of the sensor simultaneously. Similar to literature, 17 we discuss the directional characteristic only from the sensing aspect, and similar to literature, 18 we randomly and uniformly deploy directional sensors in the target area. The consumed energy during communication between wireless sensors is ignored, whereas the sensors are connected with one another through mobile robots or a large communication range 19 to solve the target coverage problem of the DSN.
The cover set comprises sensors that can monitor all targets, with each sensor working in only one sensing direction. Gil and Han 18 proposed a maximum cover set for addressing the Maximum Set Covers for DSNs (MSCD) problem in DSNs, which involves the identification of cover sets that can monitor all targets in an energy-efficient way and the maximization of network lifetime by assigning different scheduling times to each cover set. The cover set in the DSN can be classified into disjoint and non-disjoint. In the disjoint cover set, each sensor can only appear in one cover set, whereas in the non-disjoint cover set, each sensor may appear in more than one cover set. This study proposes a multi-objective coverage optimization memetic algorithm (MOCOMA) to solve the target coverage problem of the DSN.
The remainder of this article is organized as follows: section ‘Related work’ introduces the related target coverage algorithms of the directional WSN. Section ‘Assumption and definition’ discusses the relevant assumptions and definitions in this article. Section ‘Proposed algorithm’ discusses the proposed algorithm. Section ‘Simulation and analysis’ examines the proposed algorithm through a simulation and then analyses and compares the results with those of the two other algorithms. Section ‘Conclusion’ summarizes the article.
Related work
Cardei and Du 20 defined the disjoint coverage problem as an NP-complete problem. Liu et al. 13 proposed distributed algorithms for scheduling sensors that negotiate their respective states through communication. Zorbas et al. 9 proposed two greedy heuristic algorithms that extend network lifetime by finding and monitoring the key targets first. Lai et al. 21 used the genetic algorithm (GA) for solving the NP-complete problem that encodes the candidate solutions as chromosomes, simulates the Darwinian evolution mechanism and facilitates the crossover, mutation and elimination of the coding chromosome to obtain the final solution. Cardei et al. 8 defined the maximum cover set problem as that where each sensor can be involved in multiple cover sets and then applied the linear programming and greedy methods to solve such problem. The aforementioned methods can effectively solve the target coverage problem of a WSN that comprises omnidirectional wireless sensors, but these algorithms are unsuitable for the target coverage problem in directional WSN.
Many scholars22,23 assumed that the number of sensing directions of each sensor is provided and that the directions are randomly distributed in [0, 2
This study has the following contributions to the target coverage problem of the DSN: (1) propose a new MOCOMA, (2) design a new chromosome structure that is suitable for the proposed algorithm, (3) enhance the operations to convert the solutions toward the favourable direction faster, (4) propose a suitable algorithm for deriving the disjoint and non-disjoint cover sets and (5) examine such algorithm through experiments and comparisons.
Assumption and definition
This study assumes that monitoring area A is a two-dimensional plane area, in which length is
Variables and definitions.
We propose an algorithm to solve the MSCD problem in the literature.
18
The network in Figure 1 comprises three targets and three directional sensors.

Example of three directional sensors and three targets.
Proposed algorithm
We propose the MOCOMA to solve the MSCD problem. Under a limited energy and direction, this algorithm tries to find more cover sets to prolong the network lifetime. The solutions to the problem are encoded as chromosomes, and the biological evolution process is simulated in the algorithm. The selection, enhancement and elimination processes are performed to improve the solutions until the algorithm obtains the optimal solution. We initially introduce the proposed algorithm integrally and then each part of the algorithm is introduced in detail. This algorithm can search for a better solution in the global solution space more easily than the greedy algorithm.
Algorithm structure
The memetic algorithm draws from Lamarckism that the offspring can inherit the knowledge and features of its parents. Compared with the GA, the memetic algorithm does not need to forecast the network lifetime, and the enhancement operation is added to the algorithm to promote the search for a global optimal solution. The proposed algorithm can also avoid the local optimal solution more effectively than the greedy algorithm. Table 2 shows the pseudocode of the proposed algorithm. The algorithm is divided into chromosome representation, fitness function and enhancement parts. The candidate solutions are encoded as chromosomes (line 6) that can be expressed by different data structures according to the characteristics of the problem. The
Pseudocode of MOCOMA.
MOCOMA: multi-objective coverage optimization memetic algorithm.
Chromosome structure
The candidate solutions are encoded as chromosomes, and each chromosome is mapped to a point in the solution space. The chromosome is a one-dimensional array, as shown in Figure 2.

Structure of chromosome.
Each chromosome is a candidate solution of the problem. The number of cover sets contained in a chromosome is calculated from position 1 to

Example of cover sets.
Fitness function
As an evaluation standard of chromosomes, the fitness function is crucial for obtaining a solution. For the chromosome structure in Figure 2, the fitness function evaluates a chromosome from the following aspects: number of cover sets in the chromosome, variance in the remaining energy of sensors in a cover set and number of unused sensors. Equation (2) shows the fitness function that is used in this study:
(1) Number of cover sets (CoverNum)
When calculating the number of cover sets in a chromosome, we find an eligible cover set from left to right. Figure 3 shows
In equation (3),
(2) Variance in the remaining energy of sensors in a cover set (EVariance)
The variance reflects the fluctuation in the data. A cover set with a small variance indicates that the remaining energy of sensors in the cover set are close, which is beneficial in extending the network lifetime. Equation (4) is used to calculate the variance of a chromosome:
In equation (4),
(3) Number of unused sensors (UnusedSensor)
When calculating the cover set that a chromosome contains from left to right, if all sensors after the
In equation (5),
The algorithm use the fitness function to evaluate chromosomes. Through many rounds of screening, chromosomes with high fitness values will survive and the algorithm eliminates the chromosomes with low fitness values. Keeping chromosomes with high fitness values is easier to acquire better solutions, thus the algorithm can obtain a longer network lifetime. The chromosome is evaluated from three aspects: number of cover sets and total runtime in the chromosome, variance in the remaining energy of sensors in a cover set and ratio of unused sensors. A higher fitness value means that the total runtime of cover sets in a chromosome is longer, variance in the remaining energy of sensors in a cover set is smaller and ratio of unused sensors is higher. A chromosome with longer total runtime achieves a longer network lifetime. Making the variance in a cover set smaller is beneficial to balance the energy consumption of network, it can prolong the network lifetime. If two chromosomes are similar in these two aspects, the chromosome that has higher ratio of unused sensors can make more sensors obtain the opportunities to participate in constructing cover sets in the future, it can achieve the goal of prolonging the network lifetime. Thus, for achieving a longer network lifetime, the fitness function should be used for screening chromosomes.
Figure 4 is an example of the fitness function, chromosome

Example of fitness function.
Enhancement operation
The algorithm transforms the selected chromosome through an enhancement operation to obtain a new solution. Combined with the selection and elimination operations, the solution is transformed toward the favourable direction. The enhancement operation can be divided into two parts, namely, optimizer and improver. The algorithm switches between these two phases to select reasonable sensors for constructing new cover sets. When the remaining sensors in the chromosome are unable to construct a new cover set, the enhancement operation is completed. Then, the new chromosome
In equation (6),
Selection and elimination
Table 2 shows two kinds of selection operations. The selection operation in line 9 is used to select
Simulation and analysis
We use MATLAB to examine the proposed algorithm. We assume that the area to be monitored, area A, is a 100 m × 100 m fixed area, 30 targets are randomly and uniformly deployed in this area, all directional sensors are homogeneous, and the network lifetime is counted by round. For each experiment, we generate 30 topologies and execute every algorithm on each topology. We take the average value of the experiments as the result of each algorithm. The proposed algorithm is compared with GA 18 and GA 17 from the aspects of network lifetime. The experimental results show that the proposed algorithm outperforms the GA 18 and GA 17 in terms of extending the network lifetime.
Effect of the number of sensors
We test the three algorithms for prolonging the network lifetime under different numbers of sensors. All sensors are assumed to have three sensing directions, with each sensor sensing only one of these directions. Each direction has a central angle of 2

Influence of the number of sensors on network lifetime.
The network lifetime that is obtained by the three algorithms increases along with the number of sensors that are deployed in area A. MOCOMA outperforms GA 18 and GA 17 in extending the network lifetime. Figure 6 shows the average number of sensors per cover set that is used by the algorithms under different numbers of sensors.

Number of sensors per cover set.
MOCOMA uses a lesser number of sensors per cover set than the other two algorithms, which indicates that MOCOMA has a better choice strategy. Given that a lesser number of targets are covered by each sensor overlap in a cover set, the number of sensors that are used in each cover set is also lessened. MOCOMA selects the solutions many times, which is beneficial in finding better solutions and more reasonable sensors for constructing a cover set.
Effect of sensing range
In the simulation, we test the performance of the algorithms in extending the network lifetime according to the changes in the sensing ranges of the directional sensors. The number of sensors in area A is assumed to be 150, with each sensor only sensing one of the three directions with an angle of 2
Figure 7 shows the network lifetime that is obtained by each algorithm under different sensing ranges. MOCOMA obtains a longer network lifetime than the other two algorithms. Moreover, when the sensing range is 36 m, MOCOMA achieves the greatest enhancement as compared with the other algorithms.

Influence of sensing range on network lifetime.
Effect of the number of sensing directions
We fix the number of sensors to 150 and the sensing range of each sensor to 20 m to investigate the influence of the number of sensing directions. Then, we examine the performance of all algorithms in prolonging network lifetime according to the changes in the number of sensing directions.
As shown in Figure 8, MOCOMA outperforms the other two algorithms in prolonging the network lifetime. In each test case, all algorithms achieve the longest network lifetime under four directions, which indicates that, under a fewer number of directions, the sensors in a cover set can easily overlap the sensing area, thereby wasting the energy of the sensors and shortening the network lifetime. By contrast, under a large number of sensing directions, more sensors are needed to construct a cover set, thereby shortening the network lifetime.

Influence of the number of directions on network lifetime.
Conclusion
This study discusses the target coverage problem in directional WSNs. Compared with traditional WSNs, directional WSNs must consider the states and working sensing directions of the sensors, thereby making these networks a highly complex, NP-complete problem. We propose the MOCOMA to solve the target coverage problem in directional WSNs. The algorithm encodes the solutions as chromosomes and simulates the biological evolution process through the selection, enhancement and elimination processes. The solutions are changed toward favourable directions. Then, favourable solutions are obtained after several rounds. We evaluate the performance of the proposed algorithm according to the following experimental factors: number of sensors, sensing range and number of sensing directions of each sensor. According to the experimental results, the MOCOMA achieves a longer network lifetime than the other two algorithms.
