WSN Data Gathering Using TSP-Modified RNNs and Horse Herd Algorithm
Received: 2 May 2025 | Revised: 15 May 2025 | Accepted: 22 May 2025 | Online: 2 August 2025
Corresponding author: Haider Abdulkarim
Abstract
Efficient data-gathering algorithms ensure efficient operation of Wireless Sensor Networks (WSNs) and prevent data loss. This study proposes the Traveling Salesman Problem (TSP) algorithm to gather WSN data. Two variants of the TSP are proposed and implemented, Recurrent Neural Network (RNN) and Horse Herd Optizations (HHO), using the remaining node energy as a second factor in selecting the shortest data-gathering path in addition to node distance. The simulation results show that TSP based on RNN and the weighted sum of both distance and energy outperforms the classic TSP algorithm, shortening the overall path and maximizing the WSN lifetime.
Keywords:
traveling salesman problem, wireless sensor network, data gathering, recurrent neural network, horse herd optimizationDownloads
References
P. Kumar and S. R. N. Reddy, "Wireless sensor networks: a review of motes, wireless technologies, routing algorithms and static deployment strategies for agriculture applications," CSI Transactions on ICT, vol. 8, no. 3, pp. 331–345, Sep. 2020. DOI: https://doi.org/10.1007/s40012-020-00289-1
M. R. Rubia and M. SivanArulSelvan, "A Survey on Mobile Data Gathering in Wireless Sensor Networks - Bounded Relay," International Journal of Engineering Trends and Technology, vol. 7, no. 5, pp. 205–208, Jan. 2014. DOI: https://doi.org/10.14445/22315381/IJETT-V7P247
O. Gurewitz, M. Shifrin, and E. Dvir, "Data Gathering Techniques in WSN: A Cross-Layer View," Sensors, vol. 22, no. 7, Mar. 2022, Art. no. 2650. DOI: https://doi.org/10.3390/s22072650
E. J. Duarte-Melo and M. Liu, "Data-gathering wireless sensor networks: organization and capacity," Computer Networks, vol. 43, no. 4, pp. 519–537, Nov. 2003. DOI: https://doi.org/10.1016/S1389-1286(03)00357-8
R. Sridhar and N. Guruprasad, "Energy efficient chaotic whale optimization technique for data gathering in wireless sensor network," International Journal of Electrical and Computer Engineering (IJECE), vol. 10, no. 4, Aug. 2020, Art. no. 4176. DOI: https://doi.org/10.11591/ijece.v10i4.pp4176-4188
T. Tawanda, P. Nyamugure, S. Kumar, and E. Munapo, "A Labelling Method for the Travelling Salesman Problem," Applied Sciences, vol. 13, no. 11, May 2023, Art. no. 6417. DOI: https://doi.org/10.3390/app13116417
B. Gavish and S. C. Graves, "The Travelling Salesman Problem and Related Problems," Massachusetts Institute of Technology, Operations Research Center, Working Paper, Jul. 1978.
H. A. Abdulkarim and I. F. Alshammari, "Comparison of algorithms for solving traveling salesman problem," International Journal of Engineering and Advanced Technology, vol. 4, no. 6, pp. 76–79, 2015.
S. Goyal, "A survey on travelling salesman problem," presented at the Midwest Instruction and Computing Symposium, 2010.
S. Soni and M. Shrivastava, "Novel Learning Algorithms for Efficient Mobile Sink Data Collection Using Reinforcement Learning in Wireless Sensor Network," Wireless Communications and Mobile Computing, vol. 2018, no. 1, Jan. 2018, Art. no. 7560167. DOI: https://doi.org/10.1155/2018/7560167
G. Chen, "A Gentle Tutorial of Recurrent Neural Network with Error Backpropagation." arXiv, Jan. 14, 2018.
M. M. Krishna, Midhunchakkaravarthy, and J. Vankara, "Detection of Sarcasm Using Bi-Directional RNN Based Deep Learning Model in Sentiment Analysis," Journal of Advanced Research in Applied Sciences and Engineering Technology, vol. 31, no. 2, pp. 352–362, Jul. 2023. DOI: https://doi.org/10.37934/araset.31.2.352362
J. Zhu, Q. Jiang, Y. Shen, C. Qian, F. Xu, and Q. Zhu, "Application of recurrent neural network to mechanical fault diagnosis: a review," Journal of Mechanical Science and Technology, vol. 36, no. 2, pp. 527–542, Feb. 2022. DOI: https://doi.org/10.1007/s12206-022-0102-1
F. Wang and D. M. J. Tax, "Survey on the attention based RNN model and its applications in computer vision." arXiv, Jan. 25, 2016.
L. Medsker and L. C. Jain, Recurrent Neural Networks: Design and Applications. CRC Press, 1999. DOI: https://doi.org/10.1201/9781420049176
J. J. Hopfield, "Neural networks and physical systems with emergent collective computational abilities.," Proceedings of the National Academy of Sciences, vol. 79, no. 8, pp. 2554–2558, Apr. 1982. DOI: https://doi.org/10.1073/pnas.79.8.2554
F. M. Salem, "A Basic Recurrent Neural Network Model." arXiv, Dec. 29, 2016.
R. M. Schmidt, "Recurrent Neural Networks (RNNs): A gentle Introduction and Overview." arXiv, Nov. 23, 2019.
M. Schuster and K. K. Paliwal, "Bidirectional recurrent neural networks," IEEE Transactions on Signal Processing, vol. 45, no. 11, pp. 2673–2681, Nov. 1997. DOI: https://doi.org/10.1109/78.650093
I. Sutskever, "Training Recurrent Neural Networks," Ph.D. dissertation, University of Toronto, Canada, 2013.
F. MiarNaeimi, G. Azizyan, and M. Rashki, "Horse herd optimization algorithm: A nature-inspired algorithm for high-dimensional optimization problems," Knowledge-Based Systems, vol. 213, Feb. 2021, Art. no. 106711. DOI: https://doi.org/10.1016/j.knosys.2020.106711
D. Moldovan, "Binary Horse Optimization Algorithm for Feature Selection," Algorithms, vol. 15, no. 5, May 2022, Art. no. 156. DOI: https://doi.org/10.3390/a15050156
H. Abdulkarim, M. K. Farhan, and M. Ghanim, "Image Forgery Detection Using Combined 2D DWT-Neural Network," in 2023 16th International Conference on Developments in eSystems Engineering (DeSE), Istanbul, Turkiye, Dec. 2023, pp. 276–281. DOI: https://doi.org/10.1109/DeSE60595.2023.10468748
S. Panbude, B. Iyer, A. B. Nandgaonkar, and P. S. Deshpande, "DFPC: Dynamic Fuzzy-based Primary User Aware clustering for Cognitive Radio Wireless Sensor Networks," Engineering, Technology & Applied Science Research, vol. 13, no. 6, pp. 12058–12067, Dec. 2023. DOI: https://doi.org/10.48084/etasr.6279
H. Khujamatov, M. Pitchai, A. Shamsiev, A. Mukhamadiyev, and J. Cho, "Clustered Routing Using Chaotic Genetic Algorithm with Grey Wolf Optimization to Enhance Energy Efficiency in Sensor Networks," Sensors, vol. 24, no. 13, Jan. 2024, Art. no. 4406. DOI: https://doi.org/10.3390/s24134406
Downloads
How to Cite
License
Copyright (c) 2025 Haider Abdulkarim, Marwa K. Farhan, Mustafa Ghanim, Ayman N. Muhi, Mohaimen Q. Algburi

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.
