mirror of
https://github.com/gsi-upm/soil
synced 2024-11-13 06:52:28 +00:00
fc48ed7e09
Now the environment does not deal with history directly, it delegates it to a specific class. The analysis also uses history instances instead of either using the database directly or creating a proxy environment. This should make it easier to change the implementation in the future. In fact, the change was motivated by the large size of the csv files in previous versions. This new implementation only stores results in deltas, and it fills any necessary values when needed.
305 B
305 B
1 | agent_id | t_step | key | value | value_type |
---|---|---|---|---|---|
2 | a0 | 0 | hello | w | str |
3 | a0 | 1 | hello | o | str |
4 | a0 | 2 | hello | r | str |
5 | a0 | 3 | hello | l | str |
6 | a0 | 4 | hello | d | str |
7 | a0 | 5 | hello | ! | str |
8 | env | 1 | started | bool | |
9 | env | 2 | started | True | bool |
10 | env | 7 | started | bool | |
11 | a0 | 0 | hello | w | str |
12 | a0 | 1 | hello | o | str |
13 | a0 | 2 | hello | r | str |
14 | a0 | 3 | hello | l | str |
15 | a0 | 4 | hello | d | str |
16 | a0 | 5 | hello | ! | str |