| Algorithm 1 Which city has better services towards enhancing QoL? |
|
read X = first city, Y = second city, E = Service under comparison; read N = total number of indicators under E, S = total number of E in the comparison; set I = indicator under investigation, Type = core OR supportive, IVx = indicator value of first city, set IVy = indicator value of second city, CVi = (comparison value of indicator i) = 0, RVe = (resulted value of service E) = 0, n = 0, s = 0; while s < S do for each E in S do while n < N do for each I in E do compare IVx AND IVy if IVx > IVy AND Type = core then set CVi = +2; else if IVx < IVy AND Type = core then set CVi = −2; else if IVx > IVy AND Type = supportive then set CVi = +1; else if IVx < IVy AND Type = supportive then set CVi = −1; else // IVx = Ivy set CVi = 0; end for n++; RVe+ = CVi; end while if RVe > 0 then X is better than Y in E else if RVe < 0 then X is worse than Y in E else X AND Y are equally in E end for s++; RV+ = RVe; end while if RV > 0 then X is better than Y in this case else if V < 0 then X is worse than Y in this case else X AND Y are equally in this case |