Research Article
The Analysis of Opinion Evolution and Control Based on the Prisoner’s Dilemma Game in Social Networks
| Input: Social network excluding the nodes of neutral opinions, , | | Output: The final | (1) | Calculate the average degree of the graph : ; | (2) | Compute the total payoff for each ; | (3) | Update the strategy of the user by randomly choosing a strategy of some | | with the probability ; | (4) | Count the proportion of the users holding positive opinions: | (5) | whiledo | (6) | Output the value | (7) | whiledo | (8) | fordo | (9) | Compute the payoff with opinion control level for each : | ; | (10) | Update the strategy of user by randomly choosing a strategy of some | with the probability ; | (11) | end for | (12) | Output the final under different opinion control level , . |
|