djgroen / flee

flee agent-based modelling code
BSD 3-Clause "New" or "Revised" License
6 stars 7 forks source link

add tendency for agents to prefer staying close to their original area #76

Closed djgroen closed 1 year ago

djgroen commented 1 year ago

There is a clear tendency for agents to prefer staying close to their original area, to allow for return. We should add a home location attribute to agents and penalise destination selections based on distance from that location.

djgroen commented 1 year ago

This has now been added to code and documentation in f480f8a

There are no test cases for it yet due to lack of time, so if you do want to try it, test it at your own risk ;).

djgroen commented 1 year ago

Done!