Closed M-Lampert closed 6 months ago
I guess this change is not needed anymore given the new memory-efficient functions to calculate time-respecting shortest paths and temporal betweenness centrality. Closing this for now.
Yes, the specific changes here won't be necessary anymore but the general idea behind it would also work for the general lift order in MultiOrderModel
. It is not yet implemented there but we should keep this potential improvement in mind.
By saving the node sequences for each higher-order node, we get a lot of duplicate paths. To decrease the memory footprint, we remove all duplicates and only save all unique paths and use an additional index to be able to build the node sequences for each nodes when it is necessary.