Skip to content

ExperimentVerification/RLStrategy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RL based strategy for the iterated games

This is the implementation work for results verification.

RLS4IPD is for the iterated Prisoner's Dilemma part.

  • Run the RoundrobinTour.py for the round-robin tournament for the IPD. However, you will need to comment some of the lines or change the parameters according to the game settings mentioned.

  • Run the EcologicalTour.py for the ecological approach of evaluating the IPD strategies. It is also necessary to comment some lines and change some of the parameters if needed.

RLS4IDGPD is for the iterated Double-Game Prisoner's Dilemma part.

RewardFuncExample.txt compares the differences in trainig Q-tables with varying reward functions (i.e., whether both negative and non-negative rewards are needed).

Run the Tournament.py, which is the round-robin tournament for the DGPD, implemented according to Boyd's Material Versus Social Payoff Tournament.

Python Version used: 2.7.11

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages