Learn R Programming

gamesGA (version 1.1.3.7)

Genetic Algorithm for Sequential Symmetric Games

Description

Finds adaptive strategies for sequential symmetric games using a genetic algorithm. Currently, any symmetric two by two matrix is allowed, and strategies can remember the history of an opponent's play from the previous three rounds of moves in iterated interactions between players. The genetic algorithm returns a list of adaptive strategies given payoffs, and the mean fitness of strategies in each generation.

Copy Link

Version

Install

install.packages('gamesGA')

Monthly Downloads

271

Version

1.1.3.7

License

MIT + file LICENSE

Maintainer

A. Bradley Duthie

Last Published

March 1st, 2020

Functions in gamesGA (1.1.3.7)

tournament

Tournament function
PD

PD function
games_ga_gui

Games genetic algorithm (GUI):
mutation

Mutation function
crossover

Crossover function
games_ga

Games genetic algorithm:
get_fitness

Fitness function
sample_round

Sample round function