forked from ecbtln/dynamics_sim
-
Notifications
You must be signed in to change notification settings - Fork 3
Simulate
Andrew F edited this page Aug 2, 2016
·
6 revisions
The simulate method is a class method of the GameDynamicsWrapper class which is used to run a basic simulation.
It has no required parameters and if simply used it will run the default number of generations in a simulation.
Optional parameters:
- num_gens=DEFAULT_GENERATIONS, the number of generations for the simulation.
- graph=dict('on'=1), the graph options to be included, see link for more details.
- return_labeled=True, whether or not the graph should be labeled.
- class_end=False, whether you wish to classify only the last generation or instead every generation.
- graph_payoff=False, output additional graphs which show payoffs over time.