This repository provides code for the replication of the data for "Wildlands facing global warming : the landscape connectivity dilemma", by Lauriane Mouysset and Simon Jean.
In the folder modules, you can find the various modules associated with the different operations performed :
params.py
: contains key parameters to set up, including budget, landscape size and paths for data storageutilities.py
dynamic_programming.py
matcher.py
successions.py
outputs.py
The only file you need to tweak for replication is params.py
, in order to set the correct paths as well as the size of the landscapes and the budget constraints
This folder contains the data as well as the modules to replicate the results for the 3x3 landscapes on your local machine.
This folder contains the data as well as the modules to replicate the results for the 4x4 landscapes. They contain local code as well as code for server replication.