MakarovSuites
English
EnglishDeutschРусскийУкраїнськаFrançaisEspañolItalianoPolski
Contact & licences

Math

Prisoner's dilemma tournament

Compare five strategies in a noisy repeated prisoner’s dilemma, inspect cooperation histories and watch population shares evolve from a tournament payoff matrix.

Prisoner's dilemma tournament — Actual application image
Actual application image

Try this

Compare repeated strategies in the upper history: blue cooperates, pink defects. Lower bars evolve by the replicator equation using a separately sampled round-robin payoff matrix.

Equations used in the module
Equations
T > R > P > S; default (T,R,P,S) = (5,3,1,0)
fi = Σj Aij xj; mean(f) = Σi xi fi
xi′ = xi(fi − mean(f)); Σxi = 1
Tit for tat: cooperate first, then copy opponent’s previous action

Related experiments

Back to catalogue
Kalman filter — Actual application image

Math

Kalman filter

Track a moving target with a two-dimensional Kalman filter. Tune process and measurement noise, compare raw observations with the estimate, and inspect the covariance ellipse.

Bézier curves and splines — Actual application image

Math

Bézier curves and splines

Edit control points and inspect the geometric construction of cubic Bézier curves and clamped cubic B-splines.

Convex hull — Actual application image

Math

Convex hull

Construct convex hulls with Jarvis wrapping, Graham scan and QuickHull, add points and compare orientation-test counts.