Graph Traversal Flashcards
What is depth first search
This will search all the paths coming from a node and travel until there is a dead end, once a dead end is found and all of nodes have been searched it willl stop
What is breadth first search
This will search for the neighbouring nodes and will search their paths before moving up, this is costly as there will need to be storage for the nodes that have already been visited
What is Best first search
This is an improvement on depth first search (dead end) as a huerstic is used to see what node should be explored next
What is the time for Exhaustive search ?
O((n-1)!)
What is exhaustive search ?
This is the search that will evaluate all of the paths available