• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..16-Dec-2007-

MSVCPP/H03-May-2022-199197

config/H16-Dec-2007-11,2048,980

ipd/H16-Dec-2007-1,138735

templates/H16-Dec-2007-7064

AUTHORSH A D30-Sep-200574 32

COPYINGH A D22-Oct-200317.6 KiB341281

INSTALLH A D02-May-20072.5 KiB8255

Makefile.amH A D04-Oct-200540 32

Makefile.cvsH A D26-Oct-200444 53

Makefile.inH A D16-Oct-200718 KiB586514

READMEH A D02-May-20071.4 KiB4229

acinclude.m4H A D16-Oct-200719.3 KiB604559

aclocal.m4H A D16-Oct-2007258.6 KiB7,3036,513

bootstrapH A D02-May-2007137 86

configureH A D16-Oct-2007707.8 KiB22,31517,698

configure.acH A D02-May-20071.5 KiB5242

ipd.kdevelopH A D04-Oct-20056 KiB203202

README

1+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
2
3Iterated Prisoner's Dilemma (ipd): Co-evolution GA example with Open BEAGLE
4
5Copyright (C) 2003
6by  Christian Gagne <cgagne@gmail.com>
7and Marc Parizeau <parizeau@gel.ulaval.ca>
8
9+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
10
11
12Getting started
13===============
14
15  Example is compiled in binary 'ipd'. Configuration file for first
16  thread/population is in file 'ipd-thread1.conf', while configuration file
17  for second thread/population is in file 'ipd-thread2.conf'.
18
19Objective
20=========
21
22  Find solutions to the iterated prisoner's dilemma that get the highest reward for
23  its actions.
24
25Representation
26==============
27
28  Bit strings made of 3 bits. First bit is the action to take at the first turn
29  (0=defect, 1=cooperate), the second bit is the action to make knowing that
30  the companion has defected at the last turn, and the third bit is the action to
31  do knowing that the companion has cooperate the last turn.
32
33Fitness
34=======
35
36  For each turn, the individual receives points for its action. Each evaluation is done
37  on a total of 8 turns (iterations). The points given for each turn are the following:
38  - 0 points if the player cooperate and the companion defects.
39  - 1 points if the player defects and the companion defects.
40  - 3 points if the player defects and the companion cooperate.
41  - 5 points if the player cooperate and the companion cooperate.
42