djgroen / flee

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

Add support for multihop travel at higher awareness levels #54

Closed djgroen closed 1 year ago

djgroen commented 1 year ago

Idea is to use a movestring array of location IDs (or names), and to have agents skip route choice decisions while this array is non-zero. An element is removed from the array whenever a location is visited.

The array will be erased whenever a location in the movestring can no longer be chosen for any reason.

This feature should be triggered automatically when awareness level is higher than 1.

djgroen commented 1 year ago

This is also now present in the code :)