Skip to content

Conversation

IvanIsCoding
Copy link
Collaborator

@IvanIsCoding IvanIsCoding commented Apr 10, 2025

Follow up of #1392

This is nothing too complex, but just like in #593 we missed the parallelization, we also missed that the shortest path function could be a faster one.

@IvanIsCoding IvanIsCoding requested a review from mtreinish April 10, 2025 02:11
@coveralls
Copy link

coveralls commented Apr 10, 2025

Pull Request Test Coverage Report for Build 14421343930

Details

  • 15 of 15 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.003%) to 95.372%

Totals Coverage Status
Change from base Build 14420930248: 0.003%
Covered Lines: 18651
Relevant Lines: 19556

💛 - Coveralls

@IvanIsCoding IvanIsCoding added this to the 0.17.0 milestone Apr 10, 2025
Comment on lines +1143 to +1144
for edge in g.edges(node) {
let target = edge.target();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking we could do for target in g.neighbors_directed(node, Outgoing) here, but that would require we add the trait bound IntoNeighborsDirected on G and that seems unnecessary so this is fine.

@mtreinish mtreinish added this pull request to the merge queue Apr 17, 2025
Merged via the queue into Qiskit:main with commit ab84b60 Apr 17, 2025
31 checks passed
@IvanIsCoding IvanIsCoding deleted the bfs-in-closeness branch May 17, 2025 18:00
SILIZ4 pushed a commit to SILIZ4/rustworkx that referenced this pull request Jul 4, 2025
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.

3 participants