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.
MS (2021). MPR Selection in OLSR protocol (https://github.com/MSH19/MPR_Selection), GitHub. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
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