Add a 'to' argument to shortest paths calculation
Bug #293537 reported by
Gábor Csárdi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
igraph |
Fix Released
|
High
|
Gábor Csárdi |
Bug Description
The two things we gain are: 1) we can stop the algorithm as soon as all vertices in 'to' are reached and 2) we can allocate a smaller matrix, less memory is needed for the computation, compared to calculating shortest paths to all vertices and then taking the relevant subset.
Related branches
To post a comment you must log in.
It is quite some work to do this for both the weighted and the unweighted case...