PCP-CPP(wsnlab.org)

所属分类:其他
开发工具:matlab
文件大小:18KB
下载次数:1
上传日期:2019-09-30 18:52:12
上 传 者彭胖胖
说明:  无线传感器网络的路由协议,适用于初学者,较简单
(The routing protocol of wireless sensor network is simple and suitable for beginners.)

文件列表:
PCP-CPP(wsnlab.org)\Makefile (620, 2007-04-21)
PCP-CPP(wsnlab.org)\parameters.txt (372, 2014-12-27)
PCP-CPP(wsnlab.org)\src\Agent.cpp (2832, 2007-04-21)
PCP-CPP(wsnlab.org)\src\Agent.h (1347, 2007-04-21)
PCP-CPP(wsnlab.org)\src\Analyzer.cpp (6139, 2007-04-21)
PCP-CPP(wsnlab.org)\src\Analyzer.h (753, 2007-04-21)
PCP-CPP(wsnlab.org)\src\CCANS\CCANSSensor.cpp (2666, 2007-04-21)
PCP-CPP(wsnlab.org)\src\CCANS\CCANSSensor.h (684, 2007-04-21)
PCP-CPP(wsnlab.org)\src\CCP\CCPSensor.cpp (3253, 2007-04-21)
PCP-CPP(wsnlab.org)\src\CCP\CCPSensor.h (739, 2007-04-21)
PCP-CPP(wsnlab.org)\src\main.cpp (5582, 2007-04-21)
PCP-CPP(wsnlab.org)\src\OGDC\OGDCSensor.cpp (3380, 2007-04-21)
PCP-CPP(wsnlab.org)\src\OGDC\OGDCSensor.h (806, 2007-04-21)
PCP-CPP(wsnlab.org)\src\PCP\PCPSensor.cpp (4389, 2007-04-21)
PCP-CPP(wsnlab.org)\src\PCP\PCPSensor.h (1146, 2007-04-21)
PCP-CPP(wsnlab.org)\src\Sensor.cpp (887, 2007-04-21)
PCP-CPP(wsnlab.org)\src\Sensor.h (1027, 2007-04-21)
PCP-CPP(wsnlab.org)\src\Simulator.cpp (3601, 2007-04-21)
PCP-CPP(wsnlab.org)\src\Simulator.h (984, 2007-04-21)
PCP-CPP(wsnlab.org)\src\Util.cpp (6163, 2007-04-21)
PCP-CPP(wsnlab.org)\src\Util.h (786, 2007-04-21)
PCP-CPP(wsnlab.org)\src\CCANS (0, 2012-10-04)
PCP-CPP(wsnlab.org)\src\CCP (0, 2012-10-04)
PCP-CPP(wsnlab.org)\src\OGDC (0, 2012-10-04)
PCP-CPP(wsnlab.org)\src\PCP (0, 2012-10-04)
PCP-CPP(wsnlab.org)\src (0, 2012-10-04)
PCP-CPP(wsnlab.org) (0, 2012-10-04)

PCP Sensor Network Simulator 1. Compile To compile the source code, run "make" in the SenSim directory. 2. Running the simulator You can run the simulator by simply executing "SenSim". The simulation parameters can be changed in "parameters.txt". This file contains several lines, each line includes a pair of variable and value. 3. Trace You can trace several factors during the execution of the protocol. The types of traces are defined as space separated strings in "report_types" parameter. For example the following line in "parameters.txt" indicates that the simulator should report number of active nodes in the report file. ... report_types Nodes .... there is a time interval specified in the parameters.txt to specify the period of tracing. The value of "report_interval" is the time interval between each dump in seconds. If the interval is set to zero, the simulator would not produce trace at all. The result of the trace would be stored in a file named "[seed].txt" where [seed] is the random seed used in simulation. Types of traces that is now being supported are: Energy - The total remaining energy in the network LifeTime - (Does not report actually) Only terminates simulation at a certain coverage degree. Nodes - Print out number of all active sensors. Connectivity - the network deliver rate (alpha) of the network

近期下载者

相关文件


收藏者