egttools¶
The egttools package implements methods to study evolutionary dynamics.
Functions
Calculate the expected group success eta_G under the stationary distribution. |
|
Calculate E[f] = sum_s sd(s) * sum_g P(g|s) * f(g) for an arbitrary indicator f. |
|
Calculate E[f_k] for multiple indicator functions in a single pass. |
|
Compute expected indicators from a precomputed indicator matrix (pure C++, GIL released). |
|
Calculate the expected payoff averaged over the stationary distribution. |
|
Calculate E[f] = sum_s sd(s) * f(s) for a single state-level indicator. |
|
Calculate E[f_k] = sum_s sd(s) * f_k(s) for multiple state-level indicators in one pass. |
|
Fast path: E[f_k] = sum_s sd(s) * indicator_values(s, k) using a precomputed matrix. |
|
Compute E[f | state] = sum_g P(g | state) * f(g) for a single population state. |
|
Compute the fitness of a focal player (not included in |
|
Calculate the number of possible states in a discrete simplex. |
|
Convert a discrete population configuration into a unique index. |
|
Calculate the average frequency of each strategy given a stationary distribution. |
|
Get a Traversable resource from a package |
|
Check if EGTtools was compiled with ARPACK eigensolver support. |
|
Check if EGTtools was compiled with BLAS/LAPACK acceleration. |
|
Check if EGTtools was compiled with Boost support. |
|
Check if EGTtools was compiled with OpenMP support. |
|
Check if EGTtools was compiled with PETSc/SLEPc MPI eigensolver support. |
|
Build a state-level indicator matrix from group-level callables. |
|
Convert a state index into a group composition vector. |
|
Sample a point uniformly at random from the unit simplex. |
|
Nicely print the EGTtools build information and runtime feature support. |
API reference documentation for the analytical submodule. |
|
API reference documentation for behaviors submodule. |
|
Custom data structures used to store data from numerical simulations. |
|
Helpful implementations of stochastic distributions. |
|
API reference documentation for the games submodule. |
|
Set of helper functions that can be useful for obtaining analytical results, simulations or for plotting. |
|
The numerical module contains functions and classes to simulate evolutionary dynamics in finite populations. |
|
API reference documentation for the plotting submodule. |
|
This python module contains some utility functions to find saddle points and plot gradients in 2 player, 2 strategy games. |