Skip to content
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

Implemented breadth first search for shortest graph path in graph_search.py #350

Merged
merged 1 commit into from Aug 17, 2020

Conversation

@LCVcode
Copy link
Contributor

@LCVcode LCVcode commented Aug 16, 2020

Added find_shortest_path_bfs to GraphSearch class which uses breadth first search with linear time complexity.
Updated other method names to show that they are depth first search (for example: find_path to find_path_dfs).
Included an example for the new method.

@LCVcode LCVcode changed the title Issue # 341 Implemented breadth first search for shortest graph path in graph_search.py Implemented breadth first search for shortest graph path in graph_search.py Aug 16, 2020
@faif faif merged commit 86e56e0 into faif:master Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.