Agent based simulation of a collector and item model with diffusive items in 2D. Features normal Brownian motion and random movement with constant velocity.
It creates a GNUplot script for visualization. Output using open GL is in beta stage.
Download source code.
Create build directory in Project folder and move into.
Extract to {YOUR_PATH}
cd {YOUR_PATH}/flase
mkdir -p build
cd build
cmake ..
make
Run sheepndogs
executable.
The data will be written to flase/build/temp
and the gnuplot script to flase/build/havefun.gp
.
Run the script using the terminal via gnuplot havefun.gp
. (needs wxt support)
Use sheepndogs --help
for a list of adjustable parameters.
Check the physics document if the meaning of parameters is unclear and for general background information.
See this part of my master thesis
This program was built during my masters at Humboldt University Berlin. Special thanks to Prof. Schimansky-Geier and Jörg Bachmann.
The kdtree used is by Martin F. Krafft and also hosted at https://github.com/nvmd/libkdtree
see LICENSE.md