Skip to main content
. 2020 Jan 13;20(2):441. doi: 10.3390/s20020441
Algorithm 4: Cost-Efficient Rescheduling
    Input: Z, PList[vi ∈ N, j ∈ M];
1  begin
2      foreach (vi as N) do
3          Calculate the Tie of Vj by the Equation (4);
4            if Tj,i -1 + Tie < di then
5                Calculate the Tj,i of Vj by the Equation (3);
6                V Vj;
7                break;
8            Calculate cost of Z by the Equation (1);
9            PList[vi ∈ N, j ∈ M] ← Z*;
10          return Z*;