AlexBocken 83a973f377
Merge branch 'implementations_tests'
Implemented check for ants to follow positive pheromone gradient

step() function has been improved.
Previously, self.prev_pos (now: self._prev_pos) was set non-uniformly;
sometimes in step() but also always in advance() which resulted in
unwanted behavior.
As self._prev_pos is now marked as private all assignments are done
simultaneously with self._next_pos in step(), not advance().

Accordingly, future functions should strive not to access
self._prev_pos outside of the agent if possible.

Gradient following behaviour was additionally not observed since the
sensitivity_max variable was set too low, resulting in the adjusted
pheromone concentration gradients to not be present.
2023-05-18 16:02:13 +02:00
2023-04-26 21:07:21 +02:00
2023-05-17 15:57:23 +02:00
2023-04-29 11:02:55 +02:00
2023-04-26 23:45:14 +02:00

ants

A reimplementation of Schweitzer et al. 1996 as well as additional improvemnts for the Course Agent Based Modelling for Social Systems FS2023 ETH Zürich

For the course Agent Based Modelling for Social Systems FS2023 we were tasked to implement a model of our own (in groups). For this, we decided to implement an enhanced version of Active random walkers simulate trunk trail formation by ants (Schweitzer et al. 1996) using Python and Mesa.

For now, wanted features can be found in our shortlist. For everything else start at main py

For a live visualization of the project you can execute server.py.

Description
A reimplementation of Schweitzer et al. 1996 as well as additional improvemnts for the Course Agent Based Modelling for Social Systems FS2023 ETH Zürich
Readme 119 KiB
Languages
Python 100%