Search Flashcards
Frontier, Interior, Exterior
Interior is root, frontier list of nodes that are generated (reached but not explored) from root. Exterior nodes that haven’t generated. So, frontier separates interior and exterior
Three types of frontiers
Priority Queue (Best-first search)
FIFO(queue) - BFS
LIFO(stack) - DFS
Graphs can have loops where as tree don’t
yes. So names as graph search and tree search
Only one path from child node to root is called tree search
no cycles
Use parents pointer to his parent and see if the same node appears in this link. this saves memory of storing all visited nodes
This way we can check if there are any loops (cycles)
Completeness
Reports found when it has node or not found when the node is not there