Aiml Seminor757
Aiml Seminor757
Presented By : Suma T K
Sujatha
Sudeep
Sumanth
What is Breadth first search(BFS)?
• BFS will never get trapped exploring the useful path forever.
• If there is a solution, BFS will definitely find it.
• If there is more than one solution then BFS can find the minimal one that requires
less number of steps.
• Low storage requirement – linear with depth.
• Easily programmable.
Conclusion:
• Breadth first search (BFS) algorithm is a very important algorithm that transverse a graph in a
breadthward motion and uses a queue (FIFO method) to remember to get the next vertex to start a
search, when a dead end occurs in any iteration.
• Breadth-first search is a widely used graph traversal algorithm that can be used to explore a graph
efficiently.
• It can be implemented using a queue or a deque to store the nodes to be explored, and a data structure to
keep track of the visited nodes.
• That is why , as a computer engineer we should have a proper knowledge of Breadth first search(BFS)