PrisonnersDilemma(GA)
0 is betray. 1 is cooperation.
In this applet max depth of history is 5, that is 32 bit.
Minimal strategy is depth 1, that means that player use only last result of opponent.
[Observer Window]
Left side number is percent of cells of that gene.
Color of second column is that of gene.
Third number(0 or 1) is strategy that cell use when there is no history at that time.
For example, gene(0011), that need 2 depth of history,uses that strategy when there are only 0 or 1 history. Forth long number is gene.
[Mutation]
There are 4 type of mutation in this program.
(1)mutation of Third number(0<->1)
(2)point mutation. example: 0101 -> 0100
(3)reduction. reduction of strategy depth. 0100->01
(4) double. Double size of depth. 0011->00110011

[Example]
1/11 allways cooporate
0/00 allways betray
1/01 Tit for Tat. This is same with 1/0101, or 1/01010101
1/0001 Revenge. If opponen once betray, he does not forgive that betray until opponent repeat cooperation(11).
a/bcde First choise is a.
b is the choise when opponent betray and betray.
c is the choise when opponent betray and cooperate.
d is the choise when opponent cooperate and betray.
e is the choise when opponent cooperate and cooperate.