1
0
mirror of https://github.com/gsi-upm/soil synced 2024-12-23 08:28:13 +00:00
soil/examples/mesa/mesa_sim.py

8 lines
270 B
Python
Raw Normal View History

from soil import Simulation
from social_wealth import MoneyEnv, graph_generator
2023-05-03 10:14:49 +00:00
sim = Simulation(name="mesa_sim", dump=False, max_steps=10, model=MoneyEnv, parameters=dict(generator=graph_generator, N=10, width=50, height=50))
if __name__ == "__main__":
sim.run()