egttools.plotting.simplified¶
Simplified plotting functions
Functions
Transforms barycentric into cartesian coordinates. |
|
Calculates the number of states (combinations) of the members of a group in a subgroup. |
|
Calculates the stability of the roots. |
|
Checks if there is random drift along the edge between two strategies in the simplex. |
|
Calculates the stability of the roots assuming that they are from a system governed by the replicator equation (this function uses the Jacobian of the replicator equation in pairwise games to calculate the stability). |
|
Searches for the roots of the given differential equation. |
|
Searches for the roots inside the simplex and returns them in barycentric coordinates. |
|
Helper function to simplify the plotting of the moran dynamics in a 2 Simplex. |
|
|
Helper function to simplify the plotting of the moran dynamics in a 2 Simplex. |
Helper function to simplify the plotting of the replicator dynamics in a 2 Simplex. |
|
Produces the discrete time derivative of the replicator dynamics |
|
Calculates the gradient of the replicator dynamics given the current population state. |
|
Transform a tensor of barycentric coordinates to cartesian coordinates. |
|
This function provides an easy way to calculate a matrix of gradients in a simplex in one go. |
|
This function provides an easy way to calculate a matrix of gradients in a simplex in one go. |
|
Transforms cartesian into barycentric coordinates. |
Classes
Abstract class which must be implemented by any new game. |
|
Holder class for 2-player games for which the expected payoff between strategies has already been calculated. |
|
Holder class for N-player games for which the expected payoff between strategies has already been calculated. |
|
A class containing methods to study analytically the evolutionary dynamics using the Pairwise comparison rule. |
|
Plots a 2-dimensional simplex in a cartesian plane. |