Abstract
In this paper, we study the problem of moving $n$ sensors on a line to form a barrier coverage of a specified segment of the line such that the maximum moving distance of the sensors is minimized. Previously, it was an open question whether this problem on sensors with arbitrary sensing ranges is solvable in polynomial time. We settle this open question positively by giving an $O(n^2 \log n)$ time algorithm. For the special case when all sensors have the same-size sensing range, the previously best solution takes $O(n^2)$ time. We present an $O(n \log n)$ time algorithm for this case; further, if all sensors are initially located on the coverage segment, our algorithm takes $O(n)$ time. Also, we extend our techniques to the cycle version of the problem where the barrier coverage is for a simple cycle and the sensors are allowed to move only along the cycle. For sensors with the same-size sensing range, we solve the cycle version in $O(n)$ time, improving the previously best $O(n^2)$ time solution.
Introduction
In Wireless Sensor Networks (WSNs), "barrier coverage" is a critical concept for security and surveillance. Instead of covering an entire area, which is energy-intensive, a perimeter or line is covered to ensure no intruder can cross undetected. Sensors are often deployed randomly and must move from their initial positions to form a continuous, gapless barrier. The primary challenge is to find a set of destinations that minimizes the maximum movement of any single sensor (the min-max movement problem).
While the "uniform" case—where every sensor has the same range—had been solved previously, the "general" case with arbitrary sensing ranges remained an open problem. This paper provides the first polynomial-time algorithm for the General Barrier Coverage problem on a line, settling the question of its complexity.
Methods
The core of the solution lies in addressing the decision version of the problem: "Given a maximum movement distance $\lambda$, is it possible to form a barrier?"
Greedy Decision Algorithm
The authors developed an $O(n)$ time algorithm (following $O(n \log n)$ preprocessing) that attempts to cover the barrier from left to right. It strategically selects sensors and moves them to their leftmost possible positions within the allowed distance $\lambda$.
As shown in Figure 1, the algorithm identifies a set of sensors $S_{11}$ that can cover the current leftmost uncovered point. If $S_{11}$ is empty, the algorithm looks at the next available set $S_{12}$, as illustrated in Figure 2.
Optimization Techniques
To find the optimal $\lambda^*$, the authors utilize several advanced techniques:
- Parameterized Optimization: For the general case where sensor order is not necessarily preserved (a small sensor might "jump over" a larger one), the authors simulate the decision algorithm on the unknown $\lambda^*$. This narrows down the optimal value through a series of tests, resulting in an $O(n^2 \log n)$ complexity.
- Binary Search on Sorted Arrays: In the uniform case, sensors maintain their relative order. The authors leverage this "order-preserving" property to use a sophisticated binary search on sorted arrays, reducing the complexity to $O(n \log n)$.
Key Results
The paper significantly improves the state-of-the-art for several variations of the barrier coverage problem:
| Problem Case | Previous Best | This Paper |
|---|---|---|
| General Case (Arbitrary Ranges) | Open (Unknown) | $O(n^2 \log n)$ |
| Uniform Case (Same Ranges) | $O(n^2)$ | $O(n \log n)$ |
| Uniform Case (Initially on Barrier) | $O(n^2)$ | $O(n)$ |
| Cycle Case (Uniform) | $O(n^2)$ | $O(n)$ |
Conclusion
This work provides the first polynomial-time solution for the general linear barrier coverage problem. While these results are robust for 1D domains (lines and cycles), extending min-max movement optimization to 2D barriers, such as the perimeter of a complex polygon, remains a significant challenge. Future research may also explore scenarios where sensors start at arbitrary 2D coordinates to cover a 1D barrier, or seek even faster algorithms for the general case.
Summary updated