WSN-simulation-master
所属分类:
其他
开发工具:C/C++
文件大小:1428KB
下载次数:0
上传日期:2021-01-10 13:19:19
上 传 者:
pepitosaleh
说明: simulation of routing protocol
文件列表:
.gitignore (11, 2019-02-26)
Makefile (1077, 2019-02-26)
Progress (433, 2019-02-26)
ScientificUnits.PNG (13140, 2019-02-26)
TODOs (2166, 2019-02-26)
Trace format.md (377, 2019-02-26)
Transmission time wiki.pdf (47056, 2019-02-26)
avg_energy.awk (672, 2019-02-26)
core (0, 2019-02-26)
core\cbrEvent.cc (842, 2019-02-26)
core\cbrEvent.h (387, 2019-02-26)
core\clTable.cc (1280, 2019-02-26)
core\clTable.h (633, 2019-02-26)
core\energy.cc (1220, 2019-02-26)
core\energy.h (551, 2019-02-26)
core\improvizations (0, 2019-02-26)
core\improvizations\energy.cc (1476, 2019-02-26)
core\link.cc (64, 2019-02-26)
core\link.h (121, 2019-02-26)
core\mac.cc (147, 2019-02-26)
core\mac.h (272, 2019-02-26)
core\net.cc (99, 2019-02-26)
core\net.h (1670, 2019-02-26)
core\node.cc (17546, 2019-02-26)
core\node.h (4868, 2019-02-26)
core\proto.cc (130, 2019-02-26)
core\proto.h (259, 2019-02-26)
core\samples (0, 2019-02-26)
core\samples\clock_gettime (8728, 2019-02-26)
core\samples\clock_gettime.c (378, 2019-02-26)
core\samples\nanosleep (8880, 2019-02-26)
core\samples\nanosleep.c (471, 2019-02-26)
core\samples\time (8712, 2019-02-26)
core\samples\time.c (411, 2019-02-26)
core\senseEvent.cc (1135, 2019-02-26)
core\senseEvent.h (422, 2019-02-26)
core\simulator.cc (9077, 2019-02-26)
core\simulator.h (4270, 2019-02-26)
... ...
# WSN-simulation
Simulation of a routing protocol for Wireless Sensor Networks(WSN).
# Description
The WSN simulator is network simulator specifically designed for wireless sensor networks simulations.
It is specifically designed for my own research works. The results may or may not be accurate as other
widely renown simulation tools like ns2, netsim, opnet, etc.
It uses a multithreaded approach of running events of a network. It was the best solution that I thought
which could also help in easily producing randomness in the event scheduling.
It takes a configuration file as input of which the format is defined by the software itself.
To know the details of the configuration format checkout the file 'input.config'.
This file is used to create simulation environment according to the user's preferences.
# Implementation
- Core system language: C++.
- Input configuration script: My own defined format
# How to use
- make sim
(OR)
- make debug (For debugging)
- ./sim input_file.config
The simulation will start according to parameters set in the input file. Out is a trace file
quite similar to ns2 trace-file format with the name input_file.tr.
- Trace files can be parsed using your own scripts written in any scripting language like awk,
python, etc.
# ENJOY
近期下载者:
相关文件:
收藏者: