You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
soil/examples/pubcrawl
J. Fernando Sánchez feab0ba79e Large set of changes for v0.30
The examples weren't being properly tested in the last commit. When we fixed
that a lot of bugs in the new implementation of environment and agent were
found, which accounts for most of these changes.

The main difference is the mechanism to load simulations from a configuration
file. For that to work, we had to rework our module loading code in
`serialization` and add a `source_file` attribute to configurations (and
simulations, for that matter).
1 year ago
..
README.md All tests pass 6 years ago
pubcrawl_sim.py Large set of changes for v0.30 1 year ago

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).