Skip to content

Avoid graph copy in shortest path functions - #43

Merged
becarie merged 6 commits into
EMob-Lab:mainfrom
yo35:feature/avoid-graph-copy-clean
Oct 14, 2026
Merged

becarie merged 6 commits into
EMob-Lab:mainfrom
yo35:feature/avoid-graph-copy-clean

Conversation

@yo35

@yo35 yo35 commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor
  • Provide cost-resolution-agnostic versions of dijkstra(..) and computePathCost(..) + implementation of most common cost functions as -LinkCostFunction-suffixed classes
  • Avoid local graph modifications in KShortestPath(..) and YenKShortestPath(..) + the related graph copies in upstream callers
  • Minor side-optimizations in KShortestPath(..)

@yo35
yo35 marked this pull request as ready for review October 14, 2026 08:03
@yo35
yo35 force-pushed the feature/avoid-graph-copy-clean branch from feb7fc1 to bf1daaa Compare October 14, 2026 14:00
@becarie
becarie merged commit bac1689 into EMob-Lab:main Oct 14, 2026
8 checks passed
@yo35
yo35 deleted the feature/avoid-graph-copy-clean branch October 14, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants