Research Article
Quality Prediction of Web Services Based on a Covering Algorithm
Algorithm 1
: Clustering users
that have invoked web service
i.
| Input: and i | | Output: A set of clusters C1, C2, … | | Begin | (1) | cr ⟵ 1; | (2) | identify cD | (3) | do | (4) | identify ccr //(1) when cr = 1 and (3) otherwise | (5) | Cc.center ⟵ ccr | (6) | calculate rcr//(2) | (7) | Ccr.radius ⟵ rcr | (8) | cr ⟵ cr + 1 | (9) | while () | | End |
|