Class EvolutionaryGameTheory
java.lang.Object
org.episteme.social.economics.models.EvolutionaryGameTheory
Models population dynamics under evolutionary game theory (Replicator Dynamics).
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Method Summary
Modifier and TypeMethodDescriptionstatic RealreplicatorDynamics(Real frequency, Real fitness, Real averageFitness) Calculates the change in frequency of a strategy using the Replicator Equation. dx_i/dt = x_i * (f_i(x) - phi(x))
-
Method Details
-
replicatorDynamics
Calculates the change in frequency of a strategy using the Replicator Equation. dx_i/dt = x_i * (f_i(x) - phi(x))- Parameters:
frequency- Current frequency of strategy i (x_i).fitness- Fitness of strategy i (f_i).averageFitness- Average fitness of the population (phi).- Returns:
- The rate of change.
-