1
0
mirror of https://github.com/gsi-upm/soil synced 2024-12-22 08:18:13 +00:00
soil/tests
J. Fernando Sánchez a1262edd2a Refactored time
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.
2022-10-20 12:15:25 +02:00
..
complete_converted.yml WIP: all tests pass 2022-10-16 17:56:23 +02:00
old_complete.yml WIP: all tests pass 2022-10-13 22:43:16 +02:00
test_agents.py Refactored time 2022-10-20 12:15:25 +02:00
test_config.py WIP: all tests pass 2022-10-16 17:56:23 +02:00
test_examples.py Refactored time 2022-10-20 12:15:25 +02:00
test_exporters.py Add conditional time values 2022-10-17 13:58:14 +02:00
test_main.py Refactored time 2022-10-20 12:15:25 +02:00
test_mesa.py WIP: all tests pass 2022-10-16 17:56:23 +02:00
test_network.py Refactored time 2022-10-20 12:15:25 +02:00
test_time.py Refactored time 2022-10-20 12:15:25 +02:00
test.csv Added history class 2018-05-04 10:01:49 +02:00
test.gexf Added missing gexf for tests 2018-12-08 18:53:12 +01:00
unknown.extension WIP soil 2017-07-03 18:17:52 +02:00