arup-group / genet

Manipulate MATSim networks via a Python API.
MIT License
45 stars 9 forks source link

Make processes requiring new link ID assignment deterministic #166

Open KasiaKoz opened 1 year ago

KasiaKoz commented 1 year ago

Right now processes in GeNet such as:

result in links being added, and running the same process twice gives different IDs to different links. The link IDs are currently the smallest integers that are not currently being used in the network - so the method generating IDs should already be giving the same set of IDs (given the exact same set-up and inputs).

The problems I see: