|
Algorithm 3 Minimum Maximum Neighbor (MMN) |
Input: (Available Networks) Output: and
|
-
1:
procedure
-
2:
Step 1: defining and initializing variables
-
3:
= Array containing available networks IDs
-
4:
= First index of
-
5:
= Last index of
-
6:
Step 2: Finding Minimum and Maximum IDs
-
7:
Store in
-
8:
Sort in ascending order
-
9:
= [ ]
-
10:
= [ ]
-
11:
end procedure
|