Wireless Communications and Mobile Computing / 2017 / Article / Alg 1

Research Article

Combined Sector and Channel Hopping Schemes for Efficient Rendezvous in Directional Antenna Cognitive Radio Networks

Algorithm 1

The sender SH generation algorithm (PS-SH).
Input: .
Output: a round of the PS sequence for the sender .
(1) Find the smallest prime that is not smaller
than .
(2) for    do
(3) if    then
(4) .
(5) else
(6) is a random number
(7) .
(8) end if
(9) end for
(10) return  .

Article of the Year Award: Outstanding research contributions of 2020, as selected by our Chief Editors. Read the winning articles.