This script generates a random deployed wireless network, and probabilistic broadcast is simulated. In probabilistic broadcast, each node re-transmits the packet according to a probability.
A link on probabilistic broadcast:
http://lsewww.epfl.ch/Documents/acrobat/SCS03.pdf
A link on DFS algorithm:
http://en.wikipedia.org/wiki/Depth-first_search
In this script, the network is represented by an adjacent matrix. Depth first search algorithm is used to traverse the network.
It should be noted that this simulation is in the abstract network level. MAC contention, link corruption are not simulated.
引用格式
Xiaodong Wang (2026). Probabilistic Flooding Simulation (https://ww2.mathworks.cn/matlabcentral/fileexchange/7928-probabilistic-flooding-simulation), MATLAB Central File Exchange. 检索时间: .
致谢
| 版本 | 已发布 | 发行说明 | Action |
|---|---|---|---|
| 1.0.0.0 | More comments to the code; |
