QDpy
Loading...
Searching...
No Matches
game_rock_paper_scissors.py File Reference

Coevolve mixed strategies for rock-paper-scissors with GAME. More...

Go to the source code of this file.

Functions

 game_rock_paper_scissors.probabilities (genome)
 game_rock_paper_scissors.play (red, blue)
 game_rock_paper_scissors.score_against_panel (round_result)

Detailed Description

Coevolve mixed strategies for rock-paper-scissors with GAME.

Definition in file game_rock_paper_scissors.py.

Function Documentation

◆ play()

game_rock_paper_scissors.play ( red,
blue )
Return each side's expected payoff and its win and draw probabilities.

Definition at line 21 of file game_rock_paper_scissors.py.

◆ probabilities()

game_rock_paper_scissors.probabilities ( genome)
Normalise three strategy weights, using uniform play for a zero vector.

Definition at line 14 of file game_rock_paper_scissors.py.

◆ score_against_panel()

game_rock_paper_scissors.score_against_panel ( round_result)
Measure coverage and worst payoff for the uniform elite mixture.

Definition at line 32 of file game_rock_paper_scissors.py.