Research Article

TDSRC: A Task-Distributing System of Crowdsourcing Based on Social Relation Cognition

Algorithm 2

Dynamic updating of the FAM.
Input: communication times of and his friends for different keywords;
Output: the ability value for ’s friends;
(1)k=1; j=1;
(2)Do while k ≤ n
(3)Do while j ≤ m
(4);
(5)j=j + 1;
(6)End Do;
(7)k=k + 1;
(8)End Do;