Algorithm 1. Calculating return value of function fev |
1: function fev (Qmodek, , ). |
2: acc ← 0 |
3: for z←1 to R do |
4: if Q’z(t) = QRzk then |
5: acc ← acc + 1 |
6: end if |
7: end for |
8: suit ← acc/n |
9: affectedSuit ← suit * (1 − ). |
10: return affectedSuit. |
11: end function |