mirror of
https://github.com/gsi-upm/soil
synced 2024-11-14 23:42:29 +00:00
73282530fd
All test pass, except for the TestConfig suite, which is not too critical as the plan for this version onwards is to avoid configuration as much as possible.
8 lines
286 B
Python
8 lines
286 B
Python
from soil import Simulation
|
|
from social_wealth import MoneyEnv, graph_generator
|
|
|
|
sim = Simulation(name="mesa_sim", dry_run=True, max_steps=10, interval=2, model=MoneyEnv, model_params=dict(generator=graph_generator, N=10, width=50, height=50))
|
|
|
|
if __name__ == "__main__":
|
|
sim.run()
|