Research Article

SaaS Service Combinatorial Trustworthiness Measurement Method Based on Markov Theory and Cosine Similarity

Algorithm 1

SaaS service combinatorial trustworthiness measurement algorithm.
Inputs: Service block , Service to be replaced , the initial state vector set of the service pair composed of and other services in the service block, the current state vector set of the service pair composed of and other services in the service block, Service s (used for replacing ),the current state vector set of the service pair composed of s and other services in the service block, each service pair weight .
Outputs: The local trustworthiness of the pre-evolution service block and the local trustworthiness of the post evolution service block.
(1)Begin:
(2) For each do
(3)   // is the state transition matrix of service pair .
(4)   // and are the components of vectors and// , respectively.
(5)   //Find the inverse matrix of .
(6)  
(7)   // and are the components of vectors //and , respectively.
(8)  End for
(9)  
(10)  
(11)End