Skip to main content
. 2026 Jan 20;26(2):684. doi: 10.3390/s26020684
Algorithm 2: Void Prediction and Identification
Input: Neighbors Ni , Energy History HE
1: // --- Proactive Prediction (Background Process) ---
2: Update Markov Transition Matrix based on HE
3: Calculate Probability Pdanger of neighbors entering “Endangered State”
4: IF JointProbability(Pdanger)>Thresholdwarning THEN
5: Trigger Void Alert and update Neighbor List
6: END IF
7: // --- Real-time Identification (Forwarding Process) ---
8: IF no neighbor provides progress to Sink THEN
9: Broadcast VOIDDISCOVERY(TTL)
10: Receive HopCount feedback from neighbors
11: IF valid path exists THEN Update Routing Table
12: ELSE Trigger Hierarchical Repair (Algorithm 3)
13: END IF