Skip to content

piraog/PacketPrioritizing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple simulation to compare different strategies to route packets with priorities in WSNs. The algorithms implemented are described in « Scheduling for Emergency Tasks in Industrial Wireless Sensor Networks », Changqing Xia, Xi Jin, Linghe Kong and Peng Zeng 2017.

To run this simulation you will need:

  • Python 3.X
  • Numpy for your python installation

The simulation is split in 2 files:

  • Network.py that contains the class network (for graph generation)
  • Simulation.py that contains the class Simulation and import Network (for the end simulation)

To see how the networks are generated, running Network.py will display a graph and all it's attributes You can modify the graph's parameters by modifying the call on the Network class line 201 To understand what the parameters represents, please refer to the Documentation file and the report (section 2)

To run simulations, run the Simulation.py file It is set to plot the comparison of SFSA and OBSSA with the parameters you can see at line 227/228 You can modify the code in lines 222/265 to plot graphs or use the code lines 215/217 to produce simple results

About

A simulation of different real time strategies for routing packets with different priorities in Wireless Sensor Networks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages