Research Article

A Time-Efficient Solution to the General Resource Placement Problem in Cloud

Algorithm 1

The traversing search algorithm.
  input:    total amount of resources , the demand
          distributions.
  output: the optimal placement
(1) ; ;
(2) for    do
(3)  for    do
(4)   if    then  ;
(5)  end
(6) end