pathpyG
pathpyG copied to clipboard
Decrease temporal shortest path memory footprint
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.