-
Notifications
You must be signed in to change notification settings - Fork 278
More refactoring of payoff.py and cooperation.py #410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Don't merge this. I've changed my mind about the scores_matrix function. It means the payoff gets calculated twice and I don't like that! I'm going to get rid of it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worth including some edge cases? A single player etc...?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, probably! I'll think of something to add
done! |
I'm happy with this. 👍 |
No excuses left now. I'm going to have tackle the ripping apart of Round Robin etc. to get the interactions out! |
😨 💪 |
looks good to me, @meatballs just checking that the don't merge comment above no longer applies? |
@marcharper correct. I removed my own code that was causing me offence! |
More refactoring of payoff.py and cooperation.py
Adds player_count function to derive number of players from interactions dictionary