First of all, sorry for my english and a silly question (I am an ambitious zero in programming) .
I am working with Epstein,s original code of "Demographic prisoner,s dilemma". His code assumes vertical strategy transmission, while I am also interested in horizontal transmission (an agent compares his payoff with a payoff of a random neighbor after every iterartion, if neighbor,s payoff is higher, agent changes his strategy on the one of neighbor in the next iteration).
Here is what I have done - after an original description of "Play one round of the game with another agent" I have added some code "my art").
And I want to ask you, is it right? does it satisfy what I wanted it to do? There are no errors in Eclipse, and visually there are some changes in a final model in Ascape. But still, I am not qualified enough (at all) to be sure it is right.
Hy, dear collegues,
First of all, sorry for my english and a silly question (I am an ambitious zero in programming) .
I am working with Epstein,s original code of "Demographic prisoner,s dilemma". His code assumes vertical strategy transmission, while I am also interested in horizontal transmission (an agent compares his payoff with a payoff of a random neighbor after every iterartion, if neighbor,s payoff is higher, agent changes his strategy on the one of neighbor in the next iteration).
Here is what I have done - after an original description of "Play one round of the game with another agent" I have added some code "my art").
And I want to ask you, is it right? does it satisfy what I wanted it to do? There are no errors in Eclipse, and visually there are some changes in a final model in Ascape. But still, I am not qualified enough (at all) to be sure it is right.
// Play one round of the game with another agent.
** // my art!**
Last edit: Anfisa Rekina 2016-05-23