Research Article

Service Recommendation with High Accuracy and Diversity

Algorithm 4: Create a diversified web service recommended list.

Input:
: set .
: the length of recommended list
: the similarity between service and service .
Output:
 a diversified web service recommended list
1. // denotes the number of web services in the set
2. Sort()
3. Create indexes for web services
4. for to CK fdo//
5. Form a list with web services according to different
  index numbers
6. Calculate list-diversity according to equation (7)
7.end for
8.return the list with the highest list-diversity value
Algorithm 4: Create a diversified web service recommended list.