Skip to content

Fix Python binding API - #41

Merged
becarie merged 5 commits into
EMob-Lab:mainfrom
yo35:feature/fix-python-bindings
Oct 8, 2026
Merged

becarie merged 5 commits into
EMob-Lab:mainfrom
yo35:feature/fix-python-bindings

Conversation

@yo35

@yo35 yo35 commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor
  • Rename parameters referring to cost categorization keys (i.e. Link::mcost maps): 1st level is denoted as costFamily, 2nd level as costMetric
  • Rename mapLabelCost as labelToCostFamily to better identify the role of these map values
  • Rename accessibleLabels and availableLabels as accessibleLinkLabel (use always the same name for the same concept, + clarify it is related to link labels, not node labels)
  • Rename parameter nb_paths as k_paths in the Python binding for parallelKIntermodalShortestPath(..) (use always the same name for the same concept)
  • Declare parameter names in the Python bindings (leads to more readable stubs)
  • Add missing binding for method Graph::AddAllNodesAndLinks(..)
  • Fix wrong return value policy for Graph::getLink(..)

yo35 added 5 commits October 2, 2026 15:59
- add missing arg names in bindings
- rename arg "nb_paths" -> "k_paths" in parallel_k_intermodal_shortest_path
- fix wrong return_value_policy for OrientedGraph.get_link
- add binding for OrientedGraph.add_all_nodes_and_links
@yo35
yo35 marked this pull request as ready for review October 5, 2026 09:15
@becarie
becarie merged commit df563cd into EMob-Lab:main Oct 8, 2026
8 checks passed
@yo35
yo35 deleted the feature/fix-python-bindings branch October 13, 2026 06:26
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