0.1.11 #35
Socrats
announced in
Announcements
0.1.11
#35
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Fixed
full_fitness_difference_groupandcalculate_fulll_transition_matrix. There was a missingmultiplying factor in the probability of transition due to mutation. The probability of selecting the strategy to dies
must also be taken into account. There was also an issue when instantiating the
multi_hypergeometric_distributionclass from scipy. It does not copy the array containing the counts of each strategy. Now we create a copy before
passing the state vector to avoid the issue.
AbstractNPlayerGame. For N-player games it was not a good idea to calculate the fitness in Pythonas this part of the class becomes a bottleneck, as it will be called more often then in the 2-player case (because
there are more states - so less likely the fitness will be stored in cache). For this reason we now implemented this
abstract class in C++ and the fitness calculation is done in this language. Everything else remains the same, and it
should be equally easy to create new games.
egttools.games.NormalForm.TwoActionstrategies. Internal parameters should be initialized when
time == 0, i.e., at the beginning of each game.Changed
egttoolstosrc-layout. This should help fix issues with tests and make the overall structure of thelibrary cleaner.
cppfolder. This way the code is more organized.Added
draw_stationary_distributionenhancement_factorparameter toCRDGame. This parameter serves as a multiplying factor for the payoff ofeach player in case the target is achieved. If
enhancement_factor = 1theCRDGamebehaves as usual.For
enhancement_factor > 1, we are incentivizing strategies that reach the target.MemoryOneStrategytoegttools.games.NormalForm.TwoActionstrategies.CommonPoolResourceDilemmagame - However it has still not been extensively tested!!ninjaas a requirement for the build.TimeBasedCRDStrategytoegttools.games.CRDstrategies. These strategies make contributions to the PublicGood in function of the round of the game.
sdistto build.plot_gradientsso that several lines can be plotted.Full Changelog: v0.1.10...v0.1.11
This discussion was created from the release 0.1.11.
Beta Was this translation helpful? Give feedback.
All reactions