File Exchange

image thumbnail

MPR Selection in OLSR protocol

version 1.0.1 (5.79 KB) by MS
Demonstration of an algorithm for MPR nodes selection in OLSR


Updated 21 Aug 2019

GitHub view license on GitHub

This code demonstrates an algorithm for selecting Multi-Point Relay nodes in the Optimized Link State Routing (OLSR) routing protocol.

The Selector script works in two main steps:
1- Select the first-hop neighbors that cover isolated second-hop neighbors.
2- Select additional first-hop neighbors based on maximum coverage criteria.
The algorithm stops when all second-hop neighbors are covered.

Cite As

MS (2020). MPR Selection in OLSR protocol (, GitHub. Retrieved .

Comments and Ratings (2)


Sorry, the code was created with MATLAB R2018a; it may not work with previous versions since some functions were not introduced.


not working in matlab 2017a



Title changed to "MPR Selection in OLSR protocol"

MATLAB Release Compatibility
Created with R2018a
Compatible with R2018a to R2019a
Platform Compatibility
Windows macOS Linux