Research Article

Load Balancing for Future Internet: An Approach Based on Game Theory

Algorithm 2

INPUT:   Load Managers’ load vector/arriving rate: ;
   Processors’ processed rate: ;
OUTPUT:   Processors’ load vector/arriving rate:
Initialization:
; ;
   For do
 If
For do // Sort the processors in increasing order of the equation below
such that
        ;
RIGHT ; // Find the minimum to satisfy the inequality
    
While ( ) do
For do
        ;
If (RIGHT )
     BREAK;
Else
       
       ; ; ; // Calculate using a binary search; sort in
      increase order
While (1) do
     ;
    For do
        ;
    If BREAK
If ( )   ;
    Else     ;
   For do
If ( )
    ;