Closed kit4a closed 10 months ago
I think it would be interesting to create a general function to manage users who were supposed to use one of the removed links (part of the 'remove station' function in vehicle_sharing.py). Perhaps a function of the 'user flow' class? It seems to me that in the future there may be other cases where we need to manage the removal of links properly. What do you think about this?
Add a new event type INTERRUPTION to trigger replanning when user cannot continue on current path. Trigger this event for all users who were supposed to go through a link leading to a free-floating vehicle and deleted because the vehicle was taken by someone else. We now deal with replanning as user is in any state. Associated tests added.