Differences

This shows you the differences between two versions of the page.

Link to this comparison view

terralab:curso:envsoft:finalproject:ethnocentrism [2018/12/08 16:57]
marottabernardo
terralab:curso:envsoft:finalproject:ethnocentrism [2018/12/12 15:29] (current)
marottabernardo
Line 5: Line 5:
 \\ \\
  
-{{ :​terralab:​curso:​envsoft:​finalproject:​ethnocentrism.png?​nolink&​400 |}} +<​html>​ 
-===== WHAT IS IT? =====+<table cellspacing="​10"​ cellpadding="​10"​ align="​center">​ 
 +<tr height="​10">​ 
 +<td>
  
 +<img src="​http://​www.terralab.ufop.br/​dokuwiki/​lib/​exe/​fetch.php?​media=terralab:​curso:​envsoft:​finalproject:​etnocentrismo.gif"​ height = 350/>
 +
 +</td>
 +</tr>
 +</​table>​
 +<​center>​ <b> Ethnocentrism execution</​b>​ </​center>​
 +</​html>​
 +
 +===== WHAT IS IT? =====
 This is an implementation of the ethnocentrism model proposed by Hammond and Axelrod. It shows how ethnocentric behavior can overcome other strategies under different scenarios. To accomplish this, agents are placed in a spatial structure and interact with each others, gaining or losing points in this interactions. Then, the agents with the most points reproduce.\\ This is an implementation of the ethnocentrism model proposed by Hammond and Axelrod. It shows how ethnocentric behavior can overcome other strategies under different scenarios. To accomplish this, agents are placed in a spatial structure and interact with each others, gaining or losing points in this interactions. Then, the agents with the most points reproduce.\\
 Studies show that in-group bias can be triggered by arbitrary group definitions. Also, evidences report that this bias is controlled by the hormone oxytocin, suggesting biological roots. Others suggest that this behavior appears as a consequence of social and cultural concepts.\\ Studies show that in-group bias can be triggered by arbitrary group definitions. Also, evidences report that this bias is controlled by the hormone oxytocin, suggesting biological roots. Others suggest that this behavior appears as a consequence of social and cultural concepts.\\
Line 25: Line 36:
 3. Each agent reproduce according to their potential to reproduce\\ 3. Each agent reproduce according to their potential to reproduce\\
 4. Some agents die\\ 4. Some agents die\\
 +
 +the author of the article mapped the results of the one-step prisoner'​s dilemma in two variables, cost and benefit, making the implementation easier to understand.  ​
 +The game table goes like:\\
 +
 +--------j2 D j2 N\\
 +j1 D          (2,2) (0,3)\\
 +j1 N.         (3,0) (0,0)\\
  
 ===== HOW TO USE IT ===== ===== HOW TO USE IT =====
Line 43: Line 61:
  
 It is important to notice that in all test cases the dominant strategy is the ethnocentric,​ but the color varies. If the cost of giving help is greater then the benefit, the egoist strategy dominates.\\ It is important to notice that in all test cases the dominant strategy is the ethnocentric,​ but the color varies. If the cost of giving help is greater then the benefit, the egoist strategy dominates.\\
-Other interesting thing is that the author of the article mapped the results of the one-step prisoner'​s dilemma in two variables, cost and benefit, making the implementation easier to understand.  ​+Other interesting thing is that  
  
 ===== THINGS TO TRY ===== ===== THINGS TO TRY =====
Line 62: Line 81:
 A lot of different TerraME features were used. Some of the most important are: Agent, CellularSpace,​ Placement, Trajetory, Group, Timer, Observers. One workaround was to make a function that returns the amount of agents with some attribute. Also, the values of these variables had to be calculated in each time step.\\ A lot of different TerraME features were used. Some of the most important are: Agent, CellularSpace,​ Placement, Trajetory, Group, Timer, Observers. One workaround was to make a function that returns the amount of agents with some attribute. Also, the values of these variables had to be calculated in each time step.\\
 ''​ ''​
-c = Cell{\\+c = Cell {\\
     altruists = function() return ALTNUMBER end,\\     altruists = function() return ALTNUMBER end,\\
     ethnocentrics = function() return ETHNUMBER end,\\     ethnocentrics = function() return ETHNUMBER end,\\