muhammad-tayyab / leach

ns3 implementation of the LEACH protocol for WSN

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Low Energy Adaptive Clustering Hierarchy (LEACH) in ns3

#####What? A simulation in ns3 of the clustering and energy profiles of a Wireless sensor network WSN based on the LEACH , mainting a low energy footprint to extend the lifetime of the clusters and hence the lifetime of the network.

#####How? Download and extract the project into your ns3 root src directory and execute the build by running

$./waf

then

$./waf --run scratch/leach

#####Limitations? All config files variables are currently hard coded in the consts file and the simulation is known to work with ns-allinone-3.19, other versions not tested with it yet.

#####Simulation

Sim

About

ns3 implementation of the LEACH protocol for WSN

License:MIT License


Languages

Language:C++ 91.0%Language:C 6.8%Language:Python 2.3%