Research Article
Psychology-Inspired Trust Restoration Framework in Distributed Multiagent Systems
Algorithm 2
PerformTransaction (agent
, agent
) function.
Require: , WTR threshold | if defection is true then | //transaction is unsuccessful | UpdateRating ; //decrease rating | // calculate WTR value of agent | = CalWTRMetrics ; | if < then | RemoveLink ; | end if | else | UpdateRating ; //increase rating | end if |
|