wsn

所属分类:C/C++基础
开发工具:Python
文件大小:231KB
下载次数:0
上传日期:2018-12-21 01:08:06
上 传 者sh-1993
说明:  Python和C++(通过SWIG)中的无线传感器网络模拟器。
(A Wireless Sensor Network simulator in Python and C++ (via SWIG).)

文件列表:
cc (0, 2018-12-21)
cc\__init__.py (0, 2018-12-21)
cc\custom_types.h (841, 2018-12-21)
cc\ecca.cc (8071, 2018-12-21)
cc\ecca.h (1348, 2018-12-21)
cc\ecca.i (83, 2018-12-21)
cc\ecca.py (36377, 2018-12-21)
cc\genetic_algorithm.cc (4484, 2018-12-21)
cc\genetic_algorithm.h (1212, 2018-12-21)
cc\genetic_algorithm.i (122, 2018-12-21)
cc\genetic_algorithm.py (41128, 2018-12-21)
cc\individual.cc (2774, 2018-12-21)
cc\individual.h (1473, 2018-12-21)
cc\modified_pso.cc (5170, 2018-12-21)
cc\modified_pso.h (1088, 2018-12-21)
cc\modified_pso.i (106, 2018-12-21)
cc\modified_pso.py (39268, 2018-12-21)
cc\my_pso.cc (2452, 2018-12-21)
cc\my_pso.h (1250, 2018-12-21)
cc\my_pso.i (88, 2018-12-21)
cc\optimizer.cc (3370, 2018-12-21)
cc\optimizer.h (3048, 2018-12-21)
cc\optimizer.i (922, 2018-12-21)
cc\pso.cc (3157, 2018-12-21)
cc\pso.h (614, 2018-12-21)
cc\pso.i (79, 2018-12-21)
cc\pso.py (35929, 2018-12-21)
cc\regions.cc (3083, 2018-12-21)
cc\regions.h (930, 2018-12-21)
cc\types.h (381, 2018-12-21)
config.py (5817, 2018-12-21)
howto.pdf (174779, 2018-12-21)
python (0, 2018-12-21)
python\__init__.py (0, 2018-12-21)
python\network (0, 2018-12-21)
python\network\__init__.py (0, 2018-12-21)
python\network\aggregation_model.py (394, 2018-12-21)
python\network\energy_source.py (538, 2018-12-21)
... ...

# WSN simulator A Wireless Sensor Network simulator in Python and C++ (via SWIG). It basically simulates the communication among nodes and communication with the base station. It has a energy model that helps estimates the network lifetime. It has some pre-defined scenarios (including clustering techniques): - Direct Communication (from nodes directly to the base station); - [MTE](https://github.com/darolt/wsn/blob/master/#ref1) - [LEACH](https://github.com/darolt/wsn/blob/master/#ref2) - [FCM](https://github.com/darolt/wsn/blob/master/#ref3) It also implements a modified version of PSO (Particle Swarm Optimization) in order to schedule sleeping slots to every node at every communication round. This implementation is based on [this paper](https://github.com/darolt/wsn/blob/master/#ref4), but contains improvements, specially concerning the learning of better solutions. [NSGA-II](https://github.com/darolt/wsn/blob/master/#ref5) is also implemented. # Running it 1. Choose your settings in the configuration file (config.py) 2. Compile C++/Python wrappers: python setup.py build_ext --inplace 3. python run.py # Requirements All non-trivial requirements (the ones you cannot get via pip install) are inside this repository. # References 1. M. Ettus. System Capacity, Latency, and Power Consumption in Multihop-routed SS-CDMA Wireless Networks. In Radio and Wireless Conference (RAWCON ***), pages 55“58, Aug. 19*** 2. W. Heinzelman, A. Chandrakasan, and H. Balakrishnan, Energy-efficient communication protocols for wireless sensor networks, In Proceedings of the 33rd Annual Hawaii International Conference on System Sciences (HICSS), Hawaii, USA, January 2000. 3. D. C. Hoang, R. Kumar and S. K. Panda, "Fuzzy C-Means clustering protocol for Wireless Sensor Networks," 2010 IEEE International Symposium on Industrial Electronics, Bari, 2010, pp. 3477-3482. 4. C. Yu, W. Guo and G. Chen, "Energy-balanced Sleep Scheduling Based on Particle Swarm Optimization in Wireless Sensor Network," 2012 IEEE 26th International Parallel and Distributed Processing Symposium Workshops & PhD Forum, Shanghai, 2012, pp. 1249-1255. 5. K. Deb, A. Pratap, S. Agarwal and T. Meyarivan, "A fast and elitist multiobjective genetic algorithm: NSGA-II," in IEEE Transactions on Evolutionary Computation, vol. 6, no. 2, pp. 182-197, April 2002.

近期下载者

相关文件


收藏者