-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor averagecopier for 884 and a bug.
Note that I think I've caught a bug here: The average copier was using integer division for the calculation of the opponent's cooperation ratio. So it was in effect either 0 or 1. I've fixed this and also written tests that show the behaviour changes for different seeds (in essence testing that the behaviour is stochastic).
- Loading branch information
1 parent
0149a82
commit 9df081b
Showing
2 changed files
with
78 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters