Research Article
Combined Sector and Channel Hopping Schemes for Efficient Rendezvous in Directional Antenna Cognitive Radio Networks
Algorithm 6
IPES-SCH generation algorithm.
Input: , Extended-ID , . | (1) Construct an IPES-SH sequence as explained in | Section 4.1.2. | (2) period = length(a). | (3) | (4) while (not rendezvous) do | (5) Current-sector = mod period. | (6) Steer the antenna to (Current-sector). | (7) BCL = [1 : n][Current-sector]. | (8) if (Current-sector is a P-sector) then | (9) Construct a GCQ-CH sequence based on BCL. | (10) for () do | (11) Attempt rendezvous on channel . | (12) end for | (13) else | (14) Construct a GRQ-CH sequence based on BCL. | (15) for () do | (16) Attempt rendezvous on channel . | (17) end for | (18) end if | (19) . | (20) end while |
|