Research Article

DIMDP: A Driving Intention-Based MDP Service Migration Model under MEC/MSCN Architecture

Algorithm 1

Optimal strategy.
  Input:
   pif, , , , (r), , , (f)
  Output:
    Optimal migration strategy S
  ;
  ;
  for N = 1 to 10 do
   Pget_Pmatrix (pif, N);
   get_state (P, N);
   ← = get_cost (Cset, ,N);
   if
    ;
    ;
   else
    break;
   end
  end
  Return S;