aloha

所属分类:通讯编程
开发工具:Others
文件大小:475KB
下载次数:7
上传日期:2013-05-23 14:00:45
上 传 者mazhenguo
说明:  关于adhoc的omnet仿真,有齐全的代码,还有仿真生成文件,完美运行。
(About the omnet adhoc simulation, complete code, as well as simulation generated files, run perfectly.)

文件列表:
aloha\.tkenvrc (1458, 2006-10-21)
aloha\aloha.dsp (8024, 2008-12-29)
aloha\aloha.dsp.in (7750, 2006-10-21)
aloha\aloha.dsw (535, 2006-10-21)
aloha\aloha.exe (1609728, 2006-10-21)
aloha\host.cpp (3157, 2006-10-21)
aloha\Makefile.vc (3411, 2006-10-21)
aloha\network.ned (1599, 2006-10-21)
aloha\omnetpp.ini (1578, 2006-10-21)
aloha\server.cpp (5148, 2006-10-21)
aloha (0, 2008-12-29)

Aloha ===== This model makes it possible to measure the efficiency of the Aloha and slotted Aloha protocols. The model is similar to the original University of Hawaii radio network: "hosts" talk to a central "server" via a shared radio channel. In this model we're only interested in the achievable channel utilization, so we ignore the "downstream" link (TDM broadcast from the server) and retransmissions. Hosts transmit according to Poisson process. The protocol choice (slotted or "pure" Aloha) is encode in the slotTime parameter of the host model -- if a nonzero slotTime is given, transmissions are aligned to the next slot boundary. The model of the central server checks for collisions and computes statistics. The internal state of the server and all statistics are visible in the GUI The most important statistics is channel utilization. It is also recorded into omnetpp.vec, and can be plotted using Plove. The supplied omnetpp.ini file contains six predefined scenarios (six runs): - run 1 simulates pure Aloha at high load - run 2 simulates pure Aloha at moderate load (utilization =~ max) - run 3 simulates pure Aloha at low load - run 4 simulates slotted Aloha at high load - run 5 simulates slotted Aloha at moderate load (utilization =~ max) - run 6 simulates slotted Aloha at low load According to some descriptions of the Aloha protocol, hosts have to listen on the channel before they start to tranmit anything. This "listen before talk" behavior is not part of the current model. (One reason is that with the radio nodes scattered around, the propagation delays of radio signals are different for every host pair, and it becomes very complex to accurately model whether any host can hear any transmission at any given moment.)

近期下载者

相关文件


收藏者