mirror of
https://github.com/gsi-upm/soil
synced 2024-12-22 08:18:13 +00:00
a1262edd2a
Treating time and conditions as the same entity was getting confusing, and it added a lot of unnecessary abstraction in a critical part (the scheduler). The scheduling queue now has the time as a floating number (faster), the agent id (for ties) and the condition, as well as the agent. The first three elements (time, id, condition) can be considered as the "key" for the event. To allow for agent execution to be "randomized" within every step, a new parameter has been added to the scheduler, which makes it add a random number to the key in order to change the ordering. `EventedAgent.received` now checks the messages before returning control to the user by default. |
||
---|---|---|
.. | ||
complete_converted.yml | ||
old_complete.yml | ||
test_agents.py | ||
test_config.py | ||
test_examples.py | ||
test_exporters.py | ||
test_main.py | ||
test_mesa.py | ||
test_network.py | ||
test_time.py | ||
test.csv | ||
test.gexf | ||
unknown.extension |