Research Article

Disruption-Free Load Balancing for Aerial Access Network

Algorithm 3

Tree-Agg : a bottom-up flow rule aggregation algorithm.
1 ,
2 foreachdo
3  if is 1 then
4   
5 
6 whiledo
7  
8  whiledo
9   Randomly select one rule
10   ,
11   ,
12   
13   ifthen
14    foreachdo
15     ,
16    ,
17   else
18    foreach server do
19     foreach where do
20      
21      foreach where do
22       
23       
24       
25       ifthen
26        continue
27       
28       ifthen
29        ,
30        ,
31        break
32       else
33        if
34         continue
35        else ifthen
36         
37         ,
38         
39         break
40      if then
41       
42       ,
43     foreach where do
44      
45      ,
46   
47  
48  
49  ,
50 return as