Research Article
Decision-Making Approach to Selecting Optimal Platform of Service Variants
Algorithm 1
Pseudocode for quantification of design spaces (
,
).
INPUT: = Size of each subgroup, - number of subgroups | = binary Service Model 1 - if -th row links with -th column; 0 - otherwise, | GR = general restriction - diagonal restriction | SR = specific restriction - off-diagonal restriction | OUTPUT: ΣVar = Sum of variation with specified restricion | PROCEDURE Sum_Var(, , Iteration=0, Row=1, From=1) | IF N<2 THEN RETURN ΣVar ← 0 | = Row | DO | FOR j=1,…, | IF Iteration=N-2 THEN ΣVar+=M[i,j]Product(M[j]); | ELSE IF M[i,j]Product(M[j])<>0 THEN | ΣVar+=M[i,j]Sum_Var(,M,Iteration+1,i,j); | i=i+1; | IF ITERATION<>0 THEN RETURN ΣVar; | UNTIL i<= ; | RETURN ΣVar | END PROCEDURE | INITIALIZATION | Sum_Var(,M) |
|