mirror of
https://github.com/gsi-upm/soil
synced 2024-11-13 23:12:28 +00:00
1.6 KiB
1.6 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.13.8]
Changed
- Moved TerroristNetworkModel to examples
Added
get_agents
andcount_agents
methods now accept lists as inputs. They can be used to retrieve agents from node idssubgraph
in BaseAgentagents.select
method, to filter out agentsskip_test
property in yaml definitions, to force skipping some examplesagents.Geo
, with a search function based on postitionBaseAgent.ego_search
to get nodes from the ego network of a nodeBaseAgent.degree
andBaseAgent.betweenness
Fixed
[0.13.7]
Changed
- History now defaults to not backing up! This makes it more intuitive to load the history for examination, at the expense of rewriting something. That should not happen because History is only created in the Environment, and that has
backup=True
.
Added
- Agent names are assigned based on their agent types
- Agent logging uses the agent name.
- FSM agents can now return a timeout in addition to a new state. e.g.
return self.idle, self.env.timeout(2)
will execute the different_state in 2 units of time (t_step=now+2
). - Example of using timeouts in FSM (custom_timeouts)
network_agents
entries may include anids
entry. If set, it should be a list of node ids that should be assigned that agent type. This complements the previous behavior of setting agent type withweights
.