Research Article
Trusted Service Scheduling and Optimization Strategy Design of Service Recommendation
Algorithm 1
TSRSR (trusted service relationship based service recommendation).
Input: //User set | //Service set | //Rating Matrix | //weighted User Social Network | //Target User | // to be recommended target service | Output: // predicted Rating | Set ; // Number of iterations for service selection | Set // as the initial node | Set //The maximum number of iterations is set 7 | Set | While () | //According to , in is selected as the next the next iterative target | If ( has rated ) | | Return | | Else | If () | // Stop at current node | | //According to , is selected from | | Return | | Else | | | Return |
|