Input: Trust network G = (), number of coalitions parameter k from CS |
Output: Coalition structure CS |
1: Calculate the trust and utility after transfer |
2: For all agent |
3: . |
4: . |
5: End for |
6: Calculate the trust and utility relationship and get the trust-utility relationship graph |
7: For each edge |
8: . |
9: End for |
10: Perform the edge contraction operation and generate the image segmentation coalition |
11: For all Agent |
12: For i =1…n-k |
13: |
14: |
15: For all |
16: |
17: End for |
18: End for |
19: For each edge |
20: Remove |
21: End for |
22: End for |
23: returnCS |