Research Article
Psychology-Inspired Trust Restoration Framework in Distributed Multiagent Systems
Algorithm 1
Network analysis experiments.
Require: , the number of nodes (agents) | modules, the number of modules | link-density, the probability of attachment | link-modules, the proportion of links within modules | , the number of rounds | Initialized () | GenRandomNetwork (, modules, link-density, link-module) | for to do | for to do | if neighbor is empty then | / randomly choose any agent to interact with except agent / | new-nei = random ; | AddLink (, new-nei); | PerformTransaction (, new-nei); | else | // neighbor agents exist | / randomly choose any of its neighbor agents to interact with / | nei = random (neighbor ); | PerformTransaction (, nei); | end if | end for | end for |
|