cluster-based-routing

所属分类:matlab编程
开发工具:C/C++
文件大小:9KB
下载次数:28
上传日期:2014-06-17 19:01:09
上 传 者omnet
说明:  Clustering based leach protocol using C++ in Castalia simulator. It is the first hierarchical protocol implemented in WSN

文件列表:
cluster based routing\adjustmentFile.patch (1922, 2012-05-13)
cluster based routing\clusteredleach\leach.ini (3126, 2012-05-13)
cluster based routing\clusteredleach\powersConfig.xml (388, 2011-12-20)
cluster based routing\clusteredleachRouting\LeachRouting.cc (11069, 2012-05-13)
cluster based routing\clusteredleachRouting\LeachRouting.h (2784, 2012-05-13)
cluster based routing\clusteredleachRouting\LeachRouting.ned (2108, 2012-05-13)
cluster based routing\clusteredleachRouting\LeachRoutingPacket.msg (1591, 2012-05-13)
cluster based routing\clusteredleach (0, 2014-06-17)
cluster based routing\clusteredleachRouting (0, 2014-06-17)
cluster based routing (0, 2014-06-17)

Steps to install the LEACH 1. Intall Omnet-4.x 2. Install Castalia-3.2 3. Copy the file adjustmentFile.patch to the Castalia folder. E.g. home/user/Castalia-3.2 4. Open the prompt, go to the Castalia folder and type the following command: patch -p0 -i adjustmentFile.patch 5. Copy the folder leachRouting to the following path Castalia-3.2/src/node/communication/routing/ 6. Copy the folder leach to the following path Castalia-3.2/Simulations/ 7. Type ./makemake 8. Type make 9. Go to the path Castalia-3.2/Simulations/leach and type the following command: Castalia -i leach.ini -c General 10. Enjoy :)

近期下载者

相关文件


收藏者