COSC_4P82_Assignment_1/lib/beagle-3.0.3/examples/Coev/ipd
Brett 4d4e8018fd ignore 2024-02-14 16:22:25 -05:00
..
MSVCPP init 2024-02-13 21:21:51 -05:00
config ignore 2024-02-14 16:22:25 -05:00
ipd init 2024-02-13 21:21:51 -05:00
templates init 2024-02-13 21:21:51 -05:00
AUTHORS init 2024-02-13 21:21:51 -05:00
COPYING init 2024-02-13 21:21:51 -05:00
INSTALL init 2024-02-13 21:21:51 -05:00
Makefile.am init 2024-02-13 21:21:51 -05:00
Makefile.cvs init 2024-02-13 21:21:51 -05:00
Makefile.in init 2024-02-13 21:21:51 -05:00
README init 2024-02-13 21:21:51 -05:00
acinclude.m4 init 2024-02-13 21:21:51 -05:00
aclocal.m4 init 2024-02-13 21:21:51 -05:00
bootstrap ignore 2024-02-14 16:22:25 -05:00
configure ignore 2024-02-14 16:22:25 -05:00
configure.ac init 2024-02-13 21:21:51 -05:00
ipd.kdevelop init 2024-02-13 21:21:51 -05:00

README

+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

Iterated Prisoner's Dilemma (ipd): Co-evolution GA example with Open BEAGLE

Copyright (C) 2003
by  Christian Gagne <cgagne@gmail.com>
and Marc Parizeau <parizeau@gel.ulaval.ca>

+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+


Getting started
===============

  Example is compiled in binary 'ipd'. Configuration file for first
  thread/population is in file 'ipd-thread1.conf', while configuration file
  for second thread/population is in file 'ipd-thread2.conf'.

Objective
=========

  Find solutions to the iterated prisoner's dilemma that get the highest reward for
  its actions.

Representation
==============

  Bit strings made of 3 bits. First bit is the action to take at the first turn
  (0=defect, 1=cooperate), the second bit is the action to make knowing that
  the companion has defected at the last turn, and the third bit is the action to
  do knowing that the companion has cooperate the last turn.

Fitness
=======

  For each turn, the individual receives points for its action. Each evaluation is done
  on a total of 8 turns (iterations). The points given for each turn are the following:
  - 0 points if the player cooperate and the companion defects.
  - 1 points if the player defects and the companion defects.
  - 3 points if the player defects and the companion cooperate.
  - 5 points if the player cooperate and the companion cooperate.