![]() ![]() Best responses are computed with the use of payoffs given by the above table i.e. We use two different concepts for payoffs : fitness corresponds to what is effectively earned by turtles in the game that is to the payoffs corresponding to a prisoner’s dilemma.The interaction structure is chosen at the setup and remains the same during the run. A local neighborhood with chosen size = 4 corresponds to a Von Neumann neighborhood and when chosen size = 8 to a Moore neighborhood. However with a probability “tremble” the strategy chosen is randomly. They choose a best response to the current proportion of cooperators in their current sample. They draws a sample of k other players (depending on the slider “chosen size”) and on the type of neighborhood (local or random). At each period of time a number of moving turtles are chosen.Each player may have two actions “cooperate” (color green) and defect (color red).Each player has a cost of cooperating C and a random emotion between 0 and 1.If X= 0 then we have a prisoner’s dilemma. It is i’s idiosyncratic emotion (shame) when she violates the cooperative norm and faces a cooperator. The payoff of a player i is given by Other player Uniform et ogo WHAT IS IT?Ī prisoner dilemma game with emotions. (For example, if you have multiple applets in differentĭirectories on the same web server, you may want to putĪ single copy of the NetLogoLite files in one central place andĬhange the archive= lines of all the HTML files to point In the HTML code to point to their actual locations. If the NetLogoLite files and your model are in differentĭirectories, you must modify the archive= and value= lines and ending with, and paste it into any HTMLįile you want. If you want, you can just take the HTML code beginning with You don't need to include everything in this file in your page. Though, so if it doesn't work from your hard drive, please try On some systems, you can test the applet locally on your computerīefore uploading it to a web server. (You can copy NetLogoLite.jar and įrom the directory where you installed NetLogo.)Ĭopy the entire directory for each required extension into the same (uniform et ogo), and the files NetLogoLite.jar and In order for this to work, this file, your model file Windows and Linux users may obtain the latest Java from Mac users must have Mac OS X 10.4 or higher. Java must be enabled in your browser settings. This page was automatically generated by NetLogo 5.0.4. ![]()
0 Comments
Leave a Reply. |