In a undergraduate level class I'm taking the instructor was introducing us to searching algorithms specifically Breadth First Search and Depth First Search. Now he was teaching us about how BFS was complete (that it finds the goal in every situation) while DFS wasn't complete.
Now the argument he gave supporting this was that if in a tree we run BFS and a branch is infinity long and the goal is on another branch DFS will never complete. Now the problem I have is that one can make the same argument for BFS i.e. a node has an infinite amount of neighbours and the goal is one of the descendent of the neighbours. This will result in BFS never finding the goal state.
So can one give me a better example to show that BFS is complete while DFS is not.