Next Article in Journal
A Cascaded Neural Network for Robust Phase-Only Beamforming Under Covariance Matrix Mismatch
Previous Article in Journal
Complex-Domain Semantic Segmentation of Spacecraft Directly from ISAR Echoes
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Research on Coverage Optimization in Wireless Sensor Networks Based on an Improved Sparrow Search Algorithm

by
Hong Kheam
1,
Vakhim Leang
2,
Chamroeun Khim
1,
Van Nhan Vo
3 and
Sovannarith Heng
2,*
1
Department of Information Technology Engineering, Faculty of Engineering, Royal University of Phnom Penh, Phnom Penh 120404, Cambodia
2
Department of Computer Science, Faculty of Science, Royal University of Phnom Penh, Phnom Penh 120404, Cambodia
3
Faculty of Information Technology, Duy Tan University, Danang 550000, Vietnam
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(13), 4076; https://doi.org/10.3390/s26134076 (registering DOI)
Submission received: 14 May 2026 / Revised: 20 June 2026 / Accepted: 22 June 2026 / Published: 26 June 2026

Abstract

Optimal node deployment in Wireless Sensor Networks (WSNs) is crucial for maximizing monitoring coverage. However, traditional metaheuristics like the Sparrow Search Algorithm (SSA) often suffer from premature convergence and redundant clustering, creating severe coverage holes. To address this, we introduce the Density-Aware Repulsive Sparrow Search Algorithm (DAR-SSA). Integrating electrostatic principles, DAR-SSA calculates a local density-based repulsive force vector to actively disperse nodes from high-density clusters. This physics-guided approach, combined with a dynamic explorer-exploiter allocation rule, ensures a computationally efficient balance between global and local search phases. Evaluated via a probabilistic sensing model, DAR-SSA significantly outperforms standard SSA, its variants (EFSSA, EASOA), and classical algorithms (PSO, GWO). In high-density urban deployments, DAR-SSA achieves a 95.25% effective coverage rate, compared to SSA’s 76.74%. In low-density environments, coverage reaches 97.12%. Validated by Wilcoxon rank-sum tests, DAR-SSA proves to be a robust, efficient framework for mitigating spatial redundancy and maximizing WSN sensing coverage.

1. Introduction

1.1. Background

Wireless Sensor Networks (WSNs) consist of autonomous devices, known as sensor nodes, that are distributed across wide areas for specific tasks [1,2]. As wireless technology has advanced [3], WSNs have become increasingly common in fields such as target tracking [4], environmental monitoring [5], and healthcare [6]. However, due to environmental constraints, sensors are often deployed randomly. This leads to both coverage gaps and areas with redundant sensors. Therefore, it is essential to optimize sensor positions to maximize coverage, minimize blind spots, and reduce deployment costs.
Metaheuristic algorithms represent a promising approach for addressing WSN node coverage challenges [7]. These algorithms can identify near-optimal solutions efficiently, even under computational resource constraints, making them highly suitable for WSN optimization [8]. Drawing inspiration from natural phenomena, such as swarm behaviors, evolutionary processes, and physical laws, metaheuristics are widely applied in various fields [9]. Their popularity stems from their simplicity, ease of implementation, and minimal parameter requirements. Well-known examples based on physical phenomena in nature include simulated annealing (SA) [10]. Additionally, examples based on evolutionary concepts include Genetic Algorithms (GAs) [11] and Differential Evolution (DE) [12]. Furthermore, examples based on animal behavior include Particle Swarm Optimization (PSO) [13], Ant Colony Optimization (ACO) [14], the Whale Optimization Algorithm (WOA) [15], Grey Wolf Optimizer (GWO) [16], and the Salp Swarm Algorithm (SSA) [17].

1.2. Related Works

To address the inherent limitations of the standard Sparrow Search Algorithm (SSA) [18], the recent literature has extensively explored various enhancement strategies, although a critical review reveals distinct advantages and disadvantages across these methodologies. One prominent approach utilizes chaotic mapping techniques (e.g., CLSSA [19], SFSSA [20], and CMASSA [21]) to optimize the initialization phase. While this offers the advantage of establishing a uniform, high-quality initial distribution of sensor nodes, its critical disadvantage is a strict temporal limitation. As a “Phase-Zero” strategy, it lacks reactive spatial feedback during the terminal convergence phase, rendering it powerless to prevent redundant node clustering at the final target. Another widespread strategy is algorithmic hybridization, which merges base algorithms with other swarm intelligence models like PSO, ACO, or GWO (seen in HSSA [22], ISSA-ACO [23], SSAGWO [24], and HPSBA [25]). The primary advantage of these hybrids is their robust ability to balance global exploration with precise local exploitation, successfully improving solution accuracy in complex mathematical spaces. However, their significant disadvantage lies in their increased computational complexity and tendency to treat WSN nodes purely as abstract data points, thereby failing to address the fundamental physical geometry and spacing constraints of hardware deployment. Finally, to prevent premature convergence, contemporary variants frequently incorporate stochastic disturbance mechanisms such as Lévy flights or Cauchy mutation (e.g., AWSSA [26], ASFSSA [27], EFSSA [28], and EASOA [29]). These operators are highly advantageous for aggressively forcing stagnant agents out of local optima and maintaining population diversity. However, they are somewhat blind to their environment. In real-world WSN deployment, relying on undirected jumps can inadvertently push sensor nodes outside the target monitoring area, which can create new coverage holes. Beyond the standard SSA, a wide variety of advanced swarm intelligence and evolutionary algorithms have recently been adapted to resolve WSN coverage challenges, demonstrating the ongoing relevance of metaheuristic optimization in this domain [30,31,32,33,34,35,36]. Concurrently, the core Sparrow Search Algorithm continues to prove its high versatility, having been successfully hybridized and applied to complex engineering problems outside of spatial monitoring, such as solar photovoltaic parameter prediction [37], cloud manufacturing service composition [38], and variational modal decomposition [39]. To address the limitations of swarm intelligence, researchers frequently integrate physics-inspired mechanics and diversity strategies. For instance, distance-based repulsion and dynamic diversity evaluations successfully prevent spatial clustering in Particle Swarm Optimization [40,41,42], while the Gravitational Search and Fireworks Algorithms use adaptive spatial strategies to balance search phases [43,44,45]. Furthermore, thermodynamic concepts like simulated annealing cooling schedules [46] and the expansion of SSA into advanced predictive modeling [47] demonstrate the value of time-varying constraints. Collectively, these established physical and thermodynamic strategies directly inspire the repulsive and cooling mechanisms of our proposed DAR-SSA. Ultimately, the critical limitation shared across existing approaches is their reliance on mathematical stochasticity at the expense of deterministic spatial awareness. This fundamental gap motivates the proposed Density-Aware Repulsive Sparrow Search Algorithm (DAR-SSA), which replaces environmentally blind stochastic jumps with a physics-guided repulsive force to safely dismantle spatial node overlap and maximize effective geometric coverage. To provide a rigorous and comprehensive evaluation, this study compares the proposed DAR-SSA not only against recent SSA variants but also against these established, advanced optimization methods, including GWO and PSO.

1.3. Contributions

While recent research on node deployment in Wireless Sensor Networks (WSNs) has provided promising results, significant challenges remain. A primary limitation is that most studies focus on specific, isolated scenarios, failing to address algorithm performance across diverse environments. This lack of versatility makes practical application difficult. Furthermore, although the standard Sparrow Search Algorithm (SSA) and its recent variants have improved WSN optimization, they continue to struggle with multi-objective problems and are prone to premature convergence (i.e., becoming trapped in local optima). To overcome these persistent limitations, this study proposes the Density-Aware Repulsive Sparrow Search Algorithm (DAR-SSA) by integrating physics-guided stochastic principles, specifically electrostatics. This approach provides a robust and coherent framework designed to resolve the deficiencies of the standard SSA and significantly enhance node deployment coverage.
The main contributions are outlined as follows:
  • The standard danger-aware update mechanism of SSA is replaced with a novel repulsive force vector. Unlike traditional distance-penalized models that rely on classical inverse-square laws ( 1 d 2 ) and inherently suffer from mathematical singularities during dense initializations, DAR-SSA utilizes a Soft-Core Repulsive Potential field with a bounded exponential decay term. This ensures that agents actively and safely disperse from crowded regions, smoothly mitigating WSN node clustering without triggering spatial overflow.
  • A robust, constant-spark candidate generation method is introduced to mitigate stagnation. By assigning a fixed spark count ( s ) and a stable perturbation amplitude ( A b a s e ) to underperforming agents, the algorithm orchestrates an active, highly stable recovery mechanism. This approach significantly reduces the computational complexity associated with dynamic resource allocation while achieving superior convergence, particularly in unimodal search spaces.
  • The static producer–scrounger ratio (typically 80/20) is replaced by non-linear, time-dependent functions. This allows the algorithm to automatically transition from early-stage exploration to late-stage exploitation.
  • The proposed DAR-SSA is applied to the Wireless Sensor Network (WSN) coverage optimization problem using a realistic probabilistic sensing model rather than a simplified binary model, achieving a robust development scheme that maximizes effective coverage area.
  • DAR-SSA’s performance is validated by comparing it against the traditional SSA, two SSA variants, and advanced optimization methods (PSO and GWO). Experiments are conducted on standard benchmark functions and wireless sensor node coverage deployment to verify its robustness and effectiveness.
  • To ensure our proposed algorithm performs well for both standard benchmark functions and WSN coverage, we apply Wilcoxon test results with algorithm ranking and significant comparisons.

1.4. Paper Organization

The remainder of this paper is organized as follows: Section 2 establishes the mathematical models for WSN coverage. Section 3 provides a theoretical overview of the standard Sparrow Search Algorithm (SSA). Section 4 elaborates on the proposed DAR-SSA and details its implementation for optimizing WSN node deployment. Section 5 presents a comprehensive experimental analysis to validate the effectiveness of the proposed algorithm. Finally, Section 6 summarizes the entire paper and outlines future research directions.

2. System Model

The node coverage model represents a fundamental challenge in Wireless Sensor Networks (WSNs), requiring the strategic determination of node placement and quantity. The primary objective is to maximize the effective coverage area with a certain number of nodes or to ensure complete coverage of a designated target region. Specifically, the WSN node coverage optimization problem addresses scenarios where each sensor operates within a defined core sensing radius, a sensing radius, and a denoted extended radius at its deployed location. Within this monitoring area, individual sensors are constrained to perform sensing and exploration strictly within the limits of the core sensing, sensing, and denoted extended radii [48].
Consequently, node deployment must strictly adhere to constraints regarding the core, sensing, and extended sensing radii to minimize redundant overlaps and ensure optimal monitoring coverage across the target area. The scope of this study is strictly confined to spatial coverage optimization. Our objective function focuses solely on maximizing the effective geometric sensing area and mitigating node redundancy. Consequently, complex network connectivity parameters such as communication radius, base station reachability, connected graph constraints, and explicit routing paths are not modeled in this study. We treat data routing and network connectivity as a separate protocol layer that falls outside the scope of this geometric deployment optimization.
The WSN monitoring models are illustrated in Figure 1. We consider a two-dimensional monitoring area of L = H × W ( m 2 ) . Within this area, N sensor nodes are randomly initialized. Let the set of nodes be denoted as M , represented as M   =   { x i   |   i = 1,2 , , N } . The coordinates of M i are { ( x i ,   y i )   |   i = 1,2 , , N } . The sensing capabilities of each sensor node are defined by a circular range in the sensing area.
To facilitate the computation, the rectangular monitoring area of the deployed network is divided into H × W equal-area grids. The set of target grid points to be monitored, denoted as G   =   { x j   |   j = 1,2 , , L   =   H × W } , is located at the center of each grid. The coordinates of G j are. The Euclidean distance between the sensor node M i and the target grid point G j is defined as:
d ( M i , G j ) = ( x i x j ) 2 + ( y i y j ) 2
To accurately characterize sensing performance within the target region, this study adopts a probabilistic sensing model. This approach is effective for uncertainties caused by environmental noise and signal interference. Unlike the traditional binary (Boolean) model, which assumes a target is either perfectly detected or completely undetected based on a fixed radius, the probabilistic model captures the realistic gradual decay in sensing accuracy as the distance from the sensor increases. Accordingly, the probability of a sensor node detecting a target is defined as follows:
P ( M i , G j ) = { 1                                               i f d ( M i , G j ) c 1 e λ α β       i f . c 1 < d ( M i , G j ) < c 2 0                                               i f d ( M i , G j ) c 2
where c 1 = r s r e and c 2 = r s + r e represent the boundaries of the sensing capability. c 1 defines the core sensing radius, within which target detection is considered certain, while r s is the sensing radius of the sensor nodes that have been defined by the hardware, within which target detection is considered nearly certain based on the errors. Conversely, the region extends beyond c 1 up to c 2 , representing the uncertain sensing zone, where the detection probability decays exponentially. The term α = d ( M i , G j ) c 1 quantifies the distance extending beyond the reliable core radius. The parameters λ , β , and γ control the rate and shape of this exponential decay, enabling the model to adapt to varying sensor characteristics and environmental conditions.
If a target location is monitored by multiple sensor nodes, the total sensing probability increases due to cooperative detection. We define the joint probability P to represent the likelihood that the target is sensed by the collective network. The joint probability P is defined as follows:
P ( M , G j ) = 1 i = 1 N [ 1 P ( M i , G j ) ]
where P ( M , G j ) is the total sensing probability, N represents the total number of sensor nodes, and M denotes the set containing all deployed sensors. The primary objective of the WSN coverage optimization problem is to identify an effective node deployment strategy that maximizes coverage. The coverage rate of a WSN can be characterized as the ratio of the number of targets covered by the sensor set to the total number of targets in the area, expressed as:
C o v = j = 1 L P ( M , G j ) H × W
where Cov represents the coverage rate of the area, which is used as an objective function in the WSN coverage optimization.

3. Sparrow Search Algorithm

3.1. Overview of the Sparrow Search Algorithm

In 2020, the Sparrow Search Algorithm (SSA) was introduced as a novel metaheuristic technique inspired by the collective foraging dynamics and vigilance behaviors of sparrows [18]. In this model, the sparrow population is conceptually divided into two groups: producers (also known as discoverers) and followers (or joiners). Producers are typically characterized by high energy reserves represented by superior fitness values and are responsible for exploring the search space to identify food sources and guide the population’s movement. Followers, in turn, utilize the positional information provided by producers to exploit these resource areas. Furthermore, SSA integrates a vital early warning mechanism: a subset of the population is tasked with vigilance, enabling the flock to detect potential threats and initiate anti-predatory behaviors to avoid danger.
In the simulation experiment, virtual sparrows are used to find food. The sparrows’ positions can be represented by the following matrix:
X = [ x 1,1 x 1,2 x 1 , d x 2,1 x n , 1 x 2,2 x n , 2 x 2 , d x n , d ]
where n is the number of sparrows and d is the dimension of the variables to be optimized. Then, the fitness value of all sparrows can be expressed as the following vector:
F X = [ f ( [ x 1,1 x 1,2 x 1 , d ] ) f ( [ x 2,1 f ( [ x n , 1 x 2,2 x n , 2 x 2 , d ] ) x n , d ] ) ]
The value of each row in F X represents the fitness value of an individual.

3.2. Update Producer

In SSA, producers with higher fitness values lead the foraging process and are granted priority in food acquisition. Due to their role in guiding swarms, the producers are responsible for exploring a broader range than the followers. Consequently, each producer’s position is updated according to the equation below:
X i ,   j t + 1 = { X i ,   j t · e x p ( i α   ·   i t e r m a x )         i f   R 2 < S T X i ,   j t + Q · L .                                       i f   R 2 S T
where t denotes the current iteration, j = 1,2 , , d . The term X i , j t represents the position of the i -th sparrow in the j -th dimension at iteration t . The constant i t e r m a x indicates the maximum number of iterations. α ϵ ( 0 , 1 ] is a random number, while R 2 ϵ [ 0,1 ] and S T ϵ [ 0.5,1.0 ] represent the alarm value and the safety threshold, respectively. Q is a random number following a normal distribution. L denotes a 1 × d matrix in which each element is 1.
R 2 < S T implies that no predators are detected, and the producer enters the wide search mode. R 2 S T implies that a predator is detected. In response, the sparrows must quickly fly to other safe areas to avoid the threat.

3.3. Update Follower

The behavior of followers (scroungers) is defined in (8) and (9). As previously discussed, followers continuously monitor producers. Upon detecting that a producer has identified a high-quality food source, followers immediately leave their current positions to compete for the resource. If a follower successfully competes for the food, it occupies the producer’s location. Otherwise, it executes the movement strategy defined in (9). The specific position update formula for the scroungers is described as follows:
X i , j t + 1 = { Q · e x p ( X w o r s t t     X i , j t i 2 )                                       i f   i   >   n / 2 X b e s t t + 1 + | X i ,   j t X b e s t t + 1 | · A + · L       o t h e r w i s e
where X b e s t t + 1 represents the global best position in the current iteration result, serving as the elite solution. X w o r s t t denotes the current global worst location in the current iteration result. A represents a 1 × d matrix in which each element inside is randomly assigned 1 or −1, and A + = A T ( A A T ) 1 . The condition i   >   n / 2 indicates that the i-th scrounger with the worst fitness value is most likely to be starving, necessitating migration to other areas to forage for energy.

3.4. Update Danger Awareness of Sparrows

In the original SSA formulation, it is assumed that a specific subset of sparrows, typically accounting for 10% to 20% of the total population, is aware of potential danger. These individuals are randomly selected in each iteration to perform anti-predatory behaviors. The position update formula for these vigilant sparrows is defined as:
X i , j t + 1 = { X b e s t t + β · | X i ,   j t X b e s t t |   i f   f i   >   f g X i , j t + K · ( | X i ,   j t X w o r s t t | ( f i f w ) + ε )             i f   f i   =   f g
where X b e s t t denotes the current global optimal position in the current iteration. The parameter β serves as a step size control coefficient, following a standard normal distribution with a mean of 0 and a variance of 1. K [ 1.1 ] is a random variable that determines the direction of movement. f i represents the fitness value of the current sparrow, while f g and f w correspond to the current global best and worst fitness values, respectively. ε is a small constant introduced to prevent zero-division errors. In terms of behavioral logic, f i > f g indicates that the sparrow is located at the periphery of the group. Since X b e s t t represents the safe centers of the population in the current iteration of the population, the sparrow moves to X b e s t t to seek safety, while f i = f g implies that the sparrow is already in the central (optimal) position but has detected a threat. Consequently, it must adjust its position to evade predation. Here, K controls both the direction of movement and the step length required to move closer to other individuals for protection.

4. Proposed Density-Aware Repulsive Sparrow Search Algorithm

4.1. Non-Linear Adaptive State Allocation

The fixed global explorer–local exploiter ratio in the original SSA limits performance. To improve efficiency, the population structure should evolve, prioritizing global explorers early for global exploration and shifting to local exploiters later for local exploitation. The proposed adaptive mechanism for calculating this dynamic ratio is described below:
R ( t ) = R e n d + ( R s t a r t R e n d ) · ( 1 ( t T m a x ) λ )
The global explorer ratio R ( t ) is defined to be controlled by a non-linear function at iteration t . R s t a r t is the initial global explorer ratio, set to be 80% of the population at iteration t = 0. R e n d is the final global explorer ratio, set to be 20% of the population at iteration t = T m a x . The transition exponent is λ = 2 for a non-linear or convex transition.
Figure 2 compares different decay rates. With λ = 1 , the linear drop is too uniform and lacks adaptability when it reaches the end. λ = 3 is often too aggressive; it waits too long to drop and causes a sudden crash at the end. In contrast, λ = 2 provides a natural curve. It introduces non-linearity with a convex curve that balances the transition speed, smoothing the shift from exploration (high global explorer count) to exploitation (low global explorer count).
At the beginning of each iteration t, roles are re-assigned as:
N p ( t ) = r o u n d ( N ( t ) · R ( t ) )
The population N ( t ) is sorted by fitness at iteration t , and the top N p ( t ) individuals are assigned as the global explorer role, where N p ( t ) is determined by the adaptive ratio described previously.

4.2. Density and Repulsion Calculation (Physics-Based)

The distances between a search agent and its neighboring search agents are defined as:
d i   j = X i X j
where X i represents the position of search agent i and X j represents the position of search agent j . d i   j represents the distance between search agents i and j . Although SSA’s group foraging strategy performs well on benchmark functions, it causes node clustering in coverage applications, resulting in significant overlap. To address the premature convergence and physical clustering of agents, the crowding threshold D t h is introduced to define the minimum optimal distance between two nodes. While a standard Boolean disk model might define this strictly by the nominal sensing radius, our probabilistic sensing model requires a boundary condition that accounts for the exponential decay of detection probability. The ideal spatial separation between two probabilistic sensors occurs precisely when the absolute certainty zone (the core radius, c 1 = r s r e ) of one sensor meets the absolute uncertainty boundary (the extended edge, c 2 = r s + r e ) of a neighboring sensor. By explicitly tying the density threshold to this probabilistic interaction, the highly effective boundary condition is formulated as:
D t h = c 1 + c 2 = ( r s r e ) + ( r s + r e ) = 2 · r s
Thus, while the threshold computationally simplifies to 2 r s , its theoretical foundation is rigorously grounded in the interaction between the probabilistic sensing bands, ensuring the density evaluation physically aligns with the nodes’ true sensing decay zones.

Engineering Imperative by Translating Spatial Overlap to Coverage Efficiency

In the physical deployment of a Wireless Sensor Network, the total monitoring capacity is strictly constrained by the finite number of available sensor nodes. To achieve optimal performance, each node must contribute maximally to the overall spatial coverage of the target area. When traditional swarm algorithms (such as the standard SSA or WOA) optimize node placement, their inherent tendency to aggressively exploit local optima causes agents to cluster tightly together. When nodes overlap geometrically, their sensing radii intersect, meaning multiple sensors redundantly monitor the exact same spatial zone.
Consequently, this severe spatial overlap wastes the fundamental sensing capability of the network. By squandering their coverage potential on an already-monitored area, fewer nodes remain available to deploy into unexplored or entirely unmonitored regions. The network suffers from acute spatial inefficiency, where high-density clusters provide zero additional geometric benefit while leaving other zones completely exposed. This localized redundancy leads directly to the creation of structural coverage holes, critical geographical areas that remain permanent blind spots simply because the nodes that should have covered them are instead trapped in redundant clusters.
To resolve this spatial inefficiency, introducing a deterministic repulsive force is an engineering imperative. Rather than serving as a mechanism to prevent node redundancy, this repulsive force actively translates spatial overlap into a directional vector that pushes clustered nodes apart. By forcing overlapping sensors away from one another, their sensing radii are redistributed across a wider, distinct geometric area. This ensures that every node is pushed toward unexplored terrain, systematically eliminating spatial redundancy and maximizing the effective global coverage rate of the network.
Consequently, Figure 3 illustrates how the density kernel functions evaluate the spatial relationships between nodes through the lens of these probabilistic bands, categorizing the coverage overlap into three distinct operational states as follows:
1.
d i   j < 2 c 1 (Severe hard overlap): At this close proximity, the absolute certainty cores of adjacent sensors directly intersect. The network suffers from severe spatial redundancy and wasted energy. To mitigate this, the algorithm triggers a maximum repulsive force, rapidly dispersing the heavily overlapping nodes to preserve network longevity.
2.
2 c 1 d i   j 2 c 2 (Moderate probabilistic overlap): In this transitional state, the distances fall within the sensor decay zones. Sensing still overlaps probabilistically, but certainty decreases as distance increases. This zone triggers a scaled, adaptive repulsive weight that smoothly guides nodes toward optimal separation without causing erratic scattering.
3.
d i   j > 2 c 2 (Safe isolation): Once the distance strictly exceeds the combined uncertainty boundaries, the nodes operate in an independent zone without sensing interference. Because no probabilistic overlap exists here, the repulsive weight becomes zero, allowing the agents to dedicate their movement entirely to the primary exploration and exploitation objectives.
To accurately evaluate the spatial distribution of the search agent, it is necessary to move beyond the simple connectivity metrics. Traditional approaches often rely on a simple count of neighbors to determine density. However, this binary approach fails to capture the severity of the sensing overlap, as it treats a neighbor at the periphery of the sensing range identically to one at the exact same coordinates.
To address this limitation, a local density ( ρ i ) metric is introduced. Rather than a discrete count, ρ i is defined as a weighted sum of proximities. This metric acts as a continuous crowdedness score, differentiating between dense clusters, where search agents are critically close (high overlap), and loose clusters, where search agents are spaced enough. To model the severity of the overlap, this study introduces the equation below:
ρ i = j N i K ( d i   j )
K ( d i   j ) = { 1 ( d i   j D t h ) 2         i f   0 < d i   j < D t h 0                                                                     o t h e r w i s e
N i is the set of the neighbors within distance D t h . Figure 4 illustrates how search agent i receives density from their neighbors’ search agent j .
Figure 4 and Figure 5, and Equation (14) represent the kernel functions established as a smooth, non-linear density gradient that operates on these boundary principles. When nodes are perfectly overlapping ( d i   j 0 ), the function assigns the highest possible weight. This indicates that for very small distances, the weight remains robustly close to 1.0. When the distance hits the threshold ( d i   j D t h ), the function forces the weight to zero, ensuring that any node outside this radius contributes absolutely nothing to the density calculation. As the distance decreases further, the curve bends more sharply to the right. This indicates how the distance penalty accelerates, leading search agents approaching the threshold to lose their influence weight much faster than close search agents. To maintain population diversity and prevent premature convergence, a repulsive force is applied to search agent i based on the proximity of its neighbors.
As shown in Figure 6, the total repulsive force F t o t a l is calculated as the summation of interactions with N i neighboring search agents:
F t o t a l = j N i X i X j d i   j · e x p ( d i   j R s )
where X i and X j represent the position vectors of the current search agent and neighbor j , respectively, d i   j is the Euclidean distance between them, and R s is a scaling constant. The final repulsive vector is obtained by normalizing F t o t a l to ensure consistent magnitude handling:
V r e p = F t o t a l F t o t a l + ϵ
A critical feature of this formulation and a primary distinction from traditional repulsive swarm intelligence models like distance-penalized Particle Swarm Optimization (PSO) is the implementation of a Soft-Core Repulsive Potential field. Traditional algorithms frequently rely on variations of Coulomb’s law or classical inverse-square models ( 1 / d 2 ). The fundamental mathematical flaw in applying inverse-square laws to computational WSN optimization is the creation of singularities. As the inter-node distance ( d i   j ) approaches zero, a state that frequently occurs during random initializations or dense spatial clustering, the calculated repulsive force approaches infinity. In computational optimization, this singularity leads to severe numerical instability, floating-point overflow, and the aggressive, uncontrolled ejection of search agents far beyond the functional boundaries of the search space.
To resolve this, DAR-SSA replaces the dangerous inverse-square singularity with an exponentially decaying term, e x p ( d i   j / R s ) . By utilizing this function, the algorithm acts as a bounded soft-core potential. As the distance between nodes approaches zero ( d i   j 0 ), the repulsive force does not reach infinity but instead smoothly plateaus at a finite maximum constant. This ensures absolute gradient stability even during the densest network initializations. This precise coupling of soft-core physical repulsion with thermodynamic resource allocation represents a novel paradigm specifically engineered to safely dismantle terminal-phase WSN node clustering.

4.3. Density-Aware Candidate Generation (Hybrid Update)

This section defines the core movement mechanics of the algorithm. The candidate generation process is governed by a hybrid update rule that balances environmental pressure against temporal cooling. First, we establish a global convergence constraint using a Time-Varying Decay (TVRD) coefficient, denoted as δ ( t ) . This mechanism functions as a system cooling schedule, similar to the temperature reduction in simulated annealing:
δ ( t ) = ( 1 t T m a x ) γ
where δ ( t ) serves as a global damper. At t = 0 , the system has maximum energy ( δ ( t ) = 1 ) , allowing for unrestricted movement. As t T m a x , δ ( t ) 0 , effectively freezing the system to ensure stability and precision in the final iterations. To facilitate a robust balance between global exploration and local exploitation, the candidate generation process utilizes an Adaptive Amplitude ( A i ) mechanism. This mechanism modulates the step size of each search agent based on both the current iteration number and the local population density. This factor acts as a scaling coefficient that decreases from 1 to 0. The amplitude A i is computed as the product of baseline potential, density factor, and temporal decay:
A i = A b a s e · ( 1 + Γ · ρ i ) · δ ( t )
The parameter Γ is introduced as a repulsion gain coefficient. It modulates the sensitivity of the search radius A i to the local population density ρ i . By scaling the density term, Γ allows the algorithm to be tuned for different optimization landscapes. A larger Γ induces stronger repulsive forces to escape deep local optima, while a smaller Γ preserves fine-grained exploitation capabilities.
The movement trajectory is defined by a hybrid vector, d h y b r i d , which synthesizes probabilistic exploration with density-aware environmental evasion. The direction is computed via a biased stochastic vector addition as follows:
d h y b r i d = ( 1 ω ) r r a n d + ω V r e p
where r r a n d is a normalized random vector drawn from a uniform distribution, providing the fundamental stochasticity required for global search and exploration. V r e p is the physics-inspired repulsion vector calculated from the exact spatial geometry and local densities of the neighborhood. This vector provides a directional bias away from population clusters. ω ϵ [ 0,1 ] is the weighting factor that regulates the influence of this physical bias. By superimposing the calculated repulsive bias ( V r e p ) onto the stochastic random vector ( r r a n d ), the algorithm implements a physics-guided biased random walk, achieving environmental evasion without eliminating the probabilistic exploration essential to swarm intelligence. This hybrid approach ensures that while the search agent moves stochastically, its overall trajectory drifts away from over-densified regions, thereby reducing the probability of collision and redundant searching.
To generate the final candidate solution, the algorithm applies the computed movement vector to the current position. The update mechanism incorporates a dimensional scaling factor to map the normalized algorithmic parameters onto the specific constraints of the search space:
X n e w = X o l d + A i · d h y b r i d · ( U B L B )
The components A i (amplitude) and d h y b r i d (direction) are inherently unitless relative to the problem constraints. To ensure valid exploration, the term ( U B L B ) is applied as a dimensional scalar. This operation denormalizes the step vector, converting the relative jump size into absolute physical units appropriate for the solution space.
To ensure the convergence of the algorithm, a greedy selection strategy is applied to the candidate solutions. While the hybrid movement vector allows search agents to explore and avoid crowding, it is stochastic and does not guarantee an immediate improvement in fitness. Therefore, the update rule evaluates the quality of the candidate position X n e w against the current position X i t . The search agent moves to the new location only if the fitness improves; otherwise, it retains its previous position:
X i t + 1 = { X n e w         i f   f ( X n e w ) < f ( X i t ) X i t                                               o t h e r w i s e

4.4. Parameter Sensitivity and Contextual Scaling

A critical feature of the proposed algorithm is the adaptive definition of the sensing radius R s . In engineering applications like WSN coverage optimization, R s is dictated by the physical properties of the sensor. However, in unconstrained numerical optimization, utilizing fixed absolute values for R s would be ineffective due to variation in domain sizes across different benchmark functions.
To address this, a dimension-aware scaling mechanism is introduced. As illustrated by the geometric principles in Figure 7, the diagonal length of the search space increases with dimensionality. Consequently, for standard test functions, R s is dynamically computed to maintain scale invariance:
R s = C s c a l e · d i m · ( U B L B )
This formulation ensures that the interaction range scales linearly with the diagonal size of the hypercube search space. Consequently, the pressure exerted by neighboring search agents remains consistent, whether the algorithm is solving a 2D problem or a 100D problem. We set C s c a l e = 5 % of a total diagonal length within the hypercube search space to balance local repulsive influence with global separations.
The complete computational procedure for the proposed DAR-SSA is outlined in Algorithm 1, and its corresponding step-by-step execution workflow is illustrated in Figure 8.
Algorithm 1. Pseudocode for DAR-SSA.
Input:
Parameter: Population size ( N ), Dimension ( d i m ), Bounds ( L B ,   U B ), Max Iterations ( T m a x )
SSA Constants: ST (Safety threshold), PD (global explorer number), SD (search agent perceive danger)
DAR-SSA Constants: s   (Spark counts), A b a s e (amplitudes), γ (decay)
Output:
Global best positing ( X b e s t ), fitness ( F b e s t )
  • Initialize population X with random positions between L B and U B
  • Calculate the fitness for all individuals F i = o b j F u n c ( X i ) for i   =   1 N
  • Identify the global best solution X b e s t and F b e s t
  • While (t < T m a x ):
  •           Using Equation (18) to calculate decay factor
  •           Using Equation (10) to calculate adaptive role
  •           Sort population X and their fitness F from the best to worst
  •           for i = 1 to N p
  •                     Using Equation (7) to update search agent’s location
  •           Clamp X i within bounds L B ,   U B and recalculate fitness F i
  •           for i = N p + 1 to N
  •                     Using Equation (8) to update search agent’s location
  •           Clamp X i within bounds L B ,   U B and recalculate fitness F i
  •           Find the current best in population. If better than X b e s t , update X b e s t and F b e s t
  •           Select SD indices randomly from the population.
  •           for each selected index k in SD
  •                     Using Equation (12) for pairwise distance
  •                     Using Equations (13)–(17) to calculate density and repulsive force
  •                     Initialize local_best_spark
  •                     for j = 1 to S (spark count)
  •                               Using Equation (20) to generate the hybrid direction
  •                               Using Equation (21) to displacement the position
  •                               Clamp X n e w and evaluate F n e w
  •                               Update local_best_spark if F n e w is better
  •                     Using Equation (22) to apply greedy selection
  •           t = t + 1
  • return X b e s t and F b e s t

5. Simulation Experiments and Analysis

Twenty-one benchmark functions are used to test the proposed Density-Aware Repulsive Sparrow Search Algorithm, which are listed in Table 1. There are two categories of benchmark functions. F1–F11 are unimodal functions, which mark the category as U. F12–F21 are multimodal functions, which mark the category as M.

5.1. Standard Test Function Experiments

To evaluate the performance of the proposed DAR-SSA in solving numerical optimization problems, it is benchmarked against the original SSA [18]; two variants, namely, EFSSA [28] and EASOA [29]; and two advanced classical optimization algorithms (PSO [13] and GWO [16]). The parameter settings for these comparative algorithms are detailed in Table 2. All experiments were conducted using a Python 3.11.5 environment on a system with an Apple M1 chip and 16 GB of RAM.

5.1.1. Comparison Algorithm Parameter Settings

To ensure the reasonableness and fairness of the comparison, the number of test functions in the numerical optimization experiment is set to 30, the population size is set to 100, and the maximum number of iterations is set to 500.

5.1.2. Comparison Results: DAR-SSA vs. Other Algorithms

For the same test functions, each algorithm is independently run 30 times. The mean (mean), standard deviation (Std), best result (best), and worst result (worst) are calculated according to the statistical value. Table 3 shows the comparison results of three algorithms with dim = 30. The Wilcoxon rank-sum test results calculated at a significance level of 0.05 are also listed in Table 3. The second-to-last row indicates the number of successes (+), failures (−), and approximations (≈) of the compared algorithms with respect to DAR-SSA. The last row shows the rank of the compared algorithms. The results show that for functions F1, F2, F6, F7, F8, F9, F10, F11, F12, F14, F15, and F17, both the proposed DAR-SSA and variant EFSSA reach the best average performance. For functions F3 and F16, the traditional SSA performs the best. For function F11, EFSSA and the proposed algorithm DAR-SSA has the best average performance. For function F5, the traditional SSA, variant EFSSA, and the proposed algorithm DAR-SSA have the best average performance at the greatest value. For function F19, traditional SSA, variant EFSSA, PSO, and the proposed algorithm DAR-SSA have the best average performance at the greatest value. For function F21, variant EFSSA, GWO, and the proposed DAR-SSA have the best average performance at the greatest value. For function F20, the average of variant EFSSA outperforms the other algorithms. For functions F4, F13, and F18, the average of DAR-SSA outperforms the other algorithms.
The convergence performance of the proposed DAR-SSA alongside the comparative algorithms for selected benchmark functions is visualized in Figure 9. Furthermore, to validate the statistical significance of the results, Wilcoxon Signed-Rank tests were performed, as shown in Table 4. The analysis compares DAR-SSA against SSA, EFSSA, and EASOA. All resulting p-values (0.0056, 0.0232, 0.0000298, 0.0000443, and 0.000297, respectively) are less than 0.05. This indicates a significant performance difference, statistically confirming DAR-SSA’s superiority over the competing algorithms.

5.2. Component Ablation Analysis

To rigorously estimate the significance of the individual components introduced in the Density-Aware Repulsive Sparrow Search Algorithm (DAR-SSA), a component ablation study was conducted. An ablation study systematically disables distinct mechanical enhancements to isolate and quantify their specific contributions to the algorithm’s overall performance.
To manage spatial coverage overhead while ensuring a comprehensive evaluation, the analysis was executed on a representative subset of the experimental framework, the primary high-density WSN coverage configuration (Experiment 1), to validate physical applicability.
The methodology defines four specific algorithmic variants for this analysis.
  • Full DAR-SSA: The complete proposed framework containing all physical and thermodynamic enhancements.
  • DAR-SSA-NA (No Adaptation): Disables the time-varying non-linear state allocation rule, forcing the algorithm to rely on the standard, static 80/20 discoverer–follower ratio throughout all iterations.
  • DAR-SSA-NR (No Repulsion): Completely removes the density-aware repulsive vector ( V r e p ). This variant relies purely on the standard danger-aware stochastic update, effectively stripping the algorithm of its spatial awareness.
  • DAR-SSA-NH (No Hybrid Update): This variant turns off the specific enhancements, specifically the Time-Varying Decay ( β ) and Adaptive Amplitude ( A i ).
The comparative performance of these variants is presented in Table 5.

5.3. Parameter Sensitivity Analysis

To evaluate the stability and optimal configuration of the proposed framework, a parameter sensitivity analysis was conducted on the core variables unique to the density-aware repulsive mechanism. The analysis focused on the repulsion gain coefficient ( Γ ), the hybrid weighting factor ( ω ), and the spark count ( s ). Each parameter was tested across a defined range while holding the others constant, with the average coverage rate and standard deviation recorded over independent simulation runs on Experiment 1 in Table 6. The results are visualized in Figure 10. The Γ parameter controls the intensity of the spatial dispersion when nodes are clustered. It was tested across the range of [0.5, 1.0, 1.5, 2.0, 2.5]. The algorithm demonstrated strong robustness across an average coverage 95.35%, with a standard deviation of 0.9098 with Γ = 0.5 . The ω parameter balances the deterministic repulsive vector against stochastic exploration during the candidate generation phase. When tested across [0.3, 0.5, 0.7, 0.9], the analysis revealed a distinct peak at ω = 0.3 , which elevated the average coverage to 96.30% with a standard deviation of 0.9030. The spark count defines the number of local search attempts generated during the stagnation recovery phase. It was tested across [10,14,18,22,26]. The analysis showed that the spark count s = 10 maintained excellent performance, with an average coverage of 95.38% and a standard deviation of 0.6893.

5.4. WSN Coverage Performance Optimization

We compared the proposed DAR-SSA with traditional algorithms like SSA, the classical advancement optimization model (PSO and GWO), and the two improved variants of SSA: EFSSA and EASOA to assess how well it performs in optimizing WSN node deployment while preserving a constant monitoring area and sensor types. The purpose of this comparison was to evaluate DAR-SSA’s performance in enhancing Wireless Sensor Network coverage and optimization.

5.4.1. Simulation Parameter Settings

Experiment 1 evaluates a high-density scenario (small area, many nodes), simulating urban or small-scale monitoring. Experiment 2 models a low-density scenario (large area, fewer nodes), typical of remote environmental or ecological applications. To ensure a fair comparison, the optimization algorithm’s population size is fixed at 30 with a maximum of 300 iterations for all tests. Table 4 provides the complete parameter specifications.

5.4.2. Coverage Experiment Result Analysis

The DAR-SSA’s performance in WSN coverage optimization is validated through two simulated experiments involving different scenarios. The algorithm was compared against three other algorithms. To ensure statistical reliability, each algorithm underwent 30 independent runs, and the average results were recorded. Table 7 confirms that DAR-SSA outperforms the comparison algorithms across all metrics in both experiments.
Figure 11 and Figure 12 illustrate the resulting coverage maps. Visual inspection confirms that DAR-SSA provides superior coverage in both scenarios, exhibiting a more uniform node distribution with significantly fewer redundancies. This demonstrates the algorithm’s robustness and excellent adaptability to diverse monitoring environments.
In each of the two experimental environments, all algorithms underwent 300 iterations, and their convergence curves are depicted in Figure 13. Notably, DAR-SSA exhibited superior optimization capabilities compared to the other five algorithms. While the other five algorithms tended to converge after 200 iterations and struggled to escape local optima, DAR-SSA continued to refine its search for a better optimum.
The coverage results for all algorithms in the two experimental environments are presented in Figure 14. The results indicate that DAR-SSA ultimately outperforms the other three algorithms in terms of coverage. In Experiment 1, it hit 95.25%, which is the highest in the group. And in Experiment 2, it improved further to 97.12%, again securing the top spot.
We also ran empirical tests to evaluate the actual computational overhead introduced by the density calculations and repulsive forces. Specifically, we compared the efficiency of our proposed DAR-SSA against the standard SSA using the high-density WSN setup from Experiment 1. To ensure the results were statistically reliable, we recorded the execution times across 30 independent simulation runs for each algorithm. These average runtimes are summarized in Table 8.
While incorporating local density metrics and the Soft-Core Repulsive Potential field naturally adds some computational weight to each iteration, DAR-SSA still manages to achieve a lower overall execution time than the standard SSA. This efficiency comes from the algorithm’s more intentional movement strategy. By actively pushing nodes away from dense clusters, the repulsive vector cuts down on wasted exploratory steps. Because the algorithm zeroes in on an optimal layout more directly, the time saved by avoiding unnecessary searches easily outweighs the extra time spent calculating the densities.

6. Limitations and Future Work

DAR-SSA demonstrates strong coverage performance across varying network scales but also exhibits important limitations. As the number of sensor nodes or the size of the coverage area increases, the computational process requires longer processing times and reduces scalability for extensive networks. This increased complexity can challenge real-time or resource-constrained applications.
Future research will focus on four key directions to address these challenges. First, our future research will aim to improve adaptability in dynamic environments, optimize energy efficiency, and validate the algorithm through real-world implementation. Second, we plan to extend the DAR-SSA framework to three-dimensional (3D) deployment scenarios, such as UAV swarms or underwater sensor networks, where the coverage optimization problem involves more complex spatial degrees of freedom. Third, we intend to incorporate a comprehensive energy consumption model that accounts for the mechanical energy required for sensor movement. This will allow the optimization objective to balance maximum coverage with minimal energy expenditure, extending the operational lifespan of WSNs. Finally, we will integrate network connectivity constraints, explicitly modeling communication radii and routing paths to ensure end-to-end data reachability to base stations.

7. Conclusions

This study addresses the critical challenges of coverage holes and node redundancy in Wireless Sensor Networks (WSNs) by proposing the Density-Aware Repulsive Sparrow Search Algorithm (DAR-SSA). Unlike contemporary metaheuristic variants that rely on blind Lévy flights or chaos mappings to inject untargeted diversity, the DAR-SSA framework integrates physics-based repulsive forces with a constant-spark perturbation mechanism to employ a biased stochastic, spatially aware hybrid model. While traditional heavy-tailed coordinate jumps are mathematically blind to the geometric density of the surrounding environment, often inadvertently placing nodes into coverage holes or pushing them outside the functional network boundary, the repulsive force deployed in DAR-SSA acts as a calculated directional bias. It utilizes exact local neighborhood densities to influence the underlying probabilistic search, actively steering agents away from geometric redundancies. By strictly enforcing a crowding threshold based on the hardware sensing radius, DAR-SSA effectively reduces premature convergence, leading to a much more uniform distribution of nodes. This precise action minimizes overlapping sensing radii, ensuring that every deployed node maximally contributes to expanding the global coverage footprint rather than wasting placement potential in already-monitored zones. Experimental validation across 21 standard benchmark functions and two WSN coverage scenarios, further refined by a rigorous component ablation study, demonstrates that DAR-SSA achieves superior convergence accuracy and stability compared to the standard SSA, EFSSA, EASOA, PSO and GWO, all while significantly reducing computational complexity. Specifically, in WSN coverage tasks, the finalized DAR-SSA attained the highest effective coverage rates of 95.25% and 97.12%, with statistical significance confirmed via the Wilcoxon rank-sum test. Consequently, the findings demonstrate that the repulsive mechanism and simplified recovery architecture extend beyond standard exploratory heuristics. Rather, they serve as essential, physics-informed mechanisms that maximize spatial utilization and mitigate coverage gaps, thereby providing a robust framework for large-scale node deployment. Even though calculating local densities adds a slight computational cost per iteration, this is more than offset by the algorithm’s ability to avoid redundant searches, ultimately leading to faster overall convergence.

Author Contributions

Conceptualization, H.K. and V.L.; methodology, V.L.; software, V.L.; resources, H.K.; data curation, H.K. and V.L.; writing—original draft preparation, V.L.; writing—review and editing, H.K., V.L., V.N.V., C.K. and S.H.; visualization, V.L.; supervision, S.H.; funding acquisition, H.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Yick, J.; Mukherjee, B.; Ghosal, D. Wireless sensor network survey. Comput. Netw. 2008, 52, 2292–2330. [Google Scholar] [CrossRef]
  2. Qiao, Y.; Dao, T.K.; Pan, J.S.; Chu, S.C.; Nguyen, T.T. Diversity teams in soccer league competition algorithm for wireless sensor network deployment problem. Symmetry 2020, 12, 445. [Google Scholar] [CrossRef]
  3. Dao, T.K.; Yu, J.; Nguyen, T.T.; Ngo, T.G. A Hybrid Improved MVO and FNN for Identifying Collected Data Failure in Cluster Heads in WSN. IEEE Access 2020, 8, 124311–124322. [Google Scholar] [CrossRef]
  4. Wang, X.; Ma, J.; Wang, S.; Bi, D. Distributed energy optimization for target tracking in wireless sensor networks. IEEE Trans. Mob. Comput. 2010, 9, 73–86. [Google Scholar] [CrossRef]
  5. Othman, M.F.; Shazali, K. Wireless Sensor Network Applications: A Study in Environment Monitoring System. Procedia Eng. 2012, 41, 1204–1210. [Google Scholar] [CrossRef]
  6. Alemdar, H.; Ersoy, C. Wireless sensor networks for healthcare: A survey. Comput. Netw. 2010, 54, 2688–2710. [Google Scholar] [CrossRef]
  7. Mahdavi, S.; Shiri, M.E.; Rahnamayan, S. Metaheuristics in large-scale global continuous optimization: A survey. Inf. Sci. 2015, 295, 407–428. [Google Scholar] [CrossRef]
  8. Pan, T.-S.; Dao, T.-K.; Nguyen, T.-T.; Chu, S.-C. Optimal Base Station Locations in Heterogeneous Wireless Sensor Network Based on Hybrid Particle Swarm Optimization with Bat Algorithm. J. Comput. 2015, 25, 14–25. [Google Scholar]
  9. Akyildiz, I.F.; Su, W.; Sankarasubramaniam, Y.; Cayirci, E. Wireless sensor networks: A survey. Comput. Netw. 2002, 38, 393–422. [Google Scholar] [CrossRef]
  10. Van Laarhoven, P.J.M.; Aarts, E.H.L. Chapter 2 Simulated annealing 2.1 Introduction of the algorithm. In Simulated Annealing: Theory and Applications; Springer: Dordrecht, The Netherlands, 1987. [Google Scholar]
  11. Whitley, D. A genetic algorithm tutorial. Stat. Comput. 1994, 4, 65–85. [Google Scholar] [CrossRef]
  12. Kennedy, J.; Eberhart, R. Particle Swarm Optimization. In Proceedings of the ICNN’95—International Conference on Neural Networks, Perth, WA, Australia, 27 November–1 December 1995. [Google Scholar]
  13. Storn, R. On the usage of differential evolution for function optimization. In Proceedings of the North American Fuzzy Information Processing, Berkeley, CA, USA, 19–22 June 1996; pp. 519–523. [Google Scholar]
  14. Dorigo, M.; Birattari, M.; Stutzle, T. Ant colony optimization. IEEE Comput. Intell. Mag. 2006, 1, 28–39. [Google Scholar] [CrossRef]
  15. Mirjalili, S.; Lewis, A. The Whale Optimization Algorithm. Adv. Eng. Softw. 2016, 95, 51–67. [Google Scholar] [CrossRef]
  16. Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey Wolf Optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef]
  17. Mirjalili, S.; Gandomi, A.H.; Mirjalili, S.Z.; Saremi, S.; Faris, H.; Mirjalili, S.M. Salp Swarm Algorithm: A bio-inspired optimizer for engineering design problems. Adv. Eng. Softw. 2017, 114, 163–191. [Google Scholar] [CrossRef]
  18. Xue, J.; Shen, B. A novel swarm intelligence optimization approach: Sparrow search algorithm. Syst. Sci. Control Eng. 2020, 8, 22–34. [Google Scholar] [CrossRef]
  19. Wang, Z.; Huang, X.; Zhu, D.; Zhou, C.; He, K. An Improved Sparrow Search Algorithm for Global Optimization with Customization-Based Mechanism. Axioms 2023, 12, 767. [Google Scholar] [CrossRef]
  20. Ren, X.; Chen, S.; Wang, K.; Tan, J. Design and application of improved sparrow search algorithm based on sine cosine and firefly perturbation. Math. Biosci. Eng. 2022, 19, 11422–11452. [Google Scholar] [CrossRef] [PubMed]
  21. Qiu, S.; Li, A. Application of Chaos Mutation Adaptive Sparrow Search Algorithm in Edge Data Compression. Sensors 2022, 22, 5425. [Google Scholar] [CrossRef] [PubMed]
  22. Fan, Y.; Zhang, Y.; Guo, B.; Luo, X.; Peng, Q.; Jin, Z. A Hybrid Sparrow Search Algorithm of the Hyperparameter Optimization in Deep Learning. Mathematics 2022, 10, 3019. [Google Scholar] [CrossRef]
  23. Tian, Y.; Zhang, J.; Wang, Q.; Liu, S.; Guo, Z.; Zhang, H. Application of Hybrid Algorithm Based on Ant Colony Optimization and Sparrow Search in UAV Path Planning. Int. J. Comput. Intell. Syst. 2024, 17, 286. [Google Scholar] [CrossRef]
  24. Fadheel, B.A.; Wahab, N.I.A.; Mahdi, A.J.; Premkumar, M.; Radzi, M.A.B.M.; Soh, A.B.C.; Veerasamy, V.; Irudayaraj, A.X.R. A Hybrid Grey Wolf Assisted-Sparrow Search Algorithm for Frequency Control of RE Integrated System. Energies 2023, 16, 1177. [Google Scholar] [CrossRef]
  25. Zhang, M.; Wang, D.; Yang, M.; Tan, W.; Yang, J. HPSBA: A Modified Hybrid Framework with Convergence Analysis for Solving Wireless Sensor Network Coverage Optimization Problem. Axioms 2022, 11, 675. [Google Scholar] [CrossRef]
  26. Hu, L.; Wang, D. Research and Application of an Improved Sparrow Search Algorithm. Appl. Sci. 2024, 14, 3460. [Google Scholar] [CrossRef]
  27. Ouyang, C.; Qiu, Y.; Zhu, D. Adaptive Spiral Flying Sparrow Search Algorithm. Sci. Program. 2021, 2021, 6505253. [Google Scholar] [CrossRef]
  28. Wang, Z.; Tian, L.; Wu, W.; Lin, L.; Li, Z.; Tong, Y. A Metaheuristic Algorithm for Coverage Enhancement of Wireless Sensor Networks. Wirel. Commun. Mob. Comput. 2022, 2022, 7732989. [Google Scholar] [CrossRef]
  29. Zhang, Y.; Nie, Z.; Zhang, H. Distributed data acquisition optimization algorithm for wireless sensor networks. Meas. Sens. 2025, 39, 101883. [Google Scholar] [CrossRef]
  30. Zhang, Y.; Cao, L.; Yue, Y.; Cai, Y.; Hang, B. A Novel Coverage Optimization Strategy Based on Grey Wolf Algorithm Optimized by Simulated Annealing for Wireless Sensor Networks. Comput. Intell. Neurosci. 2021, 2021, 6688408. [Google Scholar] [CrossRef] [PubMed]
  31. Dao, T.K.; Chu, S.C.; Nguyen, T.T.; Nguyen, T.D.; Nguyen, V.T. An Optimal WSN Node Coverage Based on Enhanced Archimedes Optimization Algorithm. Entropy 2022, 24, 1018. [Google Scholar] [CrossRef] [PubMed]
  32. Sun, S.; Chen, Y.; Dong, L. An optimization method for wireless sensor networks coverage based on genetic algorithm and reinforced whale algorithm. Math. Biosci. Eng. 2024, 21, 2787–2812. [Google Scholar] [CrossRef] [PubMed]
  33. Xu, Y.; Zhang, B.; Zhang, Y. Application of an Enhanced Whale Optimization Algorithm on Coverage Optimization of Sensor. Biomimetics 2023, 8, 354. [Google Scholar] [CrossRef] [PubMed]
  34. Yue, Y.; Cao, L.; Zhong, Y. Novel WSN Coverage Optimization Strategy via Monarch Butterfly Algorithm and Particle Swarm Optimization. Res. Sq. 2022, 135, 225–2280. [Google Scholar] [CrossRef] [PubMed]
  35. Huang, Y.; Zhang, J.; Wei, W.; Qin, T.; Fan, Y.; Luo, X.; Yang, J. Research on Coverage Optimization in a WSN Based on an Improved COOT Bird Algorithm. Sensors 2022, 22, 3383. [Google Scholar] [CrossRef] [PubMed]
  36. Chen, W.; Yang, P.; Zhao, W.; Wei, L. Improved Ant Lion Optimizer for Coverage Optimization in Wireless Sensor Networks. Wirel. Commun. Mob. Comput. 2022, 2022, 8808575. [Google Scholar] [CrossRef]
  37. Abd El-Mageed, A.A.; Al-Hamadi, A.; Bakheet, S.; Abd El-Rahiem, A.H. Hybrid Sparrow Search-Exponential Distribution Optimization with Differential Evolution for Parameter Prediction of Solar Photovoltaic Models. Algorithms 2024, 17, 26. [Google Scholar] [CrossRef]
  38. Zhou, L.; Li, B.; Yu, Q.; Dai, G.; Zhou, G. Multi-Strategy Improvement of Sparrow Search Algorithm for Cloud Manufacturing Service Composition. Wuhan Univ. J. Nat. Sci. 2024, 29, 323–337. [Google Scholar] [CrossRef]
  39. Du, H.; Wang, J.; Qian, W.; Zhang, X. An Improved Sparrow Search Algorithm for the Optimization of Variational Modal Decomposition Parameters. Appl. Sci. 2024, 14, 2174. [Google Scholar] [CrossRef]
  40. Pluhacek, M.; Zelinka, I.; Senkerik, R.; Viktorin, A.; Kadavy, T. Particle Swarm Optimization with Distance Based Repulsivity. MENDEL-Soft Comput. J. 2018, 24, 81–86. [Google Scholar] [CrossRef]
  41. Zhou, H.; Wei, X. Particle swarm optimization based on a novel evaluation of diversity. Algorithms 2021, 14, 29. [Google Scholar] [CrossRef]
  42. Novoa-Hernández, P.; Pelta, D.A.; Corona, C.C. Improvement Strategies for Multi-swarm PSO in Dynamic Environments. In Nature Inspired Cooperative Strategies for Optimization (NICSO 2010); González, J.R., Pelta, D.A., Cruz, C., Terrazas, G., Krasnogor, N., Eds.; Springer: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
  43. Yang, Z.; Cai, Y.; Li, G. Improved Gravitational Search Algorithm Based on Adaptive Strategies. Entropy 2022, 24, 1826. [Google Scholar] [CrossRef] [PubMed]
  44. Li, Y.; Tan, Y. Hierarchical Collaborated Fireworks Algorithm. Electronics 2022, 11, 948. [Google Scholar] [CrossRef]
  45. Rashedi, E.; Nezamabadi-pour, H.; Saryazdi, S. GSA: A Gravitational Search Algorithm. Inf. Sci. 2009, 179, 2232–2248. [Google Scholar] [CrossRef]
  46. Mahdi, W.; Medjahed, S.A.; Ouali, M. Performance analysis of simulated annealing cooling schedules in the context of dense image matching. Comput. Y Sist. 2017, 21, 493–501. [Google Scholar] [CrossRef]
  47. Li, J.; Wu, Y. Improved Sparrow Search Algorithm with the Extreme Learning Machine and Its Application for Prediction. Neural Process. Lett. 2022, 54, 4189–4209. [Google Scholar] [CrossRef]
  48. Muhammad, H.; Nam, H. Sensor Node Deployment Optimization for Continuous Coverage in WSNs. Sensors 2025, 25, 3620. [Google Scholar] [CrossRef] [PubMed]
Figure 1. WSN monitoring models.
Figure 1. WSN monitoring models.
Sensors 26 04076 g001
Figure 2. Adaptive convergence state controller.
Figure 2. Adaptive convergence state controller.
Sensors 26 04076 g002
Figure 3. Boundary conditions for the crowding threshold relative to the sensor radius.
Figure 3. Boundary conditions for the crowding threshold relative to the sensor radius.
Sensors 26 04076 g003
Figure 4. Local density of each search agent (sparrow).
Figure 4. Local density of each search agent (sparrow).
Sensors 26 04076 g004
Figure 5. Total local density for each search agent.
Figure 5. Total local density for each search agent.
Sensors 26 04076 g005
Figure 6. Total repulsive force for a search agent (sparrow).
Figure 6. Total repulsive force for a search agent (sparrow).
Sensors 26 04076 g006
Figure 7. Diagonal length.
Figure 7. Diagonal length.
Sensors 26 04076 g007
Figure 8. Flowchart of DAR-SSA.
Figure 8. Flowchart of DAR-SSA.
Sensors 26 04076 g008
Figure 9. Convergence curves of the compared algorithms on selected standard benchmark functions.
Figure 9. Convergence curves of the compared algorithms on selected standard benchmark functions.
Sensors 26 04076 g009
Figure 10. Parameter sensitivity analysis (30 independent runs).
Figure 10. Parameter sensitivity analysis (30 independent runs).
Sensors 26 04076 g010
Figure 11. Coverage optimization comparison chart (Experiment 1).
Figure 11. Coverage optimization comparison chart (Experiment 1).
Sensors 26 04076 g011
Figure 12. Coverage optimization comparison chart (Experiment 2).
Figure 12. Coverage optimization comparison chart (Experiment 2).
Sensors 26 04076 g012
Figure 13. Algorithm coverage optimization convergence curves.
Figure 13. Algorithm coverage optimization convergence curves.
Sensors 26 04076 g013
Figure 14. Coverage comparison in different experiments with various algorithms.
Figure 14. Coverage comparison in different experiments with various algorithms.
Sensors 26 04076 g014
Table 1. The 21 benchmark functions.
Table 1. The 21 benchmark functions.
NameFormulaSearch RangeDim f m i n Category
Sphere F 1 = i = 1 n x i 2 [−100, 100]300U
Schwefel 1.2 F 2 = i = 1 n ( j = 1 i x j ) 2 [−10, 10]300U
Rosenbrock F 3 = i = 1 n ( 100 ( x i + 1 x i 2 ) 2 + ( x i 1 ) 2 ) [−30, 30]300U
Step F 4 = i = 1 n ( x i + 0.5 ) 2 [−100, 100]300U
Exponential F 5 = e x p ( 0.5 i = 1 n x i ) [−10, 10]300U
Sum power F 6 = i = 1 n | x i | ( i + 1 ) [−1, 1]300U
Sum square F 7 = i = 1 n i x i 2 [−10, 10]300U
Cigar F 8 = x 1 2 + 10 6 i = 2 n x i 2 [−100, 100]300U
Zakharov F 9 = i = 1 n x i 2 + ( i = 1 n 0.5 i x i ) 2 + ( i = 1 n 0.5 i x i ) 4 [−5.12, 5.12]300U
Tablet F 10 = 10 6 x 1 2 + i = 2 n x i 2 [−10, 10]300U
Elliptic F 11 = i = 1 n ( 10 6 ) i 1 n 1 x i 2 [−100, 100]300U
Ackley F 12 = 20 e x p ( 0.2 1 n i = 1 n x i 2 ) e x p ( 1 n i = 1 n c o s ( 2 π x i ) + 20 + e ) [−32, 32]300M
Levy F 13 = s i n 2 ( 3 π x 1 ) + i = 1 n 1 ( x i 1 ) 2 [ 1 + s i n 2 ( 3 π x i + 1 ) ] + | x n 1 | · [ 1 + s i n 2 ( 2 π x n ) ] [−2, 2]300M
Rastrigin F 14 = i = 1 n ( x i 2 10 c o s ( 2 π x i ) + 10 ) [−5.12, 5.12]300M
Griewank F 15 = 1 4000 i = 1 n x i 2 i = 1 n c o s ( x i i ) + 1 [−600, 600]300M
Schwefel 2.26 F 16 = i = 1 n [ x i s i n ( | x i | ) ] [−500, 500]30−418.98M
NCRastrigin F 17 = i = 1 n ( y i 2 10 c o s ( 2 π y i ) + 10 ) ,  
y i = { x i ,                                                       | x i | < 0.5 r o u n d ( 2 x i ) / 2 ,       | x i | 0.5
[−5.12, 5.12]300M
Penalized 1 F 18 = π n { i = 1 n 1 ( y i 1 ) 2 [ 1 + 10 s i n 2 ( π y i + 1 ) ] + ( y n 1 ) 2 + 10 s i n 2 ( π y i ) } + i = 1 n u ( x i ,   10 ,   100,4 )
y i = 1 + x i + 1 4 ,   u ( x i ,   a ,   k , m ) = { k ( x i a ) m ,                               x i > a 0 ,                                     a x i a k ( x i a ) m ,               x i < a
[−10, 10]300M
Weierstrass F 19 = i = 1 n ( k = 0 k m a x [ a k c o s ( 2 π b k ( x i + 0.5 ) ) ] ) n k = 0 k m a x [ a k c o s ( 2 π b k · 0.5 ) ] ,   a = 0.5 , b = 3 , k m a x = 20 [−1, 1]300M
Solomon F 20 = 1 c o s ( 2 π i = 1 n x i 2 ) + 0.1 i = 1 n x i 2 [−20, 20]300M
Bohachevsky F 21 = i = 1 n 1 [ x i 2 + 2 x i + 1 2 0.3 c o s ( 3 π x i ) 0.4 c o s ( 4 π x i + 1 ) + 0.7 ] [−5, 5]300M
Table 2. Parameter settings of the comparison algorithms.
Table 2. Parameter settings of the comparison algorithms.
AlgorithmTitle 3
SSA s t = 0.8 , P D = 20 % ,   S D = 10 %
EFSSA β 0 = 1 ,   γ = 1 , P D = 20 % ,   S D = 15 % ,   s t = 0.8
EASOA β i n i t i a l = 0.5 ,   γ = 0.7 ,   α = 0.5 , P D = 20 % ,   S D = 10 % ,   s t = 0.8  
PSO ω = 0.7 ; c 1 = 2 ; c 2 = 2 ; r 1 , r 2 = [ 0,1 ]
GWO a = [ 0,2 ] ; r 1 , r 2 = [ 0,1 ] ; C = [ 0,2 ]
DAR-SSA S D = 10 % , γ = 2 ,     λ = 2 , s t = 0.8 ,   R s t a r t = 80 % ,   R e n d = 20 % ,
Γ = 0.5 , A b a s e = 0.2 , s = 10 ,   ω = 0.3
Table 3. Comparison results of 6 algorithms.
Table 3. Comparison results of 6 algorithms.
FunctionsSSAEFSSAEASOAGWOPSODAR-SSA
F1Mean9.14 × 10−90.00 × 1008.59 × 10−74.26 × 10−446.94 × 1020.00 × 100
Std3.60 × 10−80.00 × 1003.41 × 10−65.97 × 10−443.21 × 1020.00 × 100
Best1.15 × 10−1990.00 × 1002.34 × 10−121.29 × 10−453.04 × 1020.00 × 100
Worst1.97 × 10−70.00 × 1001.90 × 10−52.29 × 10−431.64 × 1030.00 × 100
F2Mean1.51 × 10−60.00 × 1005.42 × 10−55.25 × 10−113.45 × 1040.00 × 100
Std3.13 × 10−60.00 × 1007.59 × 10−51.12 × 10−105.99 × 1030.00 × 100
Best9.93 × 10−1710.00 × 1002.94 × 10−96.37 × 10−152.11 × 1040.00 × 100
Worst1.29 × 10−50.00 × 1002.75 × 10−44.42 × 10−104.57 × 1040.00 × 100
F3Mean1.79 × 10−75.77 × 10−52.85 × 1012.65 × 1012.81 × 1051.29 × 10−6
Std6.09 × 10−76.76 × 10−53.17 × 10−18.68 × 10−12.00 × 1052.76 × 10−6
Best9.47 × 10−258.73 × 10−82.79 × 1012.52 × 1015.43 × 1044.94 × 10−10
Worst2.75 × 10−62.68 × 10−42.89 × 1012.87 × 1018.46 × 1051.26 × 10−5
F4Mean1.08 × 10−89.68 × 10−82.60 × 1001.59 × 10−11.04 × 1032.28 × 10−9
Std4.59 × 10−81.20 × 10−73.69 × 10−11.65 × 10−11.85 × 1037.94 × 10−9
Best9.58 × 10−198.91 × 10−111.65 × 1001.39 × 10−52.56 × 1021.50 × 10−13
Worst2.49 × 10−74.58 × 10−73.31 × 1005.03 × 10−11.08 × 1044.44 × 10−8
F5Mean7.18 × 10−667.18 × 10−661.00 × 10−372.65 × 1011.16 × 10−587.18 × 10−66
Std1.05 × 10−811.05 × 10−815.08 × 10−378.68 × 10−16.25 × 10−581.05 × 10−81
Best7.18 × 10−667.18 × 10−662.33 × 10−522.52 × 1017.18 × 10−667.18 × 10−66
Worst7.18 × 10−667.18 × 10−662.83 × 10−362.87 × 1013.48 × 10−577.18 × 10−66
F6Mean4.05 × 10−190.00 × 1002.54 × 10−181.21 × 10−1511.23 × 10−50.00 × 100
Std1.33 × 10−180.00 × 1001.28 × 10−175.32 × 10−1512.02 × 10−50.00 × 100
Best1.18 × 10−1010.00 × 1002.56 × 10−461.78 × 10−1641.58 × 10−70.00 × 100
Worst6.88 × 10−180.00 × 1007.15 × 10−172.94 × 10−1508.22 × 10−50.00 × 100
F7Mean2.70 × 10−80.00 × 1003.83 × 10−55.65 × 10−456.64 × 1020.00 × 100
Std6.58 × 10−80.00 × 1001.96 × 10−41.09 × 10−444.49 × 1020.00 × 100
Best6.64 × 10−1680.00 × 1001.57 × 10−105.39 × 10−474.31 × 1010.00 × 100
Worst3.17 × 10−70.00 × 1001.09 × 10−35.81 × 10−441.74 × 1030.00 × 100
F8Mean4.01 × 10−30.00 × 1005.88 × 10−17.75 × 10−384.98 × 1080.00 × 100
Std7.31 × 10−30.00 × 1001.66 × 1001.26 × 10−372.35 × 1080.00 × 100
Best1.63 × 10−1930.00 × 1005.86 × 10−77.81 × 10−401.22 × 1080.00 × 100
Worst3.04 × 10−20.00 × 1008.60 × 1005.01 × 10−371.17 × 1090.00 × 100
F9Mean5.70 × 10−100.00 × 1005.47 × 10−43.73 × 10−201.32 × 1020.00 × 100
Std1.33 × 10−90.00 × 1008.95 × 10−46.69 × 10−202.82 × 1010.00 × 100
Best8.11 × 10−290.00 × 1005.74 × 10−71.75 × 10−227.20 × 1010.00 × 100
Worst4.72 × 10−90.00 × 1003.62 × 10−32.55 × 10−192.00 × 1020.00 × 100
F10Mean9.72 × 10−90.00 × 1001.09 × 10−61.54 × 10−454.75 × 1020.00 × 100
Std3.64 × 10−80.00 × 1003.56 × 10−62.84 × 10−451.98 × 1020.00 × 100
Best2.37 × 10−2010.00 × 1003.00 × 10−132.77 × 10−481.05 × 1020.00 × 100
Worst2.01 × 10−70.00 × 1002.00 × 10−51.09 × 10−448.01 × 1020.00 × 100
F11Mean1.36 × 10−30.00 × 1001.81 × 10−41.39 × 10−405.42 × 1070.00 × 100
Std3.74 × 10−30.00 × 1008.01 × 10−41.79 × 10−405.32 × 1070.00 × 100
Best1.54 × 10−1900.00 × 1002.49 × 10−101.52 × 10−424.66 × 1060.00 × 100
Worst1.79 × 10−20.00 × 1004.45 × 10−36.33 × 10−402.37 × 1080.00 × 100
F12Mean1.11 × 10−44.44 × 10−165.07 × 10−42.08 × 1012.00 × 1014.44 × 10−16
Std1.16 × 10−40.00 × 1007.71 × 10−47.33 × 10−23.12 × 10−70.00 × 100
Best4.44 × 10−164.44 × 10−164.35 × 10−62.07 × 1012.00 × 1014.44 × 10−16
Worst3.88 × 10−44.44 × 10−163.31 × 10−32.10 × 1012.00 × 1014.44 × 10−16
F13Mean9.51 × 10−87.98 × 10−81.63 × 1006.52 × 10−15.86 × 10−12.94 × 10−9
Std2.46 × 10−78.99 × 10−81.25 × 10−11.52 × 10−14.21 × 10−14.32 × 10−9
Best1.79 × 10−174.99 × 10−101.36 × 1003.65 × 10−12.41 × 10−22.86 × 10−13
Worst1.15 × 10−63.67 × 10−71.84 × 1009.18 × 10−11.48 × 1001.49 × 10−8
F14Mean3.93 × 10−70.00 × 1003.50 × 10−42.34 × 1001.99 × 1020.00 × 100
Std1.21 × 10−60.00 × 1001.16 × 10−34.62 × 1003.75 × 1010.00 × 100
Best0.00 × 1000.00 × 1001.07 × 10−100.00 × 1009.08 × 1010.00 × 100
Worst6.37 × 10−60.00 × 1006.00 × 10−31.82 × 1012.77 × 1020.00 × 100
F15Mean1.40 × 10−90.00 × 1003.01 × 10−83.92 × 10−31.04 × 1010.00 × 100
Std3.81 × 10−90.00 × 1009.66 × 10−87.22 × 10−31.69 × 1010.00 × 100
Best0.00 × 1000.00 × 1003.38 × 10−130.00 × 1002.14 × 1000.00 × 100
Worst1.82 × 10−80.00 × 1004.69 × 10−73.30 × 10−29.98 × 1010.00 × 100
F16Mean−9.71 × 103−7.39 × 103−4.21 × 103−6.30 × 103−9.04 × 103−8.52 × 103
Std2.92 × 1036.90 × 1025.48 × 1021.02 × 1037.54 × 1022.74 × 102
Best−1.26 × 104−8.97 × 103−5.46 × 103−7.84 × 103−1.05 × 104−8.91 × 103
Worst−3.82 × 103−5.83 × 103−2.84 × 103−3.60 × 103−7.56 × 103−7.98 × 103
F17Mean8.03 × 10−70.00 × 1001.12 × 10−41.75 × 1012.16 × 1020.00 × 100
Std2.69 × 10−60.00 × 1003.27 × 10−41.64 × 1013.09 × 1010.00 × 100
Best0.00 × 1000.00 × 1005.00 × 10−90.00 × 1001.71 × 1020.00 × 100
Worst1.38 × 10−50.00 × 1001.74 × 10−39.56 × 1012.87 × 1020.00 × 100
F18Mean3.16 × 10−95.45 × 10−92.06 × 10−11.38 × 10−22.47 × 1002.05 × 10−11
Std6.02 × 10−96.80 × 10−93.33 × 10−28.52 × 10−31.22 × 1002.95 × 10−11
Best3.80 × 10−221.28 × 10−101.33 × 10−12.30 × 10−68.24 × 10−11.63 × 10−15
Worst2.38 × 10−82.56 × 10−82.73 × 10−12.98 × 10−25.73 × 1001.34 × 10−10
F19Mean0.00 × 1000.00 × 1001.14 × 1017.29 × 1000.00 × 1000.00 × 100
Std0.00 × 1000.00 × 1001.79 × 1003.60 × 1000.00 × 1000.00 × 100
Best0.00 × 1000.00 × 1006.98 × 1003.53 × 1000.00 × 1000.00 × 100
Worst0.00 × 1000.00 × 1001.52 × 1012.08 × 1010.00 × 1000.00 × 100
F20Mean6.04 × 10−60.00 × 1009.99 × 10−21.77 × 10−11.90 × 1006.37 × 10−121
Std1.35 × 10−50.00 × 1002.58 × 10−64.23 × 10−24.06 × 10−13.44 × 10−120
Best1.13 × 10−680.00 × 1009.99 × 10−29.99 × 10−21.30 × 1000.00 × 100
Worst6.54 × 10−50.00 × 1009.99 × 10−22.00 × 10−12.70 × 1001.91 × 10−119
F21Mean1.39 × 10−70.00 × 1008.06 × 10−60.00 × 1002.56 × 1010.00 × 100
Std3.48 × 10−70.00 × 1002.27 × 10−50.00 × 1001.56 × 1010.00 × 100
Best1.13 × 10−680.00 × 1002.17 × 10−110.00 × 1009.89 × 1000.00 × 100
Worst1.42 × 10−60.00 × 1001.11 × 10−40.00 × 1009.28 × 1010.00 × 100
+/−/≈2/17/21/4/160/21/00/20/10/20/1~
Rank326451
Table 4. Wilcoxon test significant comparisons.
Table 4. Wilcoxon test significant comparisons.
ComparisonConclusion
DAR-SSA vs. SSADAR-SSA > SSA (p = 0.005618)
DAR-SSA vs. EFSSADAR-SSA > EFSSA (p = 0.023200)
DAR-SSA vs. EASOADAR-SSA > EASOA (p = 0.0000298)
DAR-SSA vs. GWODAR-SSA > GWO (p = 0.0000443)
DAR-SSA vs PSODAR-SSA > PSO (p = 0.000297)
Table 5. Ablation study results across WSN scenarios.
Table 5. Ablation study results across WSN scenarios.
Algorithm VariantDisable MechanismWSN Experiment 1
Coverage Rate
DAR-SSA-NADynamic 80/20 Transition89.34%
DAR-SSA-NRDensity-Aware Repulsion85.47%
DAR-SSA-NHHybrid Candidate Generation83.87%
Full DAR-SSANone (Proposed Framework)95.25%
Table 6. Network coverage experimental parameter settings.
Table 6. Network coverage experimental parameter settings.
ParametersExperiment 1Experiment 2
Area size S 50   m × 50   m 70   m × 70   m
Number of nodes N2520
Sensing radius r s 6 m10 m
Extended sensing radius r e 0.5 m0.5 m
Table 7. Network coverage experiment results.
Table 7. Network coverage experiment results.
ExperimentCriteriaSSAEFSSAEASOAPSOGWODAR-SSA
Experiment 1Mean76.74%91.28%79.24%84.98%94.05%95.25%
Std0.01860.01720.02010.02110.03070.0099
Max79.50%94.92%83.80%88.80%96.37%97.34%
Min71.32%88.50%74.55%80.03%78.22%93.11%
Experiment 2Mean81.02%95.39%84.09%89.65%96.14%97.12%
Std0.02060.01140.01800.01990.04360.0087
Max84.82%97.72%87.28%93.15%98.70%98.73%
Min75.91%92.80%80.42%85.93%81.60%95.23%
Table 8. Average computational execution time (30 independent runs).
Table 8. Average computational execution time (30 independent runs).
AlgorithmAverage Execution Time (Seconds)
Original SSA29.9545
Proposed DAR-SSA22.6819
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Kheam, H.; Leang, V.; Khim, C.; Vo, V.N.; Heng, S. Research on Coverage Optimization in Wireless Sensor Networks Based on an Improved Sparrow Search Algorithm. Sensors 2026, 26, 4076. https://doi.org/10.3390/s26134076

AMA Style

Kheam H, Leang V, Khim C, Vo VN, Heng S. Research on Coverage Optimization in Wireless Sensor Networks Based on an Improved Sparrow Search Algorithm. Sensors. 2026; 26(13):4076. https://doi.org/10.3390/s26134076

Chicago/Turabian Style

Kheam, Hong, Vakhim Leang, Chamroeun Khim, Van Nhan Vo, and Sovannarith Heng. 2026. "Research on Coverage Optimization in Wireless Sensor Networks Based on an Improved Sparrow Search Algorithm" Sensors 26, no. 13: 4076. https://doi.org/10.3390/s26134076

APA Style

Kheam, H., Leang, V., Khim, C., Vo, V. N., & Heng, S. (2026). Research on Coverage Optimization in Wireless Sensor Networks Based on an Improved Sparrow Search Algorithm. Sensors, 26(13), 4076. https://doi.org/10.3390/s26134076

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop