mirror of
https://github.com/gsi-upm/soil
synced 2024-11-22 03:02:28 +00:00
d9947c2c52
Documentation needs some improvement The API has been simplified to only allow for ONE topology per NetworkEnvironment. This covers the main use case, and simplifies the code. |
||
---|---|---|
.. | ||
pubcrawl.py | ||
pubcrawl.yml | ||
README.md |
Simulation of pubs and drinking pals that go from pub to pub.
Th custom environment includes a list of pubs and methods to allow agents to discover and enter pubs. There are two types of agents:
- Patron. A patron will do three things, in this order:
- Look for other patrons to drink with
- Look for a pub where the agent and other agents in the same group can get in.
- While in the pub, patrons only drink, until they get drunk and taken home.
- Police. There is only one police agent that will take any drunk patrons home (kick them out of the pub).