Research Article

An Incentive Mechanism for Computation Offloading in Satellite-Terrestrial Internet of Vehicles

Algorithm 3

Winner elimination phase.
Input:, , , , ;
Output:, , , , ;
1: , , , , ;
2: For any two cloudlets , & do
3: Ifthen
4:   = ,
5:  If = then
6:    = select from randomly;
7:  Else
8:    = min(,);
9:  End if
10:   {}, {};
11:   {}, ,
12:  ;
13: End if
14: End for
15: Return (,,,,);