forked from ecbtln/dynamics_sim
-
Notifications
You must be signed in to change notification settings - Fork 3
Varied Game
Andrew F edited this page Aug 6, 2015
·
1 revision
Use this class in place of GameDynamicsWrapper if you wish to examine the effects of changing a parameter upon the game.
Two simulation methods are available:
vary_param: Vary one variable and run multiple iterations recording the proportions of equilibria found over the iterations.
Required parameters:
- kw, the variable of the game to vary
- low_high_num_steps, a tuple ex (1, 3, 10) first the starting value of the keyword, next the ending value of the keyword, and lastly the number of steps to vary.
Optional parameters:
- options to change the simulations run, see Simulate Many for examples.
vary_2params: Vary two variables and run multiple iterations recording the proportions of equilibria found over the iterations.
Required parameters:
- kw1, the first variable to vary
- low1_high1_num_steps1
- kw2, the second variable to vary
- low2_high2_num_steps2
Options parameters:
- options to change the simulations run, see Simulate Many for examples.