Research Article
Combined Sector and Channel Hopping Schemes for Efficient Rendezvous in Directional Antenna Cognitive Radio Networks
Algorithm 2
The receiver SH generation algorithm (ES-SH).
Input: , AES. | Output: a round of the ES-SH sequence for the receiver . | (1) Find as the smallest even number 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 . |
|