1
0
mirror of https://github.com/gsi-upm/soil synced 2024-11-22 19:22:29 +00:00
soil/examples/mesa/mesa_sim.py

8 lines
282 B
Python
Raw Normal View History

from soil import Simulation
from social_wealth import MoneyEnv, graph_generator
2023-04-20 15:56:44 +00:00
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()