Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Adding Dijkstra's algorithm implementation in C++, using min-heap #344

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
kelvins merged 5 commits into kelvins:main from OzPol:Oz
Jun 14, 2024

Conversation

@OzPol
Copy link
Contributor

@OzPol OzPol commented Jun 10, 2024

Add Dijkstra's algorithm implementation in C++, using a min-heap.

Description

This pull request adds an implementation of Dijkstra's algorithm using a min-heap (priority queue).
The algorithm finds the shortest paths from the source vertex to all other vertices in a weighted graph.
The implementation includes a sample test case which can be uncommented in the main function for demonstration purposes.

Add Dijkstra's algorithm implementation in C++, using a min-heap.
Copy link
Owner

@kelvins kelvins left a comment

Choose a reason for hiding this comment

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

Could you please add the link to the README file?

OzPol added 2 commits June 13, 2024 15:45
Uncommenting main function in Dijkstras_MinHeap.cpp
Added a link to Dijkstra's Algorithm C++ implementation in Read.me
Copy link
Contributor Author

OzPol commented Jun 13, 2024

@kelvins I have uncommented the main function and added the link to the README file as requested. Can you please review the updated changes. Thank you!

kelvins reacted with thumbs up emoji

@kelvins kelvins merged commit 8fc02f3 into kelvins:main Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@kelvins kelvins kelvins approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /