Research Article

SRAF: A Service-Aware Resource Allocation Framework for VM Management in Mobile Data Networks

Algorithm 2

Computing π by value iteration.
Input: , T, θ
Output: π
(1), .
(2)for t = 1, 2, 3, … do
(3)
(4)if then
(5)break.
(6)else
(7).
(8)end if
(9)end for
(10)Output .