Research Article
TrustyFeer: A Subjective Logic Trust Model for Smart City Peer-to-Peer Federated Clouds
(1) procedure ComputeTrust | (2) create matrix OF of opinion elements | (3) for each CSPs in the system do | (4) discount and then consensus opinions in OF | (5) end for | (6) for each position in matrix OF do | (7) if the believe of the opinion in OF is max then | (8) store the opinion with the max believe in OF′ | (9) end if | (10) end for | (11) export the stored value in OF′ to the global trust matrix | (12) compute opinion expected values as trust values | (13) end procedure |
|