The model proposed in this thesis is a hierarchical system of leading and following agents coordinated by a central planning algorithm. It is based on an extended floor field model. The main contribution of this work lies in analyzing novel strategies and rules for the leading agent, such as it’s position within the crowd. The crowd structure is modeled by introducing a pair formation of children moving in queues and examining the leader’s influence over the following agents.
The model was developed in Python 3.10.
The maps are available in src\maps\
folder and the main file setup.py
needs to be
run in the same folder as maps
.
-
Install required libraries from
src/requirements.txt
. -
Run
setup.py
in thesrc\
folder.- In the
main
function can be uncommented either batch runs (for experiments) or visualizations for running the simulation in web browser. You can adjust the global parameters in thesetup.py
or you can use the sliders in visualization.
- In the
docs
relevant research materialsreport
source code for Latexsrc
source code for model, graphs, maps, dataroommodel
source code for modelout
folder where graphs and data from experiments are storedout XY
several folders with graphs and data from experiments described in thesismaps
definition of maps topology and the precomputed SFF, you can create your own maps hererequirements.txt
export of libraries used for the modelparams.txt
export of global parameterssetup.py
main file used for running the simulation modeltesting.ipynb
Jupyter notebook for testing