Research Article

Personalized Service Recommendation Based on Trust Relationship

Algorithm 1

PSRTR algorithm.
Input: target user
Output: recommended set of services for
 () Establish the trust relationship of , namely,
 ()
 () for each user   do
 ()   if    then
 ()    for each service   do
 ()     calculate
 ()     if then
 ()      add into
 ()     end if
 ()     end for
 ()    end if
 () end for
 () rank by in descending order
 () return