1
0
mirror of https://github.com/gsi-upm/soil synced 2024-11-25 12:22:28 +00:00
soil/examples/mesa/mesa_sim.py
2023-04-20 17:57:18 +02:00

8 lines
282 B
Python

from soil import Simulation
from social_wealth import MoneyEnv, graph_generator
sim = Simulation(name="mesa_sim", dump=False, max_steps=10, interval=2, model=MoneyEnv, parameters=dict(generator=graph_generator, N=10, width=50, height=50))
if __name__ == "__main__":
sim.run()