0

请帮我建立算法:避免cloudsim中的瓶颈任务

   Input :workflow w
   Output :Queues of tasks based on depth and length
   Assign thresholds dt for depth of tasks and lt for length of tasks
   for each task t in the task list do
      depth = number of levels dependent on t
      length = execution time of t
      if depth>= dt then
          move t to depth queue
      end
      if length>= lt then
          move t to length queue
      end
   end
   Return queues
4

0 回答 0