egttools.plotting.plot_pairwise_comparison_rule_dynamics_in_simplex_without_roots¶
- plot_pairwise_comparison_rule_dynamics_in_simplex_without_roots(population_size, beta, payoff_matrix=None, game=None, group_size=2, figsize=(10, 8), ax=None)[source]¶
Plot dynamics on the simplex under the pairwise comparison rule, without computing roots.
This version is faster and suited for visualization-only use cases. It skips root-finding and stability classification.
- Parameters:
population_size (int) – Number of individuals in the population.
beta (float) – Strength of selection.
payoff_matrix (Optional[NDArray[np.float64]], default=None) – The game payoff matrix (used if game is not provided).
game (Optional[AbstractGame], default=None) – Game object. If not provided, one will be created from payoff_matrix.
group_size (Optional[int], default=2) – Number of players interacting simultaneously (used only if constructing a game).
figsize (Tuple[int, int], default=(10, 8)) – Size of the figure.
ax (Optional[plt.Axes], default=None) – Optional matplotlib axis to draw on.
- Returns:
The Simplex2D plot object.
The gradient function (for use in trajectory plotting).
The AbstractGame object used.
The PairwiseComparison evolver instance.
- Return type:
Tuple[Simplex2D, Callable, AbstractGame, PairwiseComparison]