Research Article
RETRACTED: Energy-Efficient Enhancement for the Prediction-Based Scheduling Algorithm for the Improvement of Network Lifetime in WSNs
Algorithm 1
Trajectory prediction algorithm.
1stAlgorithm: -Choosing the most similar segment | i TY ← TX & Φt ←0 | ii Calculates the tiniest region RGNX which includes all the positions in TX | iii for every node nY ∈ N – {nX} do | iv for (t0 = 0; t0 < t – J +1, t0 = t0 + Δ t) do | v if lY(t0) in RGNX then | vi Calculates the tiniest region which includes all the positions in starting with lY(t0) of length J | vii if RGNX = then | viii Estimate the Spearman’s Coefficient Φspearman of TX & | ix if Φspearman > Φt then | x TY ← and Φt ← Φspearman | xi end if | xii end if | xiii end if | xiv end for | xv end for | xvi Result: and |
|