kit-algo / ULTRA

UnLimited TRAnsfers for Efficient Multimodal Journey Planning
MIT License
59 stars 125 forks source link

TripBased Data Building #23

Open mdanasjamil opened 2 months ago

mdanasjamil commented 2 months ago

Raptor Data to TB data, the stopEvent Graph doesnt have travel time across edges

PatrickSteil commented 2 months ago

Hi @mdanasjamil, could you elaborate on what the problem is? The Stopevent graph has Traveltime as an edge attribute, and the attribute is not necessary for the “normal” trip-based routing algorithm, as only the implicit time difference of the events is important for the algorithm.

This is not the case with the multi-criteria TB, where the travel time is minimized (see https://github.com/kit-algo/ULTRA/blob/master/Algorithms/TripBased/Preprocessing/McULTRABuilder.h#L61).

Does this clear up this issue?