Skip to content

This code finds a path from a start node to a goal using - A*, BFS, DFS, Greedy BFS, Branch and Bound algorithms

Notifications You must be signed in to change notification settings

gurusarath1/Graph_Search_Algorithms

Repository files navigation

Graph_Search_Algorithms (Python 3.7.0b5)

Guru Sarath T

This code finds a path from a start node to a goal using -

  • A* Algorithm
  • Depth First search
  • Breadth First search
  • Greedy Best First search
  • Branch and bound

The algorithm to run is chosen using the parameters given to the Search function in Search.py file


Settings for the Search function

DFS BFS GeedyBFS BranchAndBound Search Type
F F F F A*
F F T F Greedy BFS
F F F T Branch and Bound
F F T T A*
* T * * BFS
T F * * DFS

The graph to search is taken from the Graph.txt file. Format of the file should should be maintained to ensure proper execution without any error.

About

This code finds a path from a start node to a goal using - A*, BFS, DFS, Greedy BFS, Branch and Bound algorithms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages