Axelrod icon indicating copy to clipboard operation
Axelrod copied to clipboard

Update Moran process population to allow node assignment

Open marcharper opened this issue 6 years ago • 3 comments

Currently the Moran process distributes a population about a graph in sorted node order, which isn't obvious from the API. A user may want more control regarding exactly which strategy is placed where, particularly on non-symmetric graphs. A simple solution would be to not sort the nodes and allow the user to specify a dictionary for the population rather than a list, mapping players to specific nodes explicitly.

marcharper avatar Sep 08 '19 17:09 marcharper

I'd like to help or at least to try.

I need time to understand Axelrod, I'm getting through the documentation right now.

Is there some chunk of documentation I should focus more about this issue?

Laiot avatar Sep 26 '19 21:09 Laiot

This issue is contained to just moran.py so you shouldn't need to understand much of the rest of the library. Take a look at that file and let us know if you have questions.

marcharper avatar Sep 28 '19 04:09 marcharper