matsim-vsp / parallel_qsim_rust

Parallel and distributed implementation of the Qsim in Rust
8 stars 0 forks source link

Travel Time Collector: Remove cached LinkEnterEvent, if PersonLeavesVehicle is next #84

Closed paulheinr closed 1 year ago

paulheinr commented 1 year ago

For now, if an an acitivty a is performed on link l, there will be the following events:

LinkEnter(l) - PersonLeavesVehicle - \<perform a> - PersonEntersVehicle - LinkLeave(l)

If the cache is not flushed while a is performed, LinkEnter and LinkLeave will be counted as "normal" travel time. Since an activity was performed, we need to delete the LinkEnter.