Overview protocol
We propose the APAP to balance the two competing interests in energy-constrained WSNs.
APAP mainly consists of two parts: adaptive packet-reproduction routing and active packet-loss mechanism.
• Folder APAP implements our new protocol for data collection;PR and GRDR are the comparison protocol in the cited article.
• Energy consumption at MAC is not considered in our sinmulation.
• The main.m in each file is the entry of program .
• The Test1~4.m in APAP file is the test file for the key parameters.
• Folder "Data statistics code(part)" contains the statistical and plotting codes.
• Before running the simulation protocol, please set the workspace to the corresponding file directory.
• If you run the program on a personal computer, in the following files, you may need to change the path to make it process correctly:
topology.m
write_txt.m
plot_node.m
write_2.m
Screenshot of the simulation process:
•Any issues regarding the paper is welcome, please contact us for help.
Authors’ information: Address: Central South University of Forestry and Technology, 498 Shaoshan South Road, Tianxin District, Changsha, Hunan Province, China Name&Email: XingGao email: [email protected] or [email protected]
The doi of our paper will be upload later..
Thanks for reading!
----Edited by XingGao
October 2022
Our work was published in the 《Computer Communications》(COMCOM), the DOI of this paper is https://doi.org/10.1016/j.comcom.2023.08.015.
----Edited by XingGao
September 2023