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
-
Fixed
full_fitness_difference_group
andcalculate_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_distribution
class 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.TwoAction
strategies. Internal parameters should be initialized when
time == 0
, i.e., at the beginning of each game.Changed
egttools
tosrc-layout
. This should help fix issues with tests and make the overall structure of thelibrary cleaner.
cpp
folder. This way the code is more organized.Added
draw_stationary_distribution
enhancement_factor
parameter toCRDGame
. This parameter serves as a multiplying factor for the payoff ofeach player in case the target is achieved. If
enhancement_factor = 1
theCRDGame
behaves as usual.For
enhancement_factor > 1
, we are incentivizing strategies that reach the target.MemoryOneStrategy
toegttools.games.NormalForm.TwoAction
strategies.CommonPoolResourceDilemma
game - However it has still not been extensively tested!!ninja
as a requirement for the build.TimeBasedCRDStrategy
toegttools.games.CRD
strategies. These strategies make contributions to the PublicGood in function of the round of the game.
sdist
to build.plot_gradients
so 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