ee7e12769e7e718e9d126f6d97aeb655
所属分类:其他
开发工具:C/C++
文件大小:475KB
下载次数:1
上传日期:2018-04-30 15:08:04
上 传 者:
lun88828
说明: alpha代码,在omnet上实现,源代码
(alpha,Alpha code,implemented on omnet, source code)
文件列表:
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.)
近期下载者:
相关文件:
收藏者: