Class NashEquilibriumSolver
java.lang.Object
org.episteme.social.economics.models.NashEquilibriumSolver
Solves for Nash Equilibria in non-cooperative games.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Method Summary
Modifier and TypeMethodDescriptionstatic int[]findPureStrategyNE(Matrix<Real> payoffMatrixA, Matrix<Real> payoffMatrixB) Finds a pure strategy Nash Equilibrium in a 2-player normal-form game.
-
Method Details
-
findPureStrategyNE
Finds a pure strategy Nash Equilibrium in a 2-player normal-form game.- Parameters:
payoffMatrixA- Payoffs for Player A (row player).payoffMatrixB- Payoffs for Player B (column player).- Returns:
- Array of indices {row, col} representing the strategy profile, or null if none found.
-